Remove trailing spaces.

This commit is contained in:
aforge
2022-04-24 22:13:25 -07:00
parent cc66356ad5
commit 510a3d7113
2 changed files with 12 additions and 12 deletions
+5 -5
View File
@@ -1714,7 +1714,7 @@ class TinodeWeb extends React.Component {
if (!topic) {
return;
}
topic.call('ringing', callSeq);
}
@@ -1723,7 +1723,7 @@ class TinodeWeb extends React.Component {
if (!topic) {
return;
}
topic.call('hang-up', callSeq);
}
@@ -1732,7 +1732,7 @@ class TinodeWeb extends React.Component {
if (!topic) {
return;
}
topic.call('offer', callSeq, sdp);
}
@@ -1741,7 +1741,7 @@ class TinodeWeb extends React.Component {
if (!topic) {
return;
}
topic.call('ice-candidate', callSeq, candidate);
}
handleCallSendAnswer(callTopic, callSeq, sdp) {
@@ -1749,7 +1749,7 @@ class TinodeWeb extends React.Component {
if (!topic) {
return;
}
topic.call('answer', callSeq, sdp);
}
+7 -7
View File
@@ -149,10 +149,10 @@ export default class CallPanel extends React.PureComponent {
handleVideoAnswerMsg(info) {
console.log("*** Call recipient has accepted our call");
// Configure the remote description, which is the SDP payload
// in our "video-answer" message.
var desc = new RTCSessionDescription(info.payload);
this.state.pc.setRemoteDescription(desc).catch(this.reportError);
}
@@ -179,7 +179,7 @@ export default class CallPanel extends React.PureComponent {
handleNewICECandidateMsg(info) {
var candidate = new RTCIceCandidate(info.payload);
this.state.pc.addIceCandidate(candidate)
.catch(this.reportError);
}
@@ -234,11 +234,11 @@ export default class CallPanel extends React.PureComponent {
handleVideoOfferMsg(info) {
var localStream = null;
const pc = this.createPeerConnection();
var desc = new RTCSessionDescription(info.payload);
pc.setRemoteDescription(desc).then(() => {
console.log('!!! handleVideoOffer/setRemoteDescription -> getUserMesia');
return navigator.mediaDevices.getUserMedia(this.localStreamConstraints);
@@ -247,7 +247,7 @@ export default class CallPanel extends React.PureComponent {
localStream = stream;
this.localRef.current.srcObject = stream;
this.setState({localStream: stream});
localStream.getTracks().forEach(track => {
console.log('local stream A adding track ', track.id, track.kind, track.readyState);
pc.addTrack(track, localStream);