diff --git a/src/specs/VideoNativeComponent.ts b/src/specs/VideoNativeComponent.ts index ea033f13..7b3cd4e9 100644 --- a/src/specs/VideoNativeComponent.ts +++ b/src/specs/VideoNativeComponent.ts @@ -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; diff --git a/src/types/events.ts b/src/types/events.ts index b99aa7ab..027fd5b0 100644 --- a/src/types/events.ts +++ b/src/types/events.ts @@ -54,7 +54,7 @@ export type OnLoadData = Readonly<{ }[]; videoTracks: { index: number; - tracksID?: string; + trackId?: string; codecs?: string; width?: number; height?: number;