apprtcdemo

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

僤鯓⒐⒋嵵緔 提交于 2019-12-03 17:26:07
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 capture session to my RTCCameraPreviewView: (self.previewView as! RTCCameraPreviewView).captureSession = (videoTrack.source as! RTCAVFoundationVideoSource).captureSession stream = self.pcFactory.mediaStream(withStreamId: "unique_label") audioTrack = self.pcFactory.audioTrack(withTrackId: "audio0") stream.addAudioTrack(audioTrack) var device: AVCaptureDevice? for

WebRTC flow of function calls for making calls [Android]

半城伤御伤魂 提交于 2019-12-03 14:12:40
问题 I am referring and also going through source code of AppRTCDemo which is a demo application for WebRTC. What i am trying is: Build my own WebRTC application which will do AV calls on a Android Device. Replace existing https://apprtc.appspot.com/ server and related functionality. For archiving above points, I want to understand basic flow of WebRTC function calls and steps to make/receive calls (functions that i need to calls and there flow). I have gone through the source code and understood

WebRTC flow of function calls for making calls [Android]

大城市里の小女人 提交于 2019-12-03 05:09:25
I am referring and also going through source code of AppRTCDemo which is a demo application for WebRTC. What i am trying is: Build my own WebRTC application which will do AV calls on a Android Device. Replace existing https://apprtc.appspot.com/ server and related functionality. For archiving above points, I want to understand basic flow of WebRTC function calls and steps to make/receive calls (functions that i need to calls and there flow). I have gone through the source code and understood few things, but as code is pretty complicated to understand, and without any documentation. It will be

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

廉价感情. 提交于 2019-11-28 18:23:15
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 browsers. Reference : http://www.webrtc.org/reference/getting-started 2) Able to build Android AppRtcDemo.But when I run it say "Cross origin does not support". After research I found in webrtc discussion that to resolve this issue I need to set-up own turn server. 3) So I install latest rfc5766TurnServer recommended by webrtc. I got success to run turn

openwebrtc demo is not working in Chrome

左心房为你撑大大i 提交于 2019-11-27 08:24:50
问题 Chrome supports WebRTC. But openwebrtc I am not able to run http://demo.openwebrtc.org:38080/ while apprtc I am able to run https://apprtc.appspot.com/ so why this problem ? so what is the difference between openwebrtc and apprtc ? is there any different implementation in thes e ? I know both use WebRTC APIs so my gut feeling is the demo sample that I use for openwebrtc is not https so chrome doesn’t let it access camera ,mike and so its not working.While Apprtc sample is https 回答1: Open web