Questions tagged [webrtc-android]

151 questions
0
votes
1 answer

https://appr.tc is down. How to set up own signaling server/ room server URL?

I'd developed a video calling app on Android using WebRTC and was using the https://appr.tc as the signaling server (Room Server URL). But according to https://groups.google.com/g/discuss-webrtc/c/H7XuZfgkGH0 apprtc is now taken down. When I run the…
Arjun
  • 1,477
  • 1
  • 13
  • 23
0
votes
0 answers

Android WebRTC - send YUV frames in NV12 format?

My project currently streams YUV 420P frames over WebRTC, using WebRTC's JavaI420Buffer class to wrap up the I420 format ByteBuffer that I obtain from an external camera source, and passing it in to my video source's capture observer. Now however I…
Mete
  • 5,495
  • 4
  • 32
  • 40
0
votes
1 answer

Is there a way to specify a preferred codec using WebRTC Android?

I've developed an Android app using WebRTC M90.0.1. I can see that from DefaultVideoEncoderFactory supportedCodecs includes VP8, VP9, and H264 but I don't see how to set a preferred codec (as can be done in iOS WebRTC)? In particular I would like to…
dchappelle
  • 1,580
  • 2
  • 13
  • 22
0
votes
0 answers

WEBRTC with flutter

Will it be possible to use WEBRTC In flutter? The application will be a cross platform application using flutter, The application will connect 100 people at a time in video and audio calling, So can I use WEBRTC in flutter, If not then what I can…
0
votes
1 answer

Gathering ice candidates works but failing to connect

I have two different WebRTC clients: an Android device and an angular application. I set up a turn and stun server and both seems to work with the trickle ice tester and the webrtc tester. As you can see here: But all ice candidates fail in…
Nick_vL
  • 13
  • 7
0
votes
1 answer

Web rtc, android library, mirror front camera display

I use webRTC's android library and I want to mirror image(footage) displayed on SurfaceView. (It is front camera footage) I did same in IOS easily with changing scale of surfaceView like this self.LocalView.transform =…
oto
  • 383
  • 4
  • 18
0
votes
1 answer

640x360(360p) Camera resolution

In my Android app, I would like to use 16:9 resolution for camera preview & transmit via WebRTC call Wanted to go with 360p (640x360) since its common & it wont require high bitrate to transmit I am using Camera2 API. As a best practice, I first…
0
votes
0 answers

Webrtc custom codec and dynamically change its configuration

In my android project, I am using org.webrtc:google-webrtc:1.0.32006 prebuilt library. Is there any way, to use custom audio codecs? Also, how can I dynamically change codec configuration during the stream without recreating the stream/connection?
0
votes
1 answer

RTCPeerConnection is creating invalid SDP with createOffer function

Im using 1.87.3 react-native-webrtc and react-native 0.64.3 Android 11. Im using this function for createOffer but its produces an incomplete sdp. When i createOffer from web side client its success, rnative and web side can communicate. But when i…
İbrahim Akgün
  • 1,527
  • 11
  • 37
  • 63
0
votes
0 answers

WebRTC facingMode environment not working in Android Chrome

I am using WebRTC for video and audio and I want to support flipping the camera in a mobile device from front to back and vice versa. Using the below code Safari iOS works great, but Android Chrome will throw the exception NotReadableError: Could…
George Taskos
  • 8,324
  • 18
  • 82
  • 147
0
votes
1 answer

No audio when webrtc mobile clients connected in different network

In my current project ,we are using webrtc to connect two mobile clients in android. We are using socket signaling to exchange data between two mobile clients. We were able to connect peer to peer audio and video call in android mobile clients in…
Jeeva
  • 1,791
  • 2
  • 23
  • 42
0
votes
1 answer

Android: Screen shot get black image for org.webrtc.SurfaceViewRenderer

I am trying to get screen shot programmatically. The same code is working for other screens where SurfaceViewRenderer is not present. Even in same screen other views are getting captured but not the view of SurfaceViewRenderer view. Any help will be…
0
votes
1 answer

Fatal error in: ../../src/modules/utility/source/helpers_android.cc, line 74

We are facing one issue related to Opentokfor Android and we have added proguard in it. You can have a look at log-cat for crash logs. Logcat crash logs - # last system error: 2 # Check failed: !jni->ExceptionCheck() # Error during…
0
votes
0 answers

Long freeze on WebRTC iOS native SDK

I am working on an iOS app that uses WebRTC's native SDK to provide access to streams from different cameras. The codec used is H264/AVC. Although most camera streams work perfectly fine, there are some that consistently freeze when the streams are…
Tuly
  • 1
0
votes
1 answer

WebRTC android application is creating echo when earphones are connected

Peer connection is getting established between devices and people on either side are able to have communication. No issue is happening when the EARPIECE is used by anyone or both of the devices. Problem is occurring when EARPHONES or INBUILT_SPEAKER…
niranj1997
  • 719
  • 8
  • 16