mirror of
https://github.com/livekit/livekit.git
synced 2026-05-19 04:35:34 +00:00
507fc9cf76
This happens due to improper track type. One possible option is to check the mime type of the track and calculate the size, but there are other places in the code which work off provided track type. So, just doing a defensive fix. Have to review code for all uses of type and how it affects things if client provides incorrect type.