DescriptionFixed the crash when adding a chromium sink to remote audio track or adding a track to peerconnection more than once.
NOTRY=true
BUG=396447
TEST=open peerConnection demo, http://googlechrome.github.io/webrtc/samples/web/content/peerconnection/
2. start a call
3. Open JS console and input below codes:
# adding a chromium sink to remote audio track:
var v = new webkitMediaStream();
v.addTrack(pc2.getRemoteStreams()[0].getAudioTracks()[0]);
var a = document.createElement('audio');
a.src = URL.createObjectURL(v);
# add a track to peer connection more than once:
var v = new webkitMediaStream();
v.addTrack(pc2.getRemoteStreams()[0].getAudioTracks()[0]);
pc1.addStream(v);
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285528
Patch Set 1 #
Total comments: 6
Patch Set 2 : addressed the comments. #
Messages
Total messages: 13 (0 generated)
|