mirror of
https://github.com/aler9/gortsplib
synced 2025-10-16 04:00:46 +08:00
update docs
This commit is contained in:
10
track.go
10
track.go
@@ -14,14 +14,14 @@ import (
|
||||
type Track interface {
|
||||
// ClockRate returns the track clock rate.
|
||||
ClockRate() int
|
||||
clone() Track
|
||||
// GetControl returns the track control
|
||||
// GetControl returns the track control.
|
||||
GetControl() string
|
||||
// SetControl returns the track control
|
||||
// SetControl sets the track control.
|
||||
SetControl(string)
|
||||
url(*base.URL) (*base.URL, error)
|
||||
// MediaDescription returns structured SDP media information
|
||||
// MediaDescription returns the media description in SDP format.
|
||||
MediaDescription() *psdp.MediaDescription
|
||||
clone() Track
|
||||
url(*base.URL) (*base.URL, error)
|
||||
}
|
||||
|
||||
func newTrackFromMediaDescription(md *psdp.MediaDescription) (Track, error) {
|
||||
|
Reference in New Issue
Block a user