mirror of
https://github.com/livekit/livekit.git
synced 2026-03-31 13:15:42 +00:00
* Reduce heap for dependency descriptor in forwarding path. Marshaled dependency descriptor is held in sequencer adding heap objcts. Store DD bytes in sequencer to avoid heap usage. Also, accomodating over sized objects via storing in slice and using it in case the bytes do not fit in the internal array. NOTE: Marshal DD still does a make([]byte...), but I think it should be on the stack given the short use of it. Have to verify. * fix test and also add cases for oversized codec/dd bytes