Questions tagged [webrtc-android]

151 questions
1
vote
1 answer

WebRTC + Android + Remote Video Not showing

Please review following code and let me know what I need to change for showing remote video. Audio is playing fine. Working Latest library of Webrtc.In onAddStream method I have get Videotrack size of 1 but is not render in remoteVideoTrack addSink…
1
vote
0 answers

Create VideoFrame from YUV 4:2:0 data

I want to create a CustomVideoCapturer, which will convert YUV4:2:0 data buffer to VideoFrame then send data via webrtc. But current example use Camera as VideoCapturer source, I do not find any help sample to do such convert. I can find a…
lucky1928
  • 8,708
  • 10
  • 43
  • 92
1
vote
0 answers

Getting error while on PeerConnection.IceServer builder error: cannot find symbol method builder(String)

I am implementing Webrtc in android . while implementing I am getting this error tap here to the issue List iceServers = new ArrayList<>(); PeerConnection.IceServer.Builder iceServerBuilder =…
Nayan Dubey
  • 109
  • 10
1
vote
1 answer

Phone app with nexmo voice app integration

I am mobile app developer. I have a Phone app with nexmo sdk in-app voice integration. Whats the procedure to work on it.
1
vote
1 answer

android webrtc rotate VideoFrame

I try below code to rotate VideoFrame by 90 degree but it doesn't work: private VideoFrame rotateFrame(VideoFrame inVideoFrame) { VideoFrame outVideoFrame = new VideoFrame( inVideoFrame.getBuffer(), 90,…
lucky1928
  • 8,708
  • 10
  • 43
  • 92
1
vote
1 answer

Reconnecting call with WebRtc after network offline Android

I try to reconnect after network offline. I success to re connecting to call if the network fail in receiver side. But i don't success to do it if network fail in the caller side. I try to re -init the web WebRTC client , it's don't work. Also try…
blay
  • 464
  • 9
  • 23
0
votes
0 answers

Android WebRTC stream always downmixes stereo audio to mono

I am currently experiencing an issue with my Android STB device when I attempt to play a WebRTC stream with stereo audio (two audio channels). The main issue is that the device always downmixes the Left/Right channels to mono, regardless of the…
Dan Burdetsky
  • 101
  • 2
  • 8
0
votes
0 answers

Why webrtc library not found in maven repo?

According to https://mvnrepository.com/artifact/org.webrtc/google-webrtc/1.0.32006 , following code added in my gradle script. implementation 'org.webrtc:google-webrtc:1.0.32006' But gradle prompts me that the reop can not be found.
progquester
  • 1,228
  • 14
  • 23
0
votes
0 answers

Does WebRTC between two Android devices need a TURN server?

I am new to WebRTC. I understand that sometimes it is necessary to use a TURN server to make a video call between two clients in web browsers. For example, when the firewall comes into play. Do we also need TURN server in a video call between two…
0
votes
0 answers

Vulnerable WebRTC Versions Error On Play Store

I'm using webrtc android. After some version upload on play store, it's a while the play store shows me an error: Vulnerable WebRTC Versions: Your app uses a bad version of WebRTC, which contains security vulnerabilities. Here is the version that…
TinaTT2
  • 366
  • 5
  • 17
0
votes
0 answers

Real-time video call analysis when using WebRTC

I use libjingle_peerconnection for video calls. How can I simultaneously analyze the video for face detection and smile detection? I made some efforts and was able to get the frames from the WebRTC SurfaceView, but when I access a frame, the…
0
votes
1 answer

Webcam only works when I lock and unlock smartphone

I'm doing a simple demo app in Flutter using the flutter_webrtc plugin following this tutorial. When I test using Chrome its works just fine, in emulator the camera image never shows, and when I test on my Android smartphone the camera image only…
omegaGoat
  • 1
  • 1
0
votes
0 answers

WebRTC does not work on Android - Android, but do work with Android-Web

Can you tell me what my error is? I'm trying to make WebRTC natively on android, but have no luck. Android -> Android -- not working Web -> Web -- working Android -> Web -- working Web - Android -- NOT working So, my system works when Android…
nutella_eater
  • 3,393
  • 3
  • 27
  • 46
0
votes
0 answers

How to get the height of video show in SurfaceViewRenderer?

Example surfaceView.getHeight() will return the surfaceView's height, not the video's height. I can get the VideoFrame in onFrame(VideoFrame frame), but the frame's height is the height of source's video, not the ended height showed in the…
heyuntang
  • 1
  • 1
0
votes
2 answers

Initialize PeerConnectionFactory with latest webrtc dependency

I am using the below dependency of webrtc in my Android App implementation 'org.webrtc:google-webrtc:1.0.+' How to Initialize PeerConnectionFactory, I am doing it in below manner but it is giving compilation error. private void…