mirror of
https://github.com/livekit/livekit.git
synced 2026-04-22 00:55:40 +00:00
* Make VP8 packet translation thread-safe. Was using one packet from pool for all VP8 translation which was not thread safe. Grab packets from the pool when needed for VP8 translation and return to pool after done. Do not grab packet from pool if the header size between incoming and translated matches. That also saves copying the packet payload. * Keep Get/Put in the same function.