Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
1135 Discussions

IOS UIViewContentModeScaleAspectFit not work

Somnus_Chen
Beginner
129 Views

Hi,

 How to make remoteView or localView to render fullscreen? "setFrame"、“setSize"、”contentMode=UIViewContentModeScaleAspectFit" not work!Could you provide a demo?

   Thanks for your reply!

 

 

0 Kudos
1 Reply
Jianjun_Z_Intel
Employee
129 Views

Hi Somnus,

I'm afraid you need to implement a custom view. You could refer to https://chromium.googlesource.com/external/webrtc/+/branch-heads/63/sdk/objc/Framework/Classes/Metal/RTCMTLVideoView.m for remote view(Metal).

Reply