Skip to content

Commit

Permalink
Merge pull request xqq#187 from suzp1984/fix/base_demuxer_data_avalia…
Browse files Browse the repository at this point in the history
…ble_api

swap audioTrack/videoTrack position in BaseDemuxer.nDataAvailable
  • Loading branch information
xqq committed May 22, 2024
2 parents a98ab4b + 4524bdc commit 4c5e75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/demux/base-demuxer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type OnErrorCallback = (type: string, info: string) => void;
type OnMediaInfoCallback = (mediaInfo: MediaInfo) => void;
type OnMetaDataArrivedCallback = (metadata: any) => void;
type OnTrackMetadataCallback = (type: string, metadata: any) => void;
type OnDataAvailableCallback = (videoTrack: any, audioTrack: any) => void;
type OnDataAvailableCallback = (audioTrack: any, videoTrack: any) => void;
type OnTimedID3MetadataCallback = (timed_id3_data: PESPrivateData) => void;
type OnSynchronousKLVMetadataCallback = (synchronous_klv_data: KLVData) => void;
type OnAsynchronousKLVMetadataCallback = (asynchronous_klv_data: PESPrivateData) => void;
Expand Down

0 comments on commit 4c5e75f

Please sign in to comment.