Hello all! 🙂 A specific question: In order to watch a stream using cloudflare's palyer (i.e. iframe

Hello all! 🙂
A specific question: In order to watch a stream using cloudflare's palyer (i.e. iframe), is it a requirement that the stream is stored as video?

I wish to be able to play the received video stream in a web browser without storing it for 30 days, only consume it as stream.

Illustration:
return $this->request('post', 'live_inputs', [
    'meta' => ['name' => $name],
    'recording' => [
        // It seems that recording needs to be enabled in order to play
        // the stream as an iframe.
        'mode' => 'automatic',
        'timeoutSeconds' => 1800,
    ],
    'deleteRecordingAfterDays' => 30,
])['result'];

I observed that the iframe would display an error every time I tried to consume the stream through the iframe, unless recording was set to automatic.
Was this page helpful?