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
I am against this. In my case RTP/RTCP packets are generated by other parts of the system, and I use pion/srtp to encrypt generated packets. The same case is for receiving, I need to decrypt them to []byte and pass elsewhere for processing.
current:
proposed:
pros:
*rtp.Packet
.Unmarshal
for callers when usertp.Packet
. For example:WriteRTP
.cap(dst) == cap(plaintext)
will avoid an allocation.cons:
Unmarshal
, but net performance is still the same/better.The text was updated successfully, but these errors were encountered: