diff --git a/.changeset/silver-badgers-prove.md b/.changeset/silver-badgers-prove.md new file mode 100644 index 0000000000..97fb4a2117 --- /dev/null +++ b/.changeset/silver-badgers-prove.md @@ -0,0 +1,5 @@ +--- +"livekit-client": patch +--- + +Log offer before munging diff --git a/src/room/PCTransport.ts b/src/room/PCTransport.ts index 9eb6f63a28..ba88dcbbbf 100644 --- a/src/room/PCTransport.ts +++ b/src/room/PCTransport.ts @@ -260,6 +260,7 @@ export default class PCTransport extends EventEmitter { // actually negotiate this.log.debug('starting to negotiate', this.logContext); const offer = await this.pc.createOffer(options); + this.log.debug('original offer', { sdp: offer.sdp, ...this.logContext }); const sdpParsed = parse(offer.sdp ?? ''); sdpParsed.media.forEach((media) => {