# Issue receiving remote participants raw video

**URL:** <https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597>\
**Category:** Linux\
**Tags:** video-sdk\
**Created:** [July 29, 2023, 5:54am UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597 "2023-07-29T05:54:57Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdulwazeed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abdulwazeed/32/50328_2.png) [@abdulwazeed](https://devforum.zoom.us/u/abdulwazeed)\
**Post date:** [July 29, 2023, 5:54am UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/1 "2023-07-29T05:54:57Z")

</div>

Facing issue receiving remote participants raw video data. I have implemented the IZoomVideoSDKDelegate and IZoomVideoSDKRawDataPipeDelegate interfaces.

On user join and user video status changed I am receiving the call back. From list of users received in OnUserJoin call back, I am taking the remote user pipe from User object and subscribing to the user pipe by passing my custom video sdk raw data pipe delegate. Before subscribing I am checking video statistics like height and width and based on the height and width, I am passing the subscription resolution but I am getting both height and width as zero. I am also receiving onRawDataFrameReceived call back but in that call back, buffer length is zero.

VideoPipe VideoNetworkStatus shows normal  
VideoPipe isOn shows true  
VideoPipe DeviceName shows username

please let me know how to resolve this

---

<div class="post-metadata">

**Author:** ![abdulwazeed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abdulwazeed/32/50328_2.png) [@abdulwazeed](https://devforum.zoom.us/u/abdulwazeed)\
**Post date:** [July 31, 2023, 5:33am UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/2 "2023-07-31T05:33:52Z")

</div>

@chunsiong.zoom

currently I am able to receive raw video feed after setting sdk obj param indirectRawData = false, but I am getting 160x90 resolution 10 fps even though I have subscribed for 1080P

any suggestions?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [July 31, 2023, 6:35am UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/3 "2023-07-31T06:35:43Z")

</div>

@abdulwazeed , you might only be able to subscribe to 1 user at 1080p.

How many users do you estimate to have?

If you have 5 users, you might be able to subscribe  
1 x 720p  
4 x 360p

If you have much more users, you can subscribe up to 34 users at 160x90 each

---

<div class="post-metadata">

**Author:** ![abdulwazeed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abdulwazeed/32/50328_2.png) [@abdulwazeed](https://devforum.zoom.us/u/abdulwazeed)\
**Post date:** [July 31, 2023, 7:02am UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/4 "2023-07-31T07:02:17Z")

</div>

Hi @chunsiong.tan  
Currently, In my sample application, I have just two user per session, one is the linux application which I am developing and the other user is a remote user joining through a windows sample application.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 3, 2023, 4:38am UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/5 "2023-08-03T04:38:43Z")

</div>

@abdulwazeed ,

There are automatic compression which is done, and these are affected by various factors.  
There should be higher resolution when there is better network quality, and compute power available on the sender’s side.

It might be better to test it with 3 users instead of the current 2 users.

---

<div class="post-metadata">

**Author:** ![abdulwazeed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abdulwazeed/32/50328_2.png) [@abdulwazeed](https://devforum.zoom.us/u/abdulwazeed)\
**Post date:** [September 18, 2023, 12:04pm UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/6 "2023-09-18T12:04:32Z")

</div>

Hello @chunsiong.zoom

we are working with session containing 3 users, each user has full hd camera. network bandwith is over 100 Mbps for all the three users. the users are :- 2 on windows application and 1 on linux application. We are getting only 160x90p resolution on linux application for the other two users, even though we are subscribing for 1080p resolution. Is there anything we can do to get better resolution in our linux application.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [September 18, 2023, 12:12pm UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/7 "2023-09-18T12:12:58Z")

</div>

@abdulwazeed, I would recommend subscribing to 720p in this case.

Only for 1:1 call, and if the conditions are met, you can have up to 1080p resolution.

Another factor would be the number of core and memory which is made available to the SDK.

In this case, you might want to scale up the CPU and RAM if you are running this in a container environment.

By the way, are you running any complex algorithm when processing / saving the raw video?

---

<div class="post-metadata">

**Author:** ![abdulwazeed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abdulwazeed/32/50328_2.png) [@abdulwazeed](https://devforum.zoom.us/u/abdulwazeed)\
**Post date:** [September 18, 2023, 12:20pm UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/8 "2023-09-18T12:20:30Z")

</div>

Will try subscribing with 720p. I am not using a container environment, using a 12 core 64 gb ram server for linux application. Not using any complex algorithm, currently just on frame received writing the yuv data to file.

---

<div class="post-metadata">

**Author:** ![shiju](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@shiju](https://devforum.zoom.us/u/shiju)\
**Post date:** [September 22, 2023, 8:34am UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/9 "2023-09-22T08:34:32Z")

</div>

hi @chunsiong.zoom

i tried to subscribe 720p and 360p but always am getting 90p  
Not using any complex algorithm ,just printing the frame length and height

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [September 22, 2023, 9:13am UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/10 "2023-09-22T09:13:31Z")

</div>

@shiju how many users are in the session, and how many raw videos are you subscribing to?

---

<div class="post-metadata">

**Author:** ![shiju](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@shiju](https://devforum.zoom.us/u/shiju)\
**Post date:** [September 22, 2023, 10:11am UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/11 "2023-09-22T10:11:23Z")

</div>

@chunsiong.zoom 2 users

one user is using videosdk\_demo.exe and other one is my application integrated with zoom video sdk library

---

<div class="post-metadata">

**Author:** ![shiju](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@shiju](https://devforum.zoom.us/u/shiju)\
**Post date:** [September 22, 2023, 10:13am UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/12 "2023-09-22T10:13:49Z")

</div>

@chunsiong.zoom  
the videosdk\_demo.exe is running in i5 6th gen having 16GB Ram  
other one using a 12 core 64 gb ram server and here am doing subscribe

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [September 22, 2023, 10:47am UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/13 "2023-09-22T10:47:45Z")

</div>

@shiju can you test out with more normal users? 1:1 test is not a good validation, esp when both of them are bots.

The rational is that without real users, the video which is being sent and received might be optimised to a minimal resolution

---

<div class="post-metadata">

**Author:** ![shiju](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@shiju](https://devforum.zoom.us/u/shiju)\
**Post date:** [September 22, 2023, 11:06am UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/14 "2023-09-22T11:06:33Z")

</div>

@chunsiong.zoom  
The issue here is i can’t assure that always more than 2 users and one more thing I didn’t get what u mean by bots here

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [September 22, 2023, 12:50pm UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/15 "2023-09-22T12:50:38Z")

</div>

@shiju , for a session to be useful, there should be 2 or more users communicating with each other.

Typically they would be turning on their video. The resolution of the view being sent and received depends on the size of the screen on the receiving end.

Hence I’m recommending to test with 2 or more users for this case.

---

<div class="post-metadata">

**Author:** ![shiju](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@shiju](https://devforum.zoom.us/u/shiju)\
**Post date:** [September 22, 2023, 1:03pm UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/16 "2023-09-22T13:03:26Z")

</div>

@chunsiong.zoom my application is running in headless linux machine no display

---

<div class="post-metadata">

**Author:** ![shiju](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@shiju](https://devforum.zoom.us/u/shiju)\
**Post date:** [September 22, 2023, 1:07pm UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/17 "2023-09-22T13:07:36Z")

</div>

@chunsiong.zoom that I already tested the output is if I subscribe first user am getting 90 p and if subscribe 2 nd am getting 180p

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [September 25, 2023, 3:43am UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/18 "2023-09-25T03:43:00Z")

</div>

@shiju ,

Here’s my test.  
I’ve 2 browsers (user 1 and user 2) which are sending and receiving video.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/0/706c4a5f81047ddefa1dadd9c340a75270809f35.jpeg)

I have a linux instance which is subscribing to user 1 and user 2’s video.

```auto
ZoomVideoSDKRawDataPipeDelegate::ZoomVideoSDKRawDataPipeDelegate(IZoomVideoSDKUser *user)

{
user_->GetVideoPipe()->subscribe(ZoomVideoSDKResolution_360P, this);
}

```

Sometimes the first few frames on the linux instance, the resolution subscribed to might be low (90p or 180p), but after a few seconds it should scale up to 360p or higher, depending on the resolution which you have specified and the conditions (network, CPU etc…)

---

<div class="post-metadata">

**Author:** ![shiju](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@shiju](https://devforum.zoom.us/u/shiju)\
**Post date:** [September 25, 2023, 4:33am UTC](https://devforum.zoom.us/t/issue-receiving-remote-participants-raw-video/92597/19 "2023-09-25T04:33:07Z")

</div>

@chunsiong.zoom thanks for u r response

We will try and let u know
