# Raw Live Streaming for each user

**URL:** <https://devforum.zoom.us/t/raw-live-streaming-for-each-user/94322>\
**Category:** macOS\
**Created:** [September 1, 2023, 8:39am UTC](https://devforum.zoom.us/t/raw-live-streaming-for-each-user/94322 "2023-09-01T08:39:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maltamirano](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maltamirano/32/50044_2.png) [@maltamirano](https://devforum.zoom.us/u/maltamirano)\
**Post date:** [September 1, 2023, 8:39am UTC](https://devforum.zoom.us/t/raw-live-streaming-for-each-user/94322/1 "2023-09-01T08:39:38Z")

</div>

**Description**  
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](https://developers.zoom.us/docs/meeting-sdk/macos/raw-data/)

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:

```auto
        //Variables for raw streaming
        broadcastUrl = @"http://3.78.60.73: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**

```auto
        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**?

```auto

NSString *broadcastUrl = @"http://3.78.60.73:8000/live/STREAM_NAME.flv";

NSString *streamUrl = @"rtmp://3.78.60.73/live";

NSString *streamKey = @"STREAM_NAME";

ZoomSDKError startLiveStreamByURLError = [_meetingService.getLiveStreamHelper startLiveStreamByURL:streamUrl StreamKey:streamKey BroadcastURL:broadcastUrl];

```

**Which macOS Meeting SDK version**  
zoom-sdk-macos-5.15.5.20804.

**Device:**

- Device: [e.g. Apple MacBook Pro (16-inch, Intel)]
- OS: [macOS Ventura 13.4.1]

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 1, 2023, 6:40pm UTC](https://devforum.zoom.us/t/raw-live-streaming-for-each-user/94322/2 "2023-10-01T18:40:05Z")

</div>

Closed on October 1, 2023, 6:40pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
