microsoft / live-share-sdk

A framework for building collaborative Microsoft Teams and M365 experiences.
Other
95 stars 31 forks source link

[Feature Request]: Expose clientId in ExtendedMediaSessionActionDetails #712

Closed ryanbliss closed 1 year ago

ryanbliss commented 1 year ago

Describe your user scenario

If a developer wants to know which user made a certain useraction or groupaction for MediaPlayerSynchronizer, such as to show a notification when a user pauses/plays/seeks/changes a video, there is no optimal way to do that today. The way that we do that in sample #21 is to duplicate the signals via LiveEvent, which is costly in large meeting scenarios.

Describe the solution you'd like

Expose the clientId that initiated a change via the ExtendedMediaSessionActionDetails interface, so that developers can then do a lookup via the getClientInfo() API.