mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 23:26:54 +08:00
server: remove SetuppedTracksLen()
This commit is contained in:
@@ -190,11 +190,6 @@ func (sc *ServerConn) SetuppedTracksProtocol() *StreamProtocol {
|
|||||||
return sc.setuppedTracksProtocol
|
return sc.setuppedTracksProtocol
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetuppedTracksLen returns the number of setupped tracks.
|
|
||||||
func (sc *ServerConn) SetuppedTracksLen() int {
|
|
||||||
return len(sc.setuppedTracks)
|
|
||||||
}
|
|
||||||
|
|
||||||
// HasSetuppedTrack checks whether a track has been setup.
|
// HasSetuppedTrack checks whether a track has been setup.
|
||||||
func (sc *ServerConn) HasSetuppedTrack(trackID int) bool {
|
func (sc *ServerConn) HasSetuppedTrack(trackID int) bool {
|
||||||
_, ok := sc.setuppedTracks[trackID]
|
_, ok := sc.setuppedTracks[trackID]
|
||||||
|
Reference in New Issue
Block a user