Gets the participant's attributes.
A read-only record of the participant's attributes.
Gets the participant's audio level.
The audio level as a number.
Sets the participant's audio level.
The audio level to set.
Gets the audio track publications associated with the local participant.
A map of track SIDs to FFCLocalTrackPublication instances for audio tracks.
Gets the participant's connection quality.
The connection quality as an FFCConnectionQuality instance.
Gets the participant's identity.
The participant's identity as a string.
Indicates whether the participant is an agent.
true if the participant is an agent, otherwise false.
Indicates whether the participant's camera is enabled.
true if the camera is enabled, otherwise false.
Indicates whether end-to-end encryption (E2EE) is enabled for the participant.
true if E2EE is enabled, otherwise false.
Indicates whether the participant's media is encrypted.
true if the participant's media is encrypted, otherwise false.
Indicates whether the participant is local.
true because this is a local participant.
Indicates whether the participant's microphone is enabled.
true if the microphone is enabled, otherwise false.
Indicates whether the participant's screen sharing is enabled.
true if screen sharing is enabled, otherwise false.
Indicates whether the participant is currently speaking.
true if the participant is speaking, otherwise false.
Gets the date and time when the participant joined.
A Date object representing the join time, or undefined if not available.
Gets the kind of the participant (e.g., user, bot).
The participant's kind as an FFCParticipantKind instance.
Gets the last error encountered while accessing the camera.
An Error instance, or undefined if no error occurred.
Gets the last error encountered while accessing the microphone.
An Error instance, or undefined if no error occurred.
Gets the date and time when the participant last spoke.
A Date object representing the last time the participant spoke, or undefined if not available.
Gets the participant's metadata.
The participant's metadata as a string, or undefined if not set.
Gets the participant's name.
The participant's name as a string, or undefined if not set.
Gets the participant's permissions.
The participant's permissions as an FFCParticipantPermission instance, or undefined if not set.
Gets the participant's unique session identifier (SID).
The participant's SID as a string.
Gets all track publications associated with the local participant.
A map of track SIDs to FFCLocalTrackPublication instances.
Gets the video track publications associated with the local participant.
A map of track SIDs to FFCLocalTrackPublication instances for video tracks.
Creates screen sharing tracks for the participant.
Optionalopts: FFCScreenShareCaptureOptions(Optional) Screen share capture options.
A promise that resolves to an array of FFCLocalTrack instances.
Creates local tracks for the participant.
Optionalopts: FFCCreateLocalTracksOptions(Optional) Options for creating local tracks.
A promise that resolves to an array of FFCLocalTrack instances.
Enables both the camera and microphone for the participant.
A promise that resolves when both are enabled.
Gets a track publication by its source.
The source of the track as FFCTrack.Source.
The track publication as an FFCLocalTrackPublication instance, or undefined if not found.
Gets a track publication by its name.
The name of the track.
The track publication as an FFCLocalTrackPublication instance, or undefined if not found.
Gets all track publications associated with the participant.
An array of FFCConnectionQuality instances.
Publishes a track for the participant.
The track to publish, either as an FFCLocalTrack or a MediaStreamTrack.
Optionalopts: FFCTrackPublishOptions(Optional) Track publishing options.
A promise that resolves to the track publication.
Republishes all tracks for the participant.
Optionalopts: FFCTrackPublishOptions(Optional) Track publishing options.
(Optional) Whether to restart the tracks before republishing. Defaults to true.
A promise that resolves when all tracks are republished.
Sets the attributes for the participant.
A record of attributes to set.
A promise that resolves when the attributes are set.
Enables or disables the participant's camera.
true to enable the camera, false to disable it.
Optionalopts: FFCVideoCaptureOptions(Optional) Video capture options.
OptionalpublishOpts: FFCTrackPublishOptions(Optional) Track publishing options.
A promise that resolves to the track publication, or undefined if not available.
Sets the metadata for the participant.
The metadata to set as a string.
A promise that resolves when the metadata is set.
Enables or disables the participant's microphone.
true to enable the microphone, false to disable it.
Optionalopts: FFCAudioCaptureOptions(Optional) Audio capture options.
OptionalpublishOpts: FFCTrackPublishOptions(Optional) Track publishing options.
A promise that resolves to the track publication, or undefined if not available.
Sets the name of the participant.
The name to set as a string.
A promise that resolves when the name is set.
Enables or disables screen sharing for the participant.
true to enable screen sharing, false to disable it.
Optionalopts: FFCScreenShareCaptureOptions(Optional) Screen share capture options.
OptionalpublishOpts: FFCTrackPublishOptions(Optional) Track publishing options.
A promise that resolves to the track publication, or undefined if not available.
Sets track subscription permissions for the participant.
Whether all participants are allowed to subscribe to the tracks.
An array of track permissions for specific participants.
Unpublishes a track for the participant.
The track to unpublish, either as an FFCLocalTrack or a MediaStreamTrack.
OptionalstopOnUnpublish: boolean(Optional) Whether to stop the track when it is unpublished.
A promise that resolves to the unpublished track publication, or undefined if not available.
Unpublishes multiple tracks for the participant.
An array of tracks to unpublish, either as FFCLocalTrack or MediaStreamTrack instances.
A promise that resolves to an array of unpublished track publications.
The
FFCLocalParticipantclass represents a local participant in the FlipFlopCloud SDK. It extends theFFCParticipantclass and provides additional functionality specific to local participants.