Hi,
The reason why the only my audio is heard to other peers and their audio is not heard by me is that the setAudioTrack function throws an error.
In plugins/webrtc/webrtc.js line 447
RTCPeerConnection {ondatachannel: null, onicechange: null, ongatheringchange: null, onremovestream: function, onaddstream: functionâŚ}
- iceConnectionState: âstartingâ
- iceGatheringState: ânewâ
- localDescription: RTCSessionDescription
- localStreams: MediaStreamList
- 0: LocalMediaStream
- ended: false
- id: âsWHnEwyoxPovgiAamNZwbcsJN8Cfmj6BdorLâ
- label: âsWHnEwyoxPovgiAamNZwbcsJN8Cfmj6BdorLâ
- onaddtrack: null
- onended: null
- onremovetrack: null
-
proto: LocalMediaStream
- length: 1
-
proto: MediaStreamList
- onaddstream: function () { [native code] }
- ondatachannel: null
- ongatheringchange: null
- onicecandidate: function () { [native code] }
- onicechange: null
- onnegotiationneeded: null
- onopen: function () { [native code] }
- onremovestream: function () { [native code] }
- onstatechange: function () { [native code] }
- readyState: âstableâ
- remoteDescription: RTCSessionDescription
- remoteStreams: MediaStreamList
- 0: MediaStream
- length: 1
-
proto: MediaStreamList
- signalingState: âstableâ
-
proto: RTCPeerConnection
webrtc.js:448
- Uncaught TypeError: Cannot read property â0â of undefined webrtc.js:450
You can observe from the logs above that localStreams doesnât have any element named audioStreams thus giving the error.
WebRtc.localStream also shows up the same thing , it does not seem to contain audioStreams
WebRtc.localStream
LocalMediaStream {onremovetrack: null, onaddtrack: null, onended: null, ended: false, id: âsWHnEwyoxPovgiAamNZwbcsJN8Cfmj6BdorLââŚ}
- ended: false
- id: âsWHnEwyoxPovgiAamNZwbcsJN8Cfmj6BdorLâ
- label: âsWHnEwyoxPovgiAamNZwbcsJN8Cfmj6BdorLâ
- onaddtrack: null
- onended: null
- onremovetrack: null
-
proto: LocalMediaStream
Is it some browser specific issue ? Iâm using the Dev channel chrome Version 26.0.1397.2 dev.