Skip to content

Commit e606604

Browse files
committed
Set correct description for error
During refactor in 804a12f we lost the actual message
1 parent c5d629f commit e606604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ var (
248248
errRTPSenderRIDCollision = errors.New("Sender cannot encoding due to RID collision")
249249
errRTPSenderNoTrackForRID = errors.New("Sender does not have track for RID")
250250

251-
errRTPTransceiverCannotChangeMid = errors.New("errRTPSenderTrackNil")
251+
errRTPTransceiverCannotChangeMid = errors.New("cannot change transceiver mid")
252252
errRTPTransceiverSetSendingInvalidState = errors.New("invalid state change in RTPTransceiver.setSending")
253253
errRTPTransceiverCodecUnsupported = errors.New("unsupported codec type by this transceiver")
254254

0 commit comments

Comments
 (0)