import type {InputAudioTrack} from 'mediabunny'; import React from 'react'; import {renderHumanReadableAudioCodec} from '~/lib/render-codec-label'; import {Label} from './ui/label'; export const VideoTrackLabel: React.FC<{ readonly trackId: number; readonly totalVideoTracks: number; }> = ({trackId, totalVideoTracks}) => { if (totalVideoTracks === 1) { return ; } return ; }; export const AudioTrackLabel: React.FC<{ readonly trackId: number; readonly totalAudioTracks: number; readonly audioCodec: InputAudioTrack['codec']; }> = ({trackId, totalAudioTracks, audioCodec}) => { if (totalAudioTracks === 1) { return ; } return ( ); };