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
Similar to #84 the packetdumper interceptors pass pointers to rtp.Header around, which can contain byte slices if they contain extensions. These slices can be overwritten by the next incoming packet before the first one was dumped. In that case, the same (later) header extension is dumped twice. I think we can either make a deep copy of the header or format before passing the pointer on to the writer loop. I am not sure which one is more efficient.
The text was updated successfully, but these errors were encountered:
What did you do?
Similar to #84 the packetdumper interceptors pass pointers to
rtp.Header
around, which can contain byte slices if they contain extensions. These slices can be overwritten by the next incoming packet before the first one was dumped. In that case, the same (later) header extension is dumped twice. I think we can either make a deep copy of the header or format before passing the pointer on to the writer loop. I am not sure which one is more efficient.The text was updated successfully, but these errors were encountered: