Skip to content

Commit

Permalink
Merge branch 'gh-pages' into gss-again
Browse files Browse the repository at this point in the history
  • Loading branch information
fippo authored Dec 9, 2020
2 parents 6b4c41d + d1939db commit 6b21ae9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/content/peerconnection/constraints/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ function createPeerConnection() {
remotePeerConnection = new RTCPeerConnection(null);
localStream.getTracks().forEach(track => localPeerConnection.addTrack(track, localStream));
console.log('localPeerConnection creating offer');
localPeerConnection.onnegotiationeeded = () => console.log('Negotiation needed - localPeerConnection');
remotePeerConnection.onnegotiationeeded = () => console.log('Negotiation needed - remotePeerConnection');
localPeerConnection.onnegotiationneeded = () => console.log('Negotiation needed - localPeerConnection');
remotePeerConnection.onnegotiationneeded = () => console.log('Negotiation needed - remotePeerConnection');
localPeerConnection.onicecandidate = e => {
console.log('Candidate localPeerConnection');
remotePeerConnection
Expand Down
6 changes: 3 additions & 3 deletions src/content/peerconnection/old-new-stats/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ document.addEventListener('DOMContentLoaded', async () => {
remotePeerConnection = new RTCPeerConnection(null);
localStream.getTracks().forEach(track => localPeerConnection.addTrack(track, localStream));
console.log('localPeerConnection creating offer');
localPeerConnection.onnegotiationeeded = () => {
localPeerConnection.onnegotiationneeded = () => {
console.log('Negotiation needed - localPeerConnection');
};
remotePeerConnection.onnegotiationeeded = () => {
remotePeerConnection.onnegotiationneeded = () => {
console.log('Negotiation needed - remotePeerConnection');
};

Expand Down Expand Up @@ -270,4 +270,4 @@ document.addEventListener('DOMContentLoaded', async () => {

// Start it all up
displayGetUserMediaConstraints();
});
});

0 comments on commit 6b21ae9

Please sign in to comment.