Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
1146 Discussions

IOS UIViewContentModeScaleAspectFit not work

Somnus_Chen
Beginner
333 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
333 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).

0 Kudos
Reply