one last stab :P

This commit is contained in:
MathMan05 committed 2025-12-01 20:37:02 -06:00
1 parent b88bd62691
commit 517b79cdd7
1 file changed
+1 -1
+1 -1
View File
@@ -854,7 +854,6 @@ a=rtcp-mux\r`;
async makeOffer() {
if (this.off) {
if (this.pc?.localDescription?.sdp) return {sdp: this.pc?.localDescription?.sdp};
return this.off;
}
return (this.off = new Promise<RTCSessionDescriptionInit>(async (res) => {
@@ -988,6 +987,7 @@ a=rtcp-mux\r`;
this.status = "makingOffer";
const pc = new RTCPeerConnection({
bundlePolicy: "max-bundle",
rtcpMuxPolicy: "negotiate",
});
pc.ontrack = async (e) => {
this.status = "done";