Questions tagged [webrtc-android]
151 questions
2
votes
2 answers
How to USe WebRTC in native android 2019
How can I set up WebRTC in Kotlin for Android Studio? I couldn't find a working solution. Please provide detailed info.

Maninder Singh Badshah
- 31
- 1
- 4
2
votes
2 answers
what is '@CalledByNative("...")'?
How do I use @CalledByNative("...")? I need a callback from a webrtc lib.
If you know the class PeerConnection on it:
PeerConnection.java
Here is a old version of PeerConnection but it's almost same now
I call the function addStream, but I can't…
user11714076
2
votes
4 answers
Acoustic Echo Cancellation on Android not working
We are trying to enable the already implemented echo cancellation technology.
Scenario:
Two android devices are successfully connected and voice is perfectly fine on both devices.
Device-1 activate/deactivate Speakerphone:
AudioManager audioManager…

abhishek kumar gupta
- 2,189
- 6
- 35
- 56
2
votes
1 answer
Android WebRTC implementaion - very low volume
I have implement an option of Video Conference on my application using the following example:
https://github.com/androidthings/sample-videoRTC
basically is is working very well but i have one major issue. the sreaming audio volume is very very low…

Zion Cohen
- 182
- 6
- 19
2
votes
1 answer
Android WebRTC - getStats() is not providing enough information
I am trying to get all information related to mediastreams to get call quality. Peerconnection.getStats() method is deprecated but provides all information as per my requirement like "bytesReceived", "packetsLost", "packetsReceived" ,"googCodecName"…

Nitin Gupta
- 236
- 3
- 10
1
vote
0 answers
webRTC multi-peer connection Flutter
I want to establish a peer connection between multiple users using WebRTC in Flutter for a data channel. I am encountering an error while attempting to create multiple connections. For example, if I have three users named A, B, and C, sometimes A…

Ravi Taak
- 38
- 5
1
vote
0 answers
Webrtc issue with android (java) only audio in ice candidate on client B and 0 frame onAddstream but status is LIVE
For a few days I have a problem that I do not understand at all. Everything seems to be working well, finally everything should be working well with everything I read right and left and all my tries.
I would like to share audio and video on android…

Tokens
- 11
- 3
1
vote
1 answer
Draw YUV frames on GL/Surface/TextureView
I have some callback called in own Thread (not main) continously, as this is 1920 x 1088 (yep, 88), 30 fps video:
@Override
public void onYuvDataReceived(MediaFormat mediaFormat, ByteBuffer byteBuffer,
final int width,…

snachmsm
- 17,866
- 3
- 32
- 74
1
vote
0 answers
Android Google WebRTC cannot load stream on some devices
I'd developing an app to load video streams from Nest Camera using
org.webrtc:google-webrtc
I am always successful in loading video stream from Samsung phones. But some device like Sony or Google Pixel cannot load the stream from the Nest Camera(I…

Kai Pham
- 19
- 3
1
vote
0 answers
WebRTC on Android with USB audio device
I am having sound issues using a USB audio device with WebRTC. When I try to play a sound outside of WebRTC with the USB audio device, the audio is routed through the device as expected. Also, without the USB audio device, sound in WebRTC works well…

meeeee
- 2,929
- 3
- 22
- 25
1
vote
2 answers
How to add blur and background blur to both sent and received WebRTC video tracks
How do I add a blur effect to a webRTC video track? I am building a video call app using WebRTC and I need to blur the background of the person using my app and also blur all of the video coming from the other side for security reasons. (Random…

Ivan Šimović
- 497
- 4
- 17
1
vote
1 answer
Peer to Peer (P2P) Android chat application (over internet) using WebRTC
I know this may sound a little silly (I'm new to native android and network stuff), but I want to build a peer 2 peer Android chat application (over the internet) where the chat payload shouldn't pass through a server. I've read numerous articles…

Naufal Rajabi
- 334
- 4
- 13
1
vote
0 answers
Keeping track of WebRTC stats on Android
How I can use chrome://webrtc-internals for mobile Chrome (Android)? Yes, I can open it in a separate tab on the same phone, and can even switch between the tow tabs: the one that runs my webRTC client and the one that collects the stats. But this…

Alex Cohn
- 56,089
- 9
- 113
- 307
1
vote
0 answers
WebRTC Answer SDP returns recvonly instead of sendrecv
I have a web based WebRTC client and I am having the following functionality:
Step 1. CreateOffer with both audio and video tracks set to sendrecv.
Step 2. Receive and Answer with both audio and video tracks set to
sendrecv. Peer to Peer A/V calls…

Aagman
- 684
- 6
- 18
1
vote
0 answers
Error building Android webrtc library with openssl
I am building the webrtc library for Android, using the following configuration:
gn gen out/Release-arm64 -args='target_os="android" target_cpu="arm64" use_custom_libcxx=false use_custom_libcxx_for_host=false is_debug=false is_component_build=false…

jas
- 63
- 4