PlaybackIds
Extends:
events~EventEmitter → src/base.js~Base → PlaybackIds
PlaybackIds Class - Provides access to the Mux Playback ID API
Example:
const { Video } = new Mux(accessToken, secret);
// Retrieve an Asset or Live Stream identifier associated with a Playback ID
Video.PlaybackIds.get(playbackId);
Method Summary
Public Methods | ||
public |
Retrieve an Asset or Live Stream identifier associated with a Playback ID |
Public Methods
public get(playbackId: string): Promise source
Retrieve an Asset or Live Stream identifier associated with a Playback ID
Params:
Name | Type | Attribute | Description |
playbackId | string | The ID for playback |
Example:
const { Video } = new Mux(accessToken, secret);
// Retrieve an Asset or Live Stream identifier associated with a Playback ID
Video.PlaybackIds.get(playbackId);