Norsk logo Developer Documentation
  • Norsk Media Typescript SDK
  • Type Aliases
  • MoqTrackResult
1.4.2-nightly-3021b63f 1.2.1 1.1.0 1.0.402

MoqTrackResult type

The answer to MoqInputSettings.onTrack: the track’s key and language, or refuse it (nothing of it comes out).

Signature:

export type MoqTrackResult = {
    accept: true;
    streamKey?: MoqTrackKey;
    language?: string;
} | {
    accept: false;
    reason?: string;
};

References: MoqTrackKey

MoqRelayStateEvent Mp2Mpeg1MonoBitrate

The source code for this UI is licensed under the terms of the MPL-2.0 license.