fix(android): correct videoTrack type definitions to match Android implementation (#4778)

This commit is contained in:
Harang
2025-11-23 21:47:56 +09:00
committed by GitHub
parent 9d3ca8fd55
commit f387177785
2 changed files with 3 additions and 3 deletions

View File

@@ -197,7 +197,7 @@ export type OnBandwidthUpdateData = Readonly<{
bitrate: Int32; bitrate: Int32;
width?: Float; width?: Float;
height?: Float; height?: Float;
trackId?: Int32; trackId?: string;
}>; }>;
export type OnSeekData = Readonly<{ export type OnSeekData = Readonly<{
@@ -248,7 +248,7 @@ export type OnTextTrackDataChangedData = Readonly<{
export type OnVideoTracksData = Readonly<{ export type OnVideoTracksData = Readonly<{
videoTracks: { videoTracks: {
index: Int32; index: Int32;
tracksId?: string; trackId?: string;
codecs?: string; codecs?: string;
width?: Float; width?: Float;
height?: Float; height?: Float;

View File

@@ -54,7 +54,7 @@ export type OnLoadData = Readonly<{
}[]; }[];
videoTracks: { videoTracks: {
index: number; index: number;
tracksID?: string; trackId?: string;
codecs?: string; codecs?: string;
width?: number; width?: number;
height?: number; height?: number;