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:
Alessandro Ros
2022-12-27 13:43:23 +01:00
committed by GitHub
parent cd8cc2cdb1
commit 91f18ab6d9
53 changed files with 2527 additions and 174 deletions

View File

@@ -296,7 +296,7 @@ func TestDecodeErrors(t *testing.T) {
Payload: []byte{49 << 1, 0x00, 0b01000000},
},
},
"received a non-starting fragmentation unit without any previous fragmentation units",
"received a non-starting fragment without any previous starting fragment",
},
{
"fragmentation unit non-starting 2",