Skip to content

Commit

Permalink
Log offer before munging (#1218)
Browse files Browse the repository at this point in the history
* Log offer before munging

* Create silver-badgers-prove.md
  • Loading branch information
lukasIO authored Aug 8, 2024
1 parent fb8de66 commit 4730ef8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/silver-badgers-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"livekit-client": patch
---

Log offer before munging
1 change: 1 addition & 0 deletions src/room/PCTransport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 4730ef8

Please sign in to comment.