bugfix
This commit is contained in:
parent
9053643c15
commit
98c4f1c725
@ -244,9 +244,8 @@ bricks.RTCClient = class extends bricks.VBox {
|
|||||||
.get_stream()
|
.get_stream()
|
||||||
.getTracks()
|
.getTracks()
|
||||||
.forEach(track => {
|
.forEach(track => {
|
||||||
this.peerConnection.addTrack(track,
|
this.peerConnection.addTrack(track, this.localVideo.stream);
|
||||||
this.localVideo.stream);
|
});
|
||||||
}
|
|
||||||
|
|
||||||
// 处理 ICE 候选
|
// 处理 ICE 候选
|
||||||
this.peerConnection.onicecandidate = this.send_candidate.bind(this, to_info);
|
this.peerConnection.onicecandidate = this.send_candidate.bind(this, to_info);
|
||||||
|
Loading…
Reference in New Issue
Block a user