I would like to know if it is possible to live stream separately the video of each user using the raw data functions from here
Before, I was able to create a renderer and subscribe to the video stream of each user and later on to save each raw stream to a file.
I would like now to create a renderer for each user and subscribe to each video stream but now I would send that video stream to a media server. is that possible?
I have started the raw live streaming successfully like this:
//Variables for raw streaming broadcastUrl = @"http://220.127.116.11:8000/live/STREAM_NAME.flv"; broadcastName = @"AI Note taker by Pagemachine"; //startRawLiveStreaming ZoomSDKError startRawLiveStreamingError = [_meetingService.getLiveStreamHelper startRawLiveStreaming:broadcastUrl broadcastName:broadcastName]; NSLog(@">>startRawLiveStreamingError: %u", startRawLiveStreamingError);
But when I try to subscribe the renderer to the video stream I get the error 21: ZoomSDKError_NoLicense
ZoomSDKRenderer *tmpRenderer = nil; ZoomSDKError createRendererError = [[[ZoomSDK sharedSDK] getRawDataController] creatRender:&tmpRenderer]; //Subscribing renderer to userID ZoomSDKError subscribeError = [tmpRenderer subscribe:userID rawDataType:ZoomSDKRawDataType_Video];
How can I forward the video stream of each user separately to my rmtp server?
Could I use this function for that purpose startLiveStreamByURL ?
NSString *broadcastUrl = @"http://18.104.22.168:8000/live/STREAM_NAME.flv"; NSString *streamUrl = @"rtmp://22.214.171.124/live"; NSString *streamKey = @"STREAM_NAME"; ZoomSDKError startLiveStreamByURLError = [_meetingService.getLiveStreamHelper startLiveStreamByURL:streamUrl StreamKey:streamKey BroadcastURL:broadcastUrl];
Which macOS Meeting SDK version
- Device: [e.g. Apple MacBook Pro (16-inch, Intel)]
- OS: [macOS Ventura 13.4.1 ]