Skip to content

Commit 891eafd

Browse files
committed
cosmetic
1 parent 60abef6 commit 891eafd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Producer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export class Producer<
105105
private _stopTracks: boolean;
106106
// Whether the Producer should set track.enabled = false when paused.
107107
private _disableTrackOnPause: boolean;
108-
// Whether we should replace the RTCRtpSender.track with null when paused.
108+
// Whether we should mark the transceiver as inactive when paused.
109109
private _zeroRtpOnPause: boolean;
110110
// App custom data.
111111
private _appData: ProducerAppData;
@@ -153,7 +153,7 @@ export class Producer<
153153
this.onTrackEnded = this.onTrackEnded.bind(this);
154154

155155
// NOTE: Minor issue. If zeroRtpOnPause is true, we cannot emit the
156-
// '@replacetrack' event here, so RTCRtpSender.track won't be null.
156+
// '@replacetrack' event here.
157157

158158
this.handleTrack();
159159
}

0 commit comments

Comments
 (0)