Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Interface SvamlActionConnectStream

    Determines how to route a call to a Stream/websocket server. Available to use in a response to an Incoming Call Event callback.

    interface SvamlActionConnectStream {
        callHeaders?: CallHeader[];
        destination: DestinationStream;
        maxDuration?: number;
        name: "connectStream";
        streamingOptions?: StreamingOptions;
    }
    Index

    Properties

    callHeaders?: CallHeader[]

    "These custom parameters (headers/messages) are sent to your WebSocket server in the initial message when the ConnectStream is established."

    destination: DestinationStream

    Specifies where to route the Stream call.

    maxDuration?: number

    The max duration of the call in seconds (max 14400 seconds). If the call is still connected at that time, it will be automatically disconnected.

    name: "connectStream"

    The name property. Must have the value connectStream.

    streamingOptions?: StreamingOptions

    StreamingOptions