【m】解决远端黑屏问题
This commit is contained in:
@@ -239,7 +239,8 @@ function onOffer(ws: WebSocket, message: any): void {
|
||||
}
|
||||
} else {
|
||||
// participant发送offer给host,携带该participant的participantId
|
||||
newOffer.polite = true;
|
||||
// host端应为impolite(polite=false),确保perfect negotiation中host优先
|
||||
newOffer.polite = false;
|
||||
group.host.send(JSON.stringify({ from: connectionId, to: "", type: "offer", data: newOffer, participantId: senderParticipantId }));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user