Compartilhar via


@microsoft/live-share-media package

Classes

LiveMediaSession

Live fluid object that synchronizes media playback across multiple clients.

LiveMediaSessionCoordinator

The LiveMediaSessionCoordinator tracks the playback & position state of all other clients being synchronized with. It is responsible for keeping the local media player in sync with the group.

LiveMediaSessionCoordinatorSuspension

Suspension object for when group synchronization is suspended for the local user.

MediaPlayerSynchronizer

Synchronizes a local HTML Media Element with a group of remote HTML Media Elements.

MediaSessionActionThrottler

Base class for action throttlers.

RepeatedActionThrottler

A Throttler that passes through all actions but will only let an action be repeated once every 2 seconds.

VolumeManager

Smooth audio level changes when volume is modified, or if volume limiting has started/ended.

Interfaces

CoordinationWaitPoint

Wait point interface for a suspension.

ExtendedMediaMetadata

Metadata for LiveMediaSession.

ExtendedMediaSessionActionDetails

Details for emitted actions from LiveMediaSession.

ExtendedMediaSessionActionHandler
IMediaPlayer

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Microsoft Live Share SDK License.

IMediaPlayerState

Most recent state of the media session.

IMediaPlayerSynchronizerEvent

Event data returned by MediaPlayerSynchronizer object.

MediaSessionCoordinatorSuspension

Suspension object for when group synchronization is suspended for the local user.

Type Aliases

ExtendedMediaSessionAction

Action types supported for LiveMediaSession.

ExtendedMediaSessionActionIgnore

The reasons why an action is ignored.

ExtendedMediaSessionActionSource

The source of the action for LiveMediaSession.

ExtendedMediaSessionPlaybackState

Extended playback state for LiveMediaSession.

Enums

LimitLevelType
MediaPlayerSynchronizerEvents

Events supported by MediaPlayerSynchronizer object.

MediaSessionCoordinatorEvents

Event types of LiveMediaSessionCoordinator.