Skip to content

Commit 57430cf

Browse files
committed
Remove redundant options for RTP packet size configuration
1 parent 7aa36d0 commit 57430cf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/api/rtp-stream.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -452,9 +452,6 @@ export class RTPStream {
452452
copyInitialNonkeyframes: true,
453453
format: 'rtp',
454454
maxPacketSize: this.options.video.mtu,
455-
options: {
456-
pkt_size: this.options.video.mtu,
457-
},
458455
},
459456
);
460457

@@ -550,9 +547,6 @@ export class RTPStream {
550547
copyInitialNonkeyframes: true,
551548
format: 'rtp',
552549
maxPacketSize: this.options.audio.mtu,
553-
options: {
554-
pkt_size: this.options.audio.mtu,
555-
},
556550
},
557551
);
558552
}

0 commit comments

Comments
 (0)