Skip to content

Commit

Permalink
fix Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Jun 13, 2024
1 parent 5b60bac commit a469f96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/handlers/Chrome111.ts
Original file line number Diff line number Diff line change
Expand Up @@ -837,9 +837,10 @@ export class Chrome111 extends HandlerInterface {

if (onRtpReceiver) {
const localId = mapLocalId.get(trackId);
const transceiver = this._pc.getTransceivers()
const transceiver = this._pc
.getTransceivers()
.find((t: RTCRtpTransceiver) => t.mid === localId);

if (!transceiver) {
throw new Error('transceiver not found');
}
Expand Down

0 comments on commit a469f96

Please sign in to comment.