mirror of
https://github.com/aler9/gortsplib
synced 2025-10-19 05:24:44 +08:00
add MP4A-LATM decoder and encoder (#299)
This commit is contained in:
@@ -45,8 +45,9 @@ type Decoder struct {
|
||||
}
|
||||
|
||||
// Init initializes the decoder.
|
||||
func (d *Decoder) Init() {
|
||||
func (d *Decoder) Init() error {
|
||||
d.timeDecoder = rtptime.NewDecoder(90000)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Decode decodes OBUs from a RTP packet.
|
||||
|
Reference in New Issue
Block a user