# Only First Participant’s Pixel Buffer Received in PiP Mode with Multiple ZoomVideoSDKRawDataPipe Subscriptions

**URL:** <https://devforum.zoom.us/t/only-first-participant-s-pixel-buffer-received-in-pip-mode-with-multiple-zoomvideosdkrawdatapipe-subscriptions/136246>\
**Category:** iOS\
**Tags:** video-sdk, ios\
**Created:** [August 8, 2025, 8:26am UTC](https://devforum.zoom.us/t/only-first-participant-s-pixel-buffer-received-in-pip-mode-with-multiple-zoomvideosdkrawdatapipe-subscriptions/136246 "2025-08-08T08:26:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chirag2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chirag2/32/49463_2.png) [@chirag2](https://devforum.zoom.us/u/chirag2)\
**Post date:** [August 8, 2025, 8:26am UTC](https://devforum.zoom.us/t/only-first-participant-s-pixel-buffer-received-in-pip-mode-with-multiple-zoomvideosdkrawdatapipe-subscriptions/136246/1 "2025-08-08T08:26:02Z")

</div>

**Description:**  
I’m implementing a custom composite video layout using the `ZoomVideoSDKRawDataPipe` API to receive raw video data from multiple participants. The goal is to merge these streams into a single video output that works in both fullscreen and Picture-in-Picture (PiP) modes.

**Implementation Details:**

- For each participant, I create a separate `ZoomVideoSDKRawDataPipe` instance.

- Subscription code:

`let rawDataPipe = user.getVideoPipe()`  
`rawDataPipe?.subscribe(self)`

- I conform to `ZoomVideoSDKRawDataPipeDelegate` and expect to receive pixel buffers via:

`func onPixelBuffer(_ pixelBuffer: CVPixelBuffer!, frameInfo: ZoomVideoSDKVideoFrameInfo!)`

**Issue:**

- In full-screen mode, I correctly receive pixel buffers for all subscribed participants.

- In PiP mode, only the **first subscribed participant** delivers frames.

- All other `ZoomVideoSDKRawDataPipe` instances stop invoking their delegate methods once PiP starts — as if the streams are being throttled or ignored.

**Goal:**

- Render multiple participants in a composite layout (grid or stacked) inside PiP.

- Continue receiving raw pixel buffers for **all** subscribed users in PiP mode.

- Maintain custom rendering (not using `ZoomVideoSDKVideoCanvas`), combining pixel buffers into a shared `AVSampleBuffer` stream for PiP playback.

**Questions:**

1. Does the SDK currently support receiving multiple raw video streams in PiP mode via `ZoomVideoSDKRawDataPipe`?

2. Is there a known limitation that restricts `ZoomVideoSDKRawDataPipeDelegate` callbacks to only one participant in PiP?

3. Is there a recommended workaround to enable multi-user raw data in PiP?

4. If not supported, is multi-participant raw video in PiP planned for a future SDK release?

**Environment:**

- **Zoom Video SDK iOS:** v1.13.10

- **iOS:** 18.2

- **Device:** iPhone 15 Pro

- **PiP:** Enabled via Background Modes + CallKit integration

- **Rendering:** Custom composite rendering using CoreVideo + `AVSampleBufferDisplayLayer`

---

<div class="post-metadata">

**Author:** ![MichaelCG8](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@MichaelCG8](https://devforum.zoom.us/u/MichaelCG8)\
**Post date:** [August 11, 2025, 9:31am UTC](https://devforum.zoom.us/t/only-first-participant-s-pixel-buffer-received-in-pip-mode-with-multiple-zoomvideosdkrawdatapipe-subscriptions/136246/2 "2025-08-11T09:31:13Z")

</div>

Are you subscribing to all streams at 720p or 1080p? I had an issue with the android SDK where only one 720p stream was allowed at once. I Impelemented a system where I subscribe to the first remote user at 720p and 360p thereafter. If the first user leaves, I resubscribe one of the remaining users as 720p (the switchover is not noticible).

---

<div class="post-metadata">

**Author:** ![chirag2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chirag2/32/49463_2.png) [@chirag2](https://devforum.zoom.us/u/chirag2)\
**Post date:** [August 12, 2025, 4:33am UTC](https://devforum.zoom.us/t/only-first-participant-s-pixel-buffer-received-in-pip-mode-with-multiple-zoomvideosdkrawdatapipe-subscriptions/136246/4 "2025-08-12T04:33:26Z")

</div>

Thanks for the insight! In my case, I’m subscribing to all participants at **360p** , so the 720p limitation shouldn’t apply here. The behavior still occurs in PiP — only the first subscribed stream continues delivering frames while others stop.

---

<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:** [August 12, 2026, 4:33am UTC](https://devforum.zoom.us/t/only-first-participant-s-pixel-buffer-received-in-pip-mode-with-multiple-zoomvideosdkrawdatapipe-subscriptions/136246/5 "2026-08-12T04:33:38Z")

</div>

Closed on August 12, 2026, 4:33am UTC

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