Questions tagged [webrtc-android]

151 questions
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

How to use playoutDelayHint and jitterBufferDelayHint in a Native WebRtc Java project

I'm currently using a self compiled WebRtc lib for my Android project and I try to get lowest latency for game streaming/ cloud gaming. I found out that on browsers you can use playoutDelayHint and or jitterBufferDelayHint to fine tune latency and…
grill2010
  • 574
  • 6
  • 23
3
votes
0 answers

Android webrtc SIGSEGV errors

I'm trying to build webrtc android app using org.webrtc:google-webrtc:1.0.32006 but sometimes I'm getting signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) errors. Description of errors: backtrace: #00 pc 00000000004d6f10 …
3
votes
0 answers

App crashing on disconnecting call webRTC android

In my app, I have implemented webRTC. A host goes live and multiple guests can join him to watch his stream just like Facebook Live or insta Live. But when a stream is live and have any guests, I disconnect the stream by host side. It crashes. The…
harperdev7
  • 153
  • 1
  • 7
3
votes
1 answer

WebRTC Android echo cancellation

I would like to implement voice and video calling in android. I used this example project as reference: Amazon Kinesis Video Streams Android WebRTC SDK Problem is that the microphone picks up the remote sounds which results in an extreme echoing…
prechtelm
  • 43
  • 1
  • 3
3
votes
0 answers

Random Crash in webrtc native library

I am getting this error randomly on some device when I request to close peerconnection on release build. I have tried to set pro-guard rule for this but still getting below error. Please help me on this . My Proguard rules: -keep class org.webrtc.**…
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

Unable to Compile WebRTC Library for Android

I am trying to compile WebRTC Native Stack to build libwebrtc.aar but unfortunately unable to understand what's going wrong. System Information: Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: …
Muhammad Usman Bashir
  • 1,441
  • 2
  • 14
  • 43
3
votes
0 answers

Perfect WebRTC Handshake

I have been trying to implement a "perfect" WebRTC handshake. For this i have implemented the following solution: https://blog.mozilla.org/webrtc/perfect-negotiation-in-webrtc/ But it seems like that is already no longer working. Could someone give…
M. Schröder
  • 177
  • 2
  • 14
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…
3
votes
1 answer

Android webRTC call in a Foreground Service

I am creating an Android app (Java code) that has an audio call feature. I managed to make it work using the webRTC framework. I wanted to make my audio call behave like WhatsApp and Messenger, where those apps keep the audio call running even if…
OussaMah
  • 817
  • 9
  • 19
3
votes
2 answers

webRTC crashed on peerConnection.dispose()

I am developing video chat application using native WebRTC with my Java Signaling Server. I have success create the connection and it working very well. BUT, when i am trying to disconnect the call, the application is crashed with the following…
Zion Cohen
  • 182
  • 6
  • 19
3
votes
1 answer

WebRTC Datachannel for high bandwidth application

I want to send unidirectional streaming data over a WebRTC datachannel, and is looking of the best configuration options (high BW, low latency/jitter) and others' experience with expected bitrates in this kind of application. My test program sends…
jensk
  • 414
  • 5
  • 13
2
votes
1 answer

Where can I find the google-webrtc source code?

I am developing Android webrtc, which relies on google-webrtc. Where can I check its source code or documentation? implementation 'org.webrtc:google-webrtc:1.0.32006' I found this plug-in in Maven,bt-google-webrtc, but there is no source code. Or is…
何呵呵
  • 25
  • 3
2
votes
7 answers

How to fix "Failed to resolve: org.webrtc:google-webrtc"?

I build an android webrtc app but when adding webrtc to the android studio project (implementation 'org.webrtc:google-webrtc:1.0.+'), I get this error : Failed to resolve: org.webrtc:google-webrtc How to add webrtc to an android app ?
1
2
3
10 11