fix(android)!: rework video tracks management (#3778)

* fix: fix crash when invalid index type is provided and minor clean up
* fix: review video track management. Fix index support and rework string vs int in tracks management
* fix: ABR track selection check
* fix: split track selector in sample and lint code
* fix: ensure we don't report null fields
* chore: improve tracks displayed
* chore: start moving to selection by index only
This commit is contained in:
Olivier Bouillet
2024-05-22 14:01:55 +02:00
committed by GitHub
parent dbd7d7aa2c
commit cad5c4624c
15 changed files with 530 additions and 288 deletions

View File

@@ -225,7 +225,8 @@ export type OnTextTrackDataChangedData = Readonly<{
export type OnVideoTracksData = Readonly<{
videoTracks: {
trackId: Int32;
index: Int32;
tracksId?: string;
codecs?: string;
width?: Float;
height?: Float;