Reference Source Test
public class | source

PlaybackIds

Extends:

events~EventEmittersrc/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);

Test:

Method Summary

Public Methods
public

get(playbackId: string): Promise

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:

NameTypeAttributeDescription
playbackId string

The ID for playback

Return:

Promise

Returns a resolved Promise with a response from the Mux API

Example:

const { Video } = new Mux(accessToken, secret);

// Retrieve an Asset or Live Stream identifier associated with a Playback ID
Video.PlaybackIds.get(playbackId);

Test:

See: