From f38717778515b06c462fe75dcd94d2cce5ba3f95 Mon Sep 17 00:00:00 2001 From: Harang Date: Sun, 23 Nov 2025 21:47:56 +0900 Subject: [PATCH] fix(android): correct videoTrack type definitions to match Android implementation (#4778) --- src/specs/VideoNativeComponent.ts | 4 ++-- src/types/events.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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;