You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run pion with unsupported codec at remote? I'm not sure how to pin point the problem
What did you expect?
ignore error and continue running
What happened?
nil pointer dereference and panic
Temporary solution
Right now, I added a check for rtcpinterceptor to be nil before returning, this is not ideal as I need to modify the source code
// readRTP should only be called by a track, this only exists so we can keep state in one place
func (r *RTPReceiver) readRTP(b []byte, reader *TrackRemote) (n int, a interceptor.Attributes, err error) {
<-r.received
if t := r.streamsForTrack(reader); t != nil {
if t.rtcpInterceptor == nil {
return 0, nil, nil
}
return t.rtpInterceptor.Read(b, a)
}
return 0, nil, fmt.Errorf("%w: %d", errRTPReceiverWithSSRCTrackStreamNotFound, reader.SSRC())
}
The text was updated successfully, but these errors were encountered:
Your environment.
What did you do?
Run pion with unsupported codec at remote? I'm not sure how to pin point the problem
What did you expect?
ignore error and continue running
What happened?
nil pointer dereference and panic
Temporary solution
Right now, I added a check for rtcpinterceptor to be nil before returning, this is not ideal as I need to modify the source code
The text was updated successfully, but these errors were encountered: