Member Junction
    Preparing search index...

    The PCM frames of one subscribed audio track. VERIFY against @livekit/rtc-node: new AudioStream(track, sampleRate, channels) is a WHATWG ReadableStream (since 0.13.12) with no close(). Iterating it with for await locks it, and a locked stream refuses cancel(), so the client reads it through a reader it keeps and stops it by cancelling that reader. In 0.13.29 neither an unsubscribed track nor leaving the room ends the stream (0.13.32 ends it on unsubscribe).

    interface RtcAudioStream {
        getReader(): RtcAudioStreamReader;
    }
    Index

    Methods

    Methods