Skip to content

Commit

Permalink
Remove unneeded setting of onaddstream
Browse files Browse the repository at this point in the history
  • Loading branch information
youennf committed Nov 4, 2018
1 parent 0ec83a2 commit 8da49cd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion webrtc/getstats.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ <h2>Retrieved stats info</h2>

gSecondConnection = new RTCPeerConnection(null);
gSecondConnection.onicecandidate = onIceCandidateToSecond;
gSecondConnection.onaddstream = onRemoteStream;

// The createDataChannel is necessary and sufficient to make
// sure the ICE connection be attempted.
Expand Down

0 comments on commit 8da49cd

Please sign in to comment.