@fishjam-cloud/js-server-sdk - v0.29.0
    Preparing search index...

    Interface OutputEndCondition

    This type defines when end of an input stream should trigger end of the output stream. Only one of those fields can be set at the time. Unless specified otherwise the input stream is considered finished/ended when:

    • TCP connection was dropped/closed.
    • RTCP Goodbye packet (BYE) was received.
    • Mp4 track has ended.
    • Input was unregistered already (or never registered).

    OutputEndCondition

    interface OutputEndCondition {
        allInputs?: null | boolean;
        allOf?: null | string[];
        anyInput?: null | boolean;
        anyOf?: null | string[];
    }
    Index

    Properties

    allInputs?: null | boolean

    Terminate output stream if all the input streams finish. In particular, output stream will be terminated if no inputs were ever connected.

    OutputEndCondition

    allOf?: null | string[]

    Terminate output stream if all the input streams from the list are finished.

    OutputEndCondition

    anyInput?: null | boolean

    Terminate output stream if any of the input streams ends. This includes streams added after the output was registered. In particular, output stream will not be terminated if no inputs were ever connected.

    OutputEndCondition

    anyOf?: null | string[]

    Terminate output stream if any of the input streams from the list are finished.

    OutputEndCondition