Hi Team,
Our iOS Application is using Landscape orientation, but when in Video call if I rotate my device to portrait, my local video in Stream View/ Remote View is also rotating, which is not an expected scenario. The orientation of my local video should also be locked, if I lock my orientation.
Please help us in solving the above issue.
Configuration:
1. Environment - iOS.
2. SDK - CS_WebRTC_Client_SDK_iOS.v4.1
链接已复制
Hi Yanbin,
Thanks for your response.
We have tried to install OMS Native Client using below link.
https://github.com/open-media-streamer/oms-client-native
But we are stuck at running your build.py scripts. Could you please help us out to generate SDK's for iOS, so that we can pitch in?
Below is the error log while installing.
$ python build.py
Traceback (most recent call last):
File "build.py", line 24, in <module>
import sdk_info
ImportError: No module named sdk_info
PS: It would be more useful if you provide a step by procedures. :)
Thanks
Hello,
Bellow is our latest webRTC source code link:
https://github.com/open-webrtc-toolkit/owt-client-native.
You can refer to the readme doc to build it or follow bellow steps.
1. install depot_tools and add it to path
2. build OpenSSL 1.1.0l or higher
3. clone the source code to src dir
4. Create file named .gclient under the same directory of src dir, with below contents:
solutions = [
{
"managed": False,
"name": "src",
"url": "https://github.com/open-webrtc-toolkit/owt-client-native.git",
"custom_deps": {},
"deps_file": "DEPS",
"safesync_url": "",
},
]
target_os = ["mac", "ios"]
5. run "gclient sync" command in src dir
6. run build script "python scripts/build.py --arch x64,arm,arm64 --skip_tests --ssl_root ~/Documents/OpenSSL-for-iPhone --scheme release" in src dir
