client: skip tracks with an invalid clock rate (https://github.com/aler9/rtsp-simple-server/issues/832)

This commit is contained in:
aler9
2022-03-15 10:56:37 +01:00
parent 47caa2ed2c
commit e7efb0c405
7 changed files with 61 additions and 51 deletions

View File

@@ -106,14 +106,6 @@ func (e ErrServerSDPInvalid) Error() string {
return fmt.Sprintf("invalid SDP: %v", e.Err)
}
// ErrServerSDPNoTracksDefined is an error that can be returned by a server.
type ErrServerSDPNoTracksDefined struct{}
// Error implements the error interface.
func (e ErrServerSDPNoTracksDefined) Error() string {
return "no tracks defined in the SDP"
}
// ErrServerTransportHeaderInvalid is an error that can be returned by a server.
type ErrServerTransportHeaderInvalid struct {
Err error