AgoraIO / Basic-Video-Broadcasting

Sample app to join/leave a channel, set the role as a host/audience, mute/unmute, switch between front/rear cameras, and set the video parameters.
MIT License
269 stars 287 forks source link

Full screen for video broadcasting #119

Open jlinkw opened 3 years ago

jlinkw commented 3 years ago

hello,

I have implemented video broadcasting using "AgoraRtcEngineKit" but I am unable to find full-screen toggle functionality. I have reviewed the documentation but couldn't find any reference to the full-screen functionality.

Any guidance shall be appreciated!

Reference: https://docs.agora.io/en/faq/API%20Reference/oc/Classes/AgoraRtcEngineKit.html

yoreland commented 3 years ago

Hello, do you mean full screen for local video view?

Basically, one way is to call setupLocalVideo() function to another view on your app. If the new view is full screen on your app, you could see it just toggle to "full screen".