@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

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

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
ExtendedMediaMetadata
ExtendedMediaSessionActionDetails
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

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

Type Aliases

ExtendedMediaSessionAction
ExtendedMediaSessionPlaybackState
MediaSessionCoordinatorState

Enums

LimitLevelType
MediaPlayerSynchronizerEvents

Events supported by MediaPlayerSynchronizer object.

MediaSessionCoordinatorEvents