mirror of
https://github.com/aler9/gortsplib
synced 2025-10-16 12:10:48 +08:00
client: simplify usage of Setup()
This commit is contained in:
@@ -65,14 +65,6 @@ func (e ErrClientContentTypeUnsupported) Error() string {
|
||||
return fmt.Sprintf("unsupported Content-Type header '%v'", e.CT)
|
||||
}
|
||||
|
||||
// ErrClientCannotReadPublishAtSameTime is an error that can be returned by a client.
|
||||
type ErrClientCannotReadPublishAtSameTime struct{}
|
||||
|
||||
// Error implements the error interface.
|
||||
func (e ErrClientCannotReadPublishAtSameTime) Error() string {
|
||||
return "cannot read and publish at the same time"
|
||||
}
|
||||
|
||||
// ErrClientCannotSetupTracksDifferentURLs is an error that can be returned by a client.
|
||||
type ErrClientCannotSetupTracksDifferentURLs struct{}
|
||||
|
||||
|
Reference in New Issue
Block a user