tkmn0 / SimpleWebRTCExample_iOS

Simple example for WebRTC on iOS written in swift5
MIT License
182 stars 49 forks source link

Adaptive front camera view for all iphone models #33

Open orkunaryus opened 4 years ago

orkunaryus commented 4 years ago

I noticed that the front camera view was set manually. However, I think this screen should be different size for each model, because the camera view is stuck in this view. Or can aspect fit be applied for camera container view?

tkmn0 commented 4 years ago

I'm sorry for late reply. Thank you for your question :)

However, I think this screen should be different size for each model, because the camera view is stuck in this view I think so too.

I hope that calling setupLocalViewFrame or setupRemoteViewFrame from ViewController effects. But, I'm sorry, I'm not sure. Regards.