File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments