mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
change signature of rtp encoders and decoders
This commit is contained in:
@@ -53,7 +53,8 @@ func main() {
|
||||
}
|
||||
|
||||
// setup RTP->H264 decoder
|
||||
rtpDec := rtph264.NewDecoder()
|
||||
rtpDec := &rtph264.Decoder{}
|
||||
rtpDec.Init()
|
||||
|
||||
// setup H264->raw frames decoder
|
||||
h264dec, err := newH264Decoder()
|
||||
|
Reference in New Issue
Block a user