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

Remote View Orientation Problem in iOS.

K__Srujan
初学者
2,518 次查看

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

0 项奖励
10 回复数
K__Srujan
初学者
2,518 次查看

Hi Team,

Any update would be appreciated!

0 项奖励
YanbinZ_Intel
员工
2,518 次查看

Hi

 This is a known issue and already added to fix plan.It may take a while in consider of it’s urgent level . BTW, welcome contribute a fix to OMS if you has good solution:)

Thanks

Yanbin

0 项奖励
K__Srujan
初学者
2,518 次查看

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

0 项奖励
K__Srujan
初学者
2,518 次查看

Hi Team,

Any update would be helpful!

 

Thank you.

Srujan K

0 项奖励
YanbinZ_Intel
员工
2,518 次查看

Hi Srujan K

 Did you run 'gclient sync '  before above python scripts ?  And please make sure 'gclient sync ' finished successful without any error .

Thanks

Yanbin

 

0 项奖励
YanbinZ_Intel
员工
2,518 次查看

And. If  you want update configuration / parameters, please run 'python build.py --help ' to found detail parameters . Without parameters , it will use default parameters and configuration .

0 项奖励
K__Srujan
初学者
2,518 次查看

Hi Yanbin,

Thanks for your response.

We have done the above all suggested steps and still face the same issue. 

Kindly, suggest a step by process so that it might be helpful for everyone.

0 项奖励
Dabhi__Hardik
初学者
2,518 次查看

Hello,

I am an ios mobile application developer.

I am working on webRTC based project.

0 项奖励
Dabhi__Hardik
初学者
2,518 次查看

If you have a concern regarding webRTC mobile orientation for your local view I can help you.

0 项奖励
Jincheng_S_Intel
2,518 次查看

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

 

0 项奖励
回复