Broadcast livestream with ts sdk with React Native

I was looking for information about broadcasting a livestream in React Native with TypeScript SDK, but I couldn’t find it in the documentation.

Hi @JuanMorales ,

Please find https://docs.amity.co/video/typescript-react-native/live-stream#broadcast-live-stream

Amity Support

Hi @SocialPlus_Support , thanks for the reply. I have checked the link, and I am having trouble understanding how to transmit video data and append it to the createStream endpoint provided by the SDK. I noticed that the process is explained in more detail for the native Android and iOS platforms.
Could you please provide some suggestions or references on how to transmit and append video data in this scenario? I would greatly appreciate it.

Attached below is the code snippet from the documentation that I was referring to:

async function createStream() {
  const newStream = {
    title: 'stream title',
    thumbnailFileId: 'fileId',
    description: 'this is my live stream',
    isSecure: false,
  };

  const { data: stream } = await StreamRepository.createStream(newStream);

  return stream;
}

Hello, we apologize for any inconvenience caused by our previous documentation. We’ve taken your feedback into consideration and made significant updates to provide you with a better experience. You can find the revised documentation at this link: https://docs.amity.co/video/typescript-react-native/live-stream :pray:

1 Like