LocalTrackReference
type LocalTrackReference = TrackReference | TrackReferenceOrPlaceholder & {
participant: {
identity: string;
name: string;
isLocal: boolean;
attributes: Readonly<Record<string, string>>;
};
source: TrackSource;
publication?: {
isMuted: boolean;
isSubscribed: boolean;
source: TrackSource;
};
isMuted: boolean;
isSpeaking: boolean;
placeholder: boolean;
};Defined in: packages/react/src/hooks/track/useTracks.ts:12
Type Declaration
participant
participant: {
identity: string;
name: string;
isLocal: boolean;
attributes: Readonly<Record<string, string>>;
};participant.identity
identity: string;participant.name
name: string;participant.isLocal
isLocal: boolean;participant.attributes
attributes: Readonly<Record<string, string>>;source
source: TrackSource;publication?
optional publication?: {
isMuted: boolean;
isSubscribed: boolean;
source: TrackSource;
};publication.isMuted
isMuted: boolean;publication.isSubscribed
isSubscribed: boolean;publication.source
source: TrackSource;isMuted
isMuted: boolean;isSpeaking
isSpeaking: boolean;placeholder
placeholder: boolean;