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

View File

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