update docs

This commit is contained in:
aler9
2022-06-23 13:35:57 +02:00
parent 3e3271297c
commit d80977dbae

View File

@@ -15,10 +15,10 @@ type Track interface {
// ClockRate returns the track clock rate. // ClockRate returns the track clock rate.
ClockRate() int ClockRate() int
// GetControl returns the track control. // GetControl returns the track control attribute.
GetControl() string GetControl() string
// SetControl sets the track control. // SetControl sets the track control attribute.
SetControl(string) SetControl(string)
// MediaDescription returns the track media description in SDP format. // MediaDescription returns the track media description in SDP format.
@@ -106,12 +106,12 @@ type trackBase struct {
control string control string
} }
// GetControl gets the track control. // GetControl gets the track control attribute.
func (t *trackBase) GetControl() string { func (t *trackBase) GetControl() string {
return t.control return t.control
} }
// SetControl sets the track control. // SetControl sets the track control attribute.
func (t *trackBase) SetControl(c string) { func (t *trackBase) SetControl(c string) {
t.control = c t.control = c
} }