voicebot-react-native-expo
Version:
This is a voicebot-react-native package of Kipps AI voice bot for React Native Expo
9 lines • 550 B
TypeScript
import { TrackReference } from '@livekit/components-core';
import { Track } from 'livekit-client';
/**
* `useParticipantTracks` is a custom React that allows you to get tracks of a specific participant only, by specifiying the participant's identity.
* If the participant identity is not passed the hook will try to get the participant from a participant context.
* @public
*/
export declare function useParticipantTracks(sources: Track.Source[], participantIdentity?: string): TrackReference[];
//# sourceMappingURL=useParticipantTracks.d.ts.map