Questions tagged [apprtcdemo]

apprtcdemo is a opensource demo project provided by google webrtc team.

70 questions
17
votes
1 answer

ApprtcDemo with local server works between browsers but not Android native to browser

I am developing a chat application and done with it. Now I want to implement video chat also. After research a lot I decided to go with "WebRTC" library. What I have done? 1) Able to run AppRtcDemo at local server and Its working fine between…
Biraj Zalavadia
  • 28,348
  • 10
  • 61
  • 77
14
votes
6 answers

How to redirect audio to speakers in the AppRTC iOS example?

I'm trying to redirect audio to speakers in the AppRTC iOS example. I tried: AVAudioSession* session = [AVAudioSession sharedInstance]; //error handling BOOL success; NSError* error; //set the audioSession category. //Needs to be Record or…
Alon Gubkin
  • 56,458
  • 54
  • 195
  • 288
12
votes
3 answers

Custom byteArray data to WebRTC videoTrack

I need to use WebRTC for android to send specific cropped(face) video to the videoChannel. I was able manipulate Camera1Session class of WebRTC to get the face cropped. Right now I am setting it to an ImageView. listenForBytebufferFrames() of…
Andro
  • 952
  • 9
  • 19
9
votes
3 answers

Android webRTC audio volume

I'm using APPRTCdemo app on android. I'm trying to make it play the sound coming from the other peer as loud as the volume is set in the Android settings. So if the user muted the device, the audio would not be heard. I tried pretty much every…
Michael P
  • 2,017
  • 3
  • 25
  • 33
7
votes
1 answer

AppRTC server returns html instead of Json

I am implementing WebRTC natively into Android. I was able to compile and run the code as described here http://www.webrtc.org/native-code/android, but I ran into an issue where apprtc.appspot.com apparently does not return a channel token as…
Oliver Hausler
  • 4,900
  • 4
  • 35
  • 70
6
votes
2 answers

How to change surfaceview's z-order runtime in android

Recently I studied webrtc in android. I wanna click SurfaceView A to make it fullscreen and another SurfaceView B becomes small, or maybe click B. But I found it is hard to change the z-order of two different surfaceviews in runtime. Here is my…
Tino
  • 183
  • 3
  • 9
5
votes
1 answer

How to get frame data in AppRTC iOS app for video modifications?

I am currently trying to make some modifications to the incoming WebRTC video stream in the AppRTC app for iOS in Swift (which in turn is based on this Objective-C version). To do so, I need access to the data which is stored in the frame objects of…
Alexander Telegin
  • 665
  • 1
  • 7
  • 22
5
votes
1 answer

Cannot resolve symbol webrtc in Android Studio

I am trying to use webrtc in Android Studio. The file libjingle_peerconnection_so.so is put int the folder src/main/jniLibs/arneabi-v7a. But when I put in a Java file: import org.webrtc.DataChannel; it tells me that can not resolve "Cannot resolve…
5
votes
0 answers

Android-webrtc Stream data from other than camera source directly to webbrowser

UseCase - I am using android projection API to capture my android device screen. The output is displayed in a SurfaceView. Next i want to project surfaceview data to a web browser using Webrtc. I have seen lots of example which uses device camera…
shubendrak
  • 2,038
  • 4
  • 27
  • 56
5
votes
0 answers

Apprtc with coturn STUN/TURN server

Simply, I am going run locally popular example of WEBRTC app: github.com/webrtc/apprtc The apprtc installed, and even works locally without turn server ( "Same origin policy" don't allow use Google TURN server, which works only from …
Thomas
  • 97
  • 2
  • 8
4
votes
1 answer

How to modify (add filters to) the camera stream that WebRTC is sending to other peers/server

Scope I am using RTCCameraPreviewView to show the local camera stream let videoSource = self.pcFactory.avFoundationVideoSource(with: nil) let videoTrack = self.pcFactory.videoTrack(with: sVideoSource, trackId: "video0") //setting the…
gaurav414u
  • 812
  • 13
  • 22
4
votes
2 answers

AppRTC android crosswalk

I am trying to run the AppRTC HTML5 demo with Crosswalk on Android. But for some reason I can't get the microphone to work. I have got the AppRTC HTML5 demo source from GitHub and followed the instructions to build. Once complete I have used the…
3
votes
0 answers

Stop transmitting audio when app is in background in android webRTC/AppRTC

I am working on webRTC on the android platform. I run the appRTC code(https://github.com/njovy/AppRTCDemo). Now I joined the call from the android mobile and one from the web(https://appr.tc/). it is working fine. Now Android mobile goes in…
Shashank Gupta
  • 165
  • 2
  • 16
3
votes
3 answers

API Documentation for WebRTC Android Library

I'm learning WebRTC and I have found its JavaScript documentation quiet good. But then, I want to work with webrtc on Android. So I found this page. After Adding the libraries I cannot find documentation like it is for JS. There is AppRTC but then I…
Stefano Mtangoo
  • 6,017
  • 6
  • 47
  • 93
3
votes
0 answers

Update AppRTC android code with Unified semantic plan

I am working on webRTC on the android platform. It's working with libjingle peerconnection library and planB semantics plan. But now I am updating apprtc code with the latest webRTC version from here…
Shashank Gupta
  • 165
  • 2
  • 16
1
2 3 4 5