Questions tagged [webrtc-ios]
56 questions
7
votes
3 answers
Correct remote video size on iPhoneX during video call using webrtc iOS swift
I am using webRTC for video calling. Everything is running smooth but
I am struggling with aspect ratio of Remote video on iPhoneX, XSMax. I am seeing lot of zoom in video. Can you please help me out how I can manage remote video on devices that…

Raj Shekhar
- 714
- 1
- 4
- 15
6
votes
2 answers
GoogleWebRTC hangs (freezes) the main thread in swift native app (OpenVidu)
We have hanging problem (the app freezes due of main thread lock) with our iOS (swift) native app with OpenVidu implementation (which uses GoogleWebRTC under the hood). The specific conditions required: need to join existing room with at least 8…

Mike Keskinov
- 11,614
- 6
- 59
- 87
6
votes
1 answer
SessionDescription is Null. in web rtc after updating Chrome to latest v 89. Working on previous Chrome Versions
"Answer" of SDP offer is not sent to Web App(running on Windows/Mac/Linux) from Android/iOS application after updation of Chrome to latest v89 (released on 9 March 2021).
It is working fine on Chrome v88 and below.
Offer SDP:
o=- 3986944572502207628…

Nadeem Iqbal
- 2,357
- 1
- 28
- 43
6
votes
1 answer
WebRTC(iOS): local video is not getting stream on remote side
I am trying to make an app with Audio, video call using WebRTC.
remote video and audio are working properly in my app, but my local stream is not appearing on the client side.
here is what I have written to add a video track
let videoSource =…

Akash Soni
- 535
- 2
- 16
5
votes
3 answers
Can't build Webrtc with Bitcode enabled
I am trying to rebuild WebRTC iOS framework with Bitcode enabled but it's not working it's giving me errors. And the error messages are
clang++: error: unknown argument: '-ffile-compilation-dir=.'
clang++: error: -gdwarf-aranges is not supported…

Jihan
- 95
- 9
4
votes
1 answer
Unable to build WebRTC on iOS for arm64
I am trying to make a WebRTC.xcframework build for on an iOS device.
Here is what I am running to build it.
gn gen out/ios_arm64device --args='target_os="ios" target_cpu="arm64" ios_code_signing_identity="********"…

plato522
- 133
- 6
4
votes
3 answers
WebRTC remote video freeze after few seconds
I have an issue when using SurfaceViewRenderer to display remote video track when calling between android and iOs (android <-> android and ios<->ios work as well)
The remote video view on Android going to freeze after a few seconds, but the audio…

GianhTran
- 3,443
- 2
- 22
- 42
3
votes
0 answers
WebRTC ondevicechange workaround for mobile browser
According to https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/ondevicechange, the ondevicechange event is not supported in Chrome Android and Safari iOS.
So is there any alternative or workaround to detect device changes during a…

user1927182
- 103
- 6
3
votes
1 answer
Webrtc Android DTMF Support
I am trying to implement DTMF for Android/iOS Application based out on WebRTC.
Is there any API for DTMF for Android? I have tried calling the…

Aagman
- 684
- 6
- 18
2
votes
1 answer
iOS WebRTC mesh video conference call memory increasing issue
Issue:
I am working on iOS WebRTC mesh conference call of 4 persons and after running video conference call of 5 or 6 minutes, memory size is increasing and whole application becomes hang.
Scenario:
4 persons conference calls for only audio or only…

Abhishek Verma
- 137
- 1
- 6
2
votes
1 answer
Unable to render remote video with WebRTC
I am being unsuccessful on rendering a remote video using WebRTC. For context I'm using Janus's streaming plugin.
I'm following what I've been reading so far. Whenever peerConnection(_ peerConnection:, didAdd stream:) Is called on…

Daniel Amarante
- 749
- 5
- 15
2
votes
0 answers
WEBRTC How to capture video from camera library?
Can't load video from a UIImagePickerController using WebRTC.
With saved in-app Bundle file, it works, but if I use UIImagePickerController
UIImagePickerControllerDelegate.imagePickerController(_:didFinishPickingMediaWithInfo:))
so I use mediaInfo…

Zaporozhchenko Oleksandr
- 4,660
- 3
- 26
- 48
2
votes
1 answer
How to properly close WebRTC peerConnection in iOS?
I'm using 'GoogleWebRTC' pod with version '1.1.29400'. I've been facing issues in closing peer connections. Whichever thread tries to close the connection gets stuck with the following line forever.
self.peerConnection?.close()
So I chose not to…

iCanCode
- 1,001
- 1
- 13
- 24
2
votes
1 answer
In Backgrond WebRTC offer is not working in iOS
In WebRTC i m giving offer when the app is open and working fine and when it goes to background or Phone is unlock offer is not going.How offer can be sent.Can any one help me.

Sugumaran
- 61
- 2
2
votes
3 answers
iOS WebRTC RTCMediaStreamTrack mute unmute remote audio track
I'm using the latest native iOS GoogleWebRTC pod version 1.1.29400
I'm attempting to disable/enable the audio track on demand as specified in the WebRTC spec here. In objective c, it is my understanding we call the isEnabled…

Corey Cole
- 2,262
- 1
- 26
- 43