mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
Add RTP/MJPEG decoder and encoder (#165)
* rename format.JPEG into format.MJPEG * add examples/client-publish-format-mjpeg * add rtp/mjpeg decoder and encoder
This commit is contained in:
@@ -57,6 +57,7 @@ func main() {
|
||||
// decode MPEG4-audio AUs from the RTP packet
|
||||
aus, _, err := rtpDec.Decode(pkt)
|
||||
if err != nil {
|
||||
log.Printf("ERR: %v", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user