1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-14 20:55:57 +01:00
Commit graph

9 commits

Author SHA1 Message Date
Juliusz Chroboczek
06a0a2c36e Handle empty VP8 headers.
Only the first byte of the VP8 header is mandatory, but we
used to reject packets smaller than 4 bytes.  The major part
of the fix is actually in pion/rtp.
2023-01-09 19:52:57 +01:00
Juliusz Chroboczek
40bf93cdd0 Consistently use SPS for detecting H.264 keyframes.
This was already the case for FU NALUs, but not for simple NALUs.
2022-05-04 18:26:22 +02:00
Juliusz Chroboczek
fc9f28fd68 Minor cleanups. 2022-04-23 18:43:01 +02:00
Juliusz Chroboczek
6fbdf0eab2 Use the new MIME type for AV1.
Chromium 91 and later uses "AV1" instead of "AV1X".  Simulcast is
still broken.
2022-01-04 13:09:07 +01:00
Juliusz Chroboczek
18b5b6cb6d Fix rewriting of VP9. 2021-08-06 13:34:51 +02:00
Juliusz Chroboczek
d96a48f805 Don't rewrite PID for VP9.
Rewriting is not useful for VP9, and even harmful, as it breaks the
offsets in the scalability structure.
2021-08-03 22:51:14 +02:00
Juliusz Chroboczek
4f7be19644 Implement pid and mark rewriting for VP9, fix VP9 sync bits.
The sync bits were incorrect.  In addition, we need to set the
marker at the new end of the frame when doing spatial decimation.
2021-08-03 13:09:43 +02:00
Juliusz Chroboczek
7d29ef5a64 Make disk writer use the codecs package.
Instead of testing whether a sample is a keyframe, we test at the
packet level, then compare timestamps to identify the keyframe.
2021-07-29 23:07:08 +02:00
Juliusz Chroboczek
89780b866b Move packet parsing code into its own package. 2021-07-29 21:30:39 +02:00
Renamed from rtpconn/codec.go (Browse further)