You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Unmarshal to used struct
Extensions field was not cleared on Unmarshal and data was appended
to the old extension slice.
This fixes Extensions field to have correct number of data even if
the slice has some data before calling Unmarshal.
Reuse Extensions and CSRC fields.
Fix randoms
- Use seeded mathematical random where uniqueness is needed
but not required to be cryptographic
- Use crypto random where used as a password or credential
Fix AbsSendTime marshal/unmarshal in Packetizer
ID/len byte of AbsSendTime was duplicated
and ID of AbsSendTime extension was always unmarshalled as 0.
(regression from edd47ed)
Fix rtp header extensions marshaling/unmarshaling
* The length in the RTP Header extension is the number of 32 bit words
in the extensions. I.E. with rfc 8285 multiple extensions is the size
of the all the extensions divided by 4.
* The extensions must be be padded to 32-bit boundaries.
* Fix the tests to have a correct raw packet.
* Add some more tests.