webrtc

org.webrtc.RTCPeerConnection can not publish video to server

a 夏天 提交于 2020-07-10 08:13:14
问题 im using webrtc to send and get video in conference. The subcriser video is display normally But the problem is about the video is not publish to the server, i check the method "setlocalDescription" is not return error, here is my sdp, can anyone help? I searched a lot soluition but i still can not know my problem, i think it's about codec error, may be the codec is not H264( my server accpept H264) then im trying to force to H264 by using replace profile-level-id to 42e01f, but it's not

WebRTC stuck in connecting state when ice servers are included (remote candidates causing issues even over LAN)

岁酱吖の 提交于 2020-07-10 03:16:05
问题 The bounty expires in 7 days . Answers to this question are eligible for a +50 reputation bounty. David Callanan wants to draw more attention to this question. I was temporarily creating an RTCPeerConnection without any iceServers while attempting to solve a previous issue. let peer = new RTCPeerConnection(); This has been working perfectly on my local network. However device that's not on the same network (for example, a mobile on 4G) would not connect. I remembered that I had to add back

WebRTC stuck in connecting state when ice servers are included (remote candidates causing issues even over LAN)

旧巷老猫 提交于 2020-07-10 03:13:00
问题 The bounty expires in 7 days . Answers to this question are eligible for a +50 reputation bounty. David Callanan wants to draw more attention to this question. I was temporarily creating an RTCPeerConnection without any iceServers while attempting to solve a previous issue. let peer = new RTCPeerConnection(); This has been working perfectly on my local network. However device that's not on the same network (for example, a mobile on 4G) would not connect. I remembered that I had to add back

Has video chat for GoogleWebRTC broken with iOS 13.4?

安稳与你 提交于 2020-07-09 11:52:06
问题 I have got video chat working via GoogleWebRTC with my old iPhone 6 but no matter what I do I cannot seem to get either the incoming or outgoing video to render on my iPhone XS running iOS 13.4. This is after 10 straight days effort of trying to make it work. I have seen one or two other posts regarding people who can't seem to get it to work and I was just wondering if anyone out there CAN get video chat to work via GoogleWebRTC on an iOS 13.4 device. With the release of iOS 13.4 perhaps

WebRTC getting Failed to execute 'addIceCandidate' on RTCPeerConnection error on console but can still display remote and local videos

六眼飞鱼酱① 提交于 2020-07-09 06:36:30
问题 I am trying to connect two peers using webRTC. I am able to display both local and remote videos correctly but as soon as the remote video appears, the candidate object becomes null and on the console it logs the following error message. TypeError: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': Candidate missing values for both sdpMid and sdpMLineIndex I am using two separate laptops to test the connection and since both remote and local videos are showing, I think that I have

WebRTC iOS: remote video is not shown in iOS client

回眸只為那壹抹淺笑 提交于 2020-07-08 19:04:02
问题 I am trying to implement WebRTC in an iOS application using GoogleWebRTC pod. i can place a video call between iOS app and a web client, in which case the audio/video works just fine. however when i place a video call between two iOS devices there is no video(audio works). i've checked if there is remote stream and there is. let localStream = connectionFactory?.mediaStream(withStreamId: "StreamID") let audioTrack = connectionFactory?.audioTrack(withTrackId: "AudioTrackID") let videoSource =

WebRTC iOS: remote video is not shown in iOS client

懵懂的女人 提交于 2020-07-08 19:01:08
问题 I am trying to implement WebRTC in an iOS application using GoogleWebRTC pod. i can place a video call between iOS app and a web client, in which case the audio/video works just fine. however when i place a video call between two iOS devices there is no video(audio works). i've checked if there is remote stream and there is. let localStream = connectionFactory?.mediaStream(withStreamId: "StreamID") let audioTrack = connectionFactory?.audioTrack(withTrackId: "AudioTrackID") let videoSource =

how to get running mediaStream

℡╲_俬逩灬. 提交于 2020-07-08 10:29:10
问题 I've created a webCam Stream with navigator.getUserMedia({ "video": true }, function(stream){ videoTag.src = window.URL.createObjectURL(stream); videoTag.play(); } Can I access the MediaStream object in stream in global scope?* (something like navigator.getAllMediaStreams[0] ) *edit: ...without adding logic to the getUserMedia function. My problem case is a qr-decoder-library, that gets the stream for me and I don't want to change the third party code 回答1: There is no list of active media

how to get running mediaStream

[亡魂溺海] 提交于 2020-07-08 10:24:16
问题 I've created a webCam Stream with navigator.getUserMedia({ "video": true }, function(stream){ videoTag.src = window.URL.createObjectURL(stream); videoTag.play(); } Can I access the MediaStream object in stream in global scope?* (something like navigator.getAllMediaStreams[0] ) *edit: ...without adding logic to the getUserMedia function. My problem case is a qr-decoder-library, that gets the stream for me and I don't want to change the third party code 回答1: There is no list of active media

RTCDataChannel send method not sending data

|▌冷眼眸甩不掉的悲伤 提交于 2020-07-07 04:23:31
问题 I'm having a strange problem with RTCDataChannel. I'm doing some research on WebRTC and I have working WebRTC audio/video chat already. Now I wanted to add text chat and file sharing to it using RTCDataChannel. I've created RTCDataChannel like this: var dataChannelOptions = { reliable: true, maxRetransmitTime: "2000" }; dataChannel = yourConnection.createDataChannel("testDataChannel", dataChannelOptions); dataChannel.onerror = function (error) { console.log("dataChannel.OnError:", error); };