CastReceiver errors on first stats update when updated to new code #1760
Labels
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
If we update the cast receiver to the current master, there's an error on the first stats update.
This happens when getting the video stream; this happens because
activeStreams_.hasPeriod
returns true if there's a text track, butStreamUtils.getVariantByStreamIds
gets variants by the video and audio stream Ids. So if we have a text track in a period but no video or audio yet, the returned variant is null. Our code ingetStats
does not account for that possibility.The text was updated successfully, but these errors were encountered: