parent
89560c19a0
commit
94953f5d22
|
@ -427,6 +427,8 @@ class Transmitter {
|
|||
onIceServers(res) {
|
||||
this.pc = new RTCPeerConnection({
|
||||
iceServers: linkToIceServers(res.headers.get('Link')),
|
||||
// https://webrtc.org/getting-started/unified-plan-transition-guide
|
||||
sdpSemantics: 'unified-plan',
|
||||
});
|
||||
|
||||
this.pc.onicecandidate = (evt) => this.onLocalCandidate(evt);
|
||||
|
|
|
@ -162,6 +162,8 @@ class WHEPClient {
|
|||
onIceServers(res) {
|
||||
this.pc = new RTCPeerConnection({
|
||||
iceServers: linkToIceServers(res.headers.get('Link')),
|
||||
// https://webrtc.org/getting-started/unified-plan-transition-guide
|
||||
sdpSemantics: 'unified-plan',
|
||||
});
|
||||
|
||||
const direction = "sendrecv";
|
||||
|
|
Loading…
Reference in New Issue