mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 15:46:51 +08:00
remove deprecated function (#420)
This commit is contained in:
@@ -43,13 +43,6 @@ func (f *Speex) Codec() string {
|
|||||||
return "Speex"
|
return "Speex"
|
||||||
}
|
}
|
||||||
|
|
||||||
// String implements Format.
|
|
||||||
//
|
|
||||||
// Deprecated: replaced by Codec().
|
|
||||||
func (f *Speex) String() string {
|
|
||||||
return f.Codec()
|
|
||||||
}
|
|
||||||
|
|
||||||
// ClockRate implements Format.
|
// ClockRate implements Format.
|
||||||
func (f *Speex) ClockRate() int {
|
func (f *Speex) ClockRate() int {
|
||||||
return f.SampleRate
|
return f.SampleRate
|
||||||
|
Reference in New Issue
Block a user