Questions tagged [webrtc-android]

151 questions
1
vote
0 answers

Android-Webrtc: Getting Assertion error in copyI420Buffer() of AndroidVideoDecoder

In few devices(like Motorola Moto E4 Plus, Realme 6i, Lenovo K8 Plus), I am getting Assertion error in copyI420Buffer() of AndroidVideoDecoder.java. In Crashlytics, I found the below logs: Fatal Exception: java.lang.AssertionError: Stride is not…
abhishek kumar gupta
  • 2,189
  • 6
  • 35
  • 56
1
vote
1 answer

android webRTC receiving call with no audio

I am implementing VoIP with Native Android WebRTC lib. I have managed to make a call from the Android app to the Browser. I can hear and talk as expected. But when I try to call from the Browser to the Android app, I am not able to hear or talk on…
Nik
  • 2,913
  • 7
  • 40
  • 66
1
vote
0 answers

Can WebRTC work over an Android USB Ethernet connection?

I am trying to use WebRTC on an Android App to stream to a media server running on my workstation using a USB tethering connection. I see have good signaling, with an offer and an answer that seem to make sense with respect to the IP addresses,…
aardvark-fan
  • 95
  • 1
  • 6
1
vote
1 answer

Android WebRTC remote stream not displaying on SurfaceView, getting 0 frames

I'm attempting to stream my webcam locally from a webpage on my computer to an Android app (native WebRTC). I'm using WebRTC for the peer connection and NodeJS with Socket.io for signaling. When I initiate the video stream all sdp appears to be set…
Matthew Kline
  • 71
  • 1
  • 6
1
vote
1 answer

Using WebRTC for Video Streaming in android app

I am using WebRTC for communication for media streaming between my android app and web app. For signalling I have used socket.io and using socket I have established the connection between android app and web app. I am able to send offer and receive…
Vipin NU
  • 301
  • 2
  • 16
1
vote
2 answers

Get WebRtc AudioTrack from pointer

Is there any way that I can do to get audioTrack from this pointer ? I want to get real stream with ByteBuffer or something similar without forking webrtc package org.webrtc; public class AudioTrack extends MediaStreamTrack { /** Returns a pointer…
Kyryl Zotov
  • 1,788
  • 5
  • 24
  • 44
1
vote
2 answers

WebRTC Android multi-user text chat using DataChannels

I am using mesh architecture for webRTC app for multi-user,the video chat works fine for multi-user, for text chat i created a dataChannel on the peer who creates offer and the onDataChannel handler creates a dataChannel on the other peer. The text…
1
vote
1 answer

Monitor WebRTC bit rate in Android application

I am trying to develop a Video Calling application in Android using WebRTC. I need to show the live video upload bitrate to the other caller during the video call. is there any way to fetch the upload video bitrate and set different video quality…
1
vote
1 answer

CameraCapturer must be initialized before calling startCapture

Facing this issue while implementing WebRTC in Android: Caused by: java.lang.RuntimeException: CameraCapturer must be initialized before calling startCapture. build.gradle(:app) dependencies { ...... implementation…
Faizan Mubasher
  • 4,427
  • 11
  • 45
  • 81
1
vote
1 answer

WebRTC android implementation not working when one of the device is connected to WiFi

I have developed a video streaming app that streams video from one android device to another (and not the other way around). When both devices are on their individual LTE network the app works fine. But when one of the devices is connected to WiFi…
CanniZarro
  • 53
  • 8
1
vote
0 answers

WebRTC in Android.mk

I have an android app that works fine (build and apk installation) through androudstudio + gradle build. This app uses WebRTC library: implementation("org.webrtc:google-webrtc:1.0.27771") Now I want to change the build and do it through Android.mk…
dgcipp
  • 339
  • 3
  • 17
1
vote
0 answers

Disabling Local stream on Remote Side after Call is connected via WebRtc in Android

I'm trying to isolate video and audio and am able to control the video feed from the caller side, however, unable to turn off the local video stream on the remote side since its an audio call. Any suggestions on how to isolate the video and audio…
Sharklash
  • 31
  • 1
  • 4
1
vote
2 answers

Error while building WebRTC for android on Ubuntu

I am trying to build WebRTC for Android on Ubuntu 16.04. I have followed the steps mentioned at: https://medium.com/@abdularis/how-to-compile-native-webrtc-from-source-for-android-d0bac8e4c933 ( I found similar steps in the other links also) I…
Archit Sinha
  • 775
  • 1
  • 8
  • 33
1
vote
0 answers

Draw text or line on SurfaceViewRenderer in webRTC?

I am struggling to draw text or line on SurfaceViewRenderer. I am using below GitHub sample for WebRTC. https://github.com/pchab/AndroidRTC. Please anyone can help on this.
Shashank Gupta
  • 165
  • 2
  • 16
1
vote
1 answer

RTCFileLogger: How to decode log file?

If you use RTCFileLogger or RTCPeerConnection's startRtcEventLogWithFilePath they both log data that seems to be encoded in some format that is not human readable: ∆äÚïï ‡“ÚïïZÃÆë∫ "øÃ˛ïï¢≤›”± (08@H ˝Ã˛ïï™≤›”± ›Õ˛ïï™≤›”± "†Œ˛ïï¢≤›”±…
Kyle Redfearn
  • 2,172
  • 16
  • 34