Screen share in Zoom iOS sdk

#1

Hello,
i integrated zoom screen share feature in my app . Share screen button also showing but how can i present parent view controller that is mentioned in delegate method

  • ( void )onClickShareScreen:(UIViewController*)parentVC{ }
    Because zoom sdk UI is Already active and i am not able to present that parent view controller.
0 Likes

#2

Hi romitarora,

Thanks for using Zoom SDK. For screen sharing, you can follow the instruction mentioned in the SDK doc: https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/zoom-meeting-ui/screen-share.

Regarding showing the parent view controller, you can call and load your own view inside the method -(void)onClickShareScreen:(UIViewController*)parentVC{}. With the parameter parentVC , you can use it to present your own view controller.

Let me know if you have any other questions. Thanks!

1 Like

#3

Hello Carson_Chen
Thanks for the reply.
I implemented my custom view controller where broadcast button implemented . But now how can i share screen on my broadcast button click. Is there any function that enables screen share on button click.

0 Likes

#4

Hi,
There is a method call [startAppShare], please have a look at the sharing section in the doc: https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/customized-in-meeting-ui/share

You can also refer to the implementation in the demo app: https://github.com/zoom/zoom-sdk-ios/tree/master/MobileRTCSample, the demo app shows the way to implement the screen sharing feature upon button click.

Thanks!:slight_smile:

1 Like

#5

I implemented startAppshare as implemented in demo but it does nothing it sharing only one view not full screen. I need the same as zoom does in screen sharing but with [startAppShare] method it does nothing. How can i implement same screen sharing as zoom does with help of zoom sdk?

0 Likes

#6

Hi,
Thanks for the reply. If you would like the same screen sharing feature like the zoom client (Sharing the whole screen instead of a view), you can follow the instruction in the doc to achieve that: https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/zoom-meeting-ui/screen-share. Please note that due to the screen sharing restriction from Apple, you must manually configure the broadcasting configuration on your device. The zoom client has the same requirement and behavior. https://support.zoom.us/hc/en-us/articles/115005890803-iOS-Screen-Sharing

Thanks!

0 Likes