Package version:

Configuration of Media streaming.

interface MediaStreamingOptions {
    audioChannelType: string;
    audioFormat?: string;
    contentType: string;
    enableBidirectional?: boolean;
    startMediaStreaming?: boolean;
    transportType: string;
    transportUrl: string;
}

Properties

audioChannelType: string

Audio channel type to stream, eg. unmixed audio, mixed audio

audioFormat?: string

Specifies the audio format used for encoding, including sample rate and channel type.

contentType: string

Content type to stream, eg. audio

enableBidirectional?: boolean

A value indicating whether bidirectional streaming is enabled.

startMediaStreaming?: boolean

Determines if the media streaming should be started immediately after call is answered or not.

transportType: string

The type of transport to be used for media streaming, eg. Websocket

transportUrl: string

Transport URL for media streaming