mirror of
https://github.com/aler9/gortsplib
synced 2025-10-16 12:10:48 +08:00
update docs (#203)
This commit is contained in:
@@ -61,7 +61,7 @@ type Generic struct {
|
||||
ClockRat int
|
||||
}
|
||||
|
||||
// Init initializes a Generic.
|
||||
// Init computes the clock rate of the format. It it mandatory to call it.
|
||||
func (t *Generic) Init() error {
|
||||
t.ClockRat, _ = findClockRate(t.PayloadTyp, t.RTPMap)
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user