[GH-ISSUE #60] Cloudflare Stream SRT #24

Open
opened 2026-03-02 03:59:35 +03:00 by kerem · 10 comments
Owner

Originally created by @yasyf on GitHub (Aug 1, 2024).
Original GitHub issue: https://github.com/eerimoq/moblin/issues/60

Hey! Will write up a proper report tomorrow but wanted to quickly note that SRT ingest URLs provided by Cloudflare Stream result in a connect-disconnect loop ad infinitum.

Originally created by @yasyf on GitHub (Aug 1, 2024). Original GitHub issue: https://github.com/eerimoq/moblin/issues/60 Hey! Will write up a proper report tomorrow but wanted to quickly note that SRT ingest URLs provided by Cloudflare Stream result in a connect-disconnect loop ad infinitum.
Author
Owner

@yasyf commented on GitHub (Aug 1, 2024):

Update: with other apps, switching from HEVC to H264 fixes the issue. With moblin however, the server kills the connection each time. I'm guessing there's something being sent that CF doesn't like. Logs attached.

Logs
Version: 0.352.0
Debug: false

3:27:03.787 PM Setting pixel format 420YpCbCr8BiPlanarFullRange
3:27:04.658 PM Thermal state is nominal
3:27:04.822 PM Mic: Bottom
3:27:04.825 PM inputFormat: <AVAudioFormat 0x301e13520:  1 ch,  48000 Hz, Int16>
3:27:04.825 PM outputFormat: <AVAudioFormat 0x301e13570:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:27:04.843 PM Audio bitrate: 128000, maximum: 256000
3:27:04.869 PM Device not ready to zoom
3:27:05.177 PM cosmetics: Got 13 product(s) from App Store
3:27:05.177 PM cosmetics: Update my products from App Store
3:27:43.975 PM Device not ready to zoom
3:27:43.991 PM inputFormat: <AVAudioFormat 0x301f42670:  1 ch,  48000 Hz, Int16>
3:27:43.991 PM outputFormat: <AVAudioFormat 0x301f42e40:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:27:43.992 PM Audio bitrate: 128000, maximum: 256000
3:27:56.330 PM Device not ready to zoom
3:27:56.342 PM inputFormat: <AVAudioFormat 0x301f06ad0:  1 ch,  48000 Hz, Int16>
3:27:56.342 PM outputFormat: <AVAudioFormat 0x301f06170:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:27:56.342 PM Audio bitrate: 128000, maximum: 256000
3:28:00.653 PM stream: Start
3:28:00.654 PM stream: State disconnected -> connecting
3:28:00.655 PM srtla: SRT instead of SRTLA: true
3:28:00.656 PM srtla: Any: Start
3:28:00.656 PM adaptive-bitrate: Using settings AdaptiveBitrateSettings(packetsInFlight: 200, rttDiffHighFactor: 0.9, rttDiffHighAllowedSpike: 50.0, rttDiffHighMinDecrease: 250000, pifDiffIncreaseFactor: 100000, minimumBitrate: 250000)
3:28:00.658 PM srtla: Any: State idle -> socketConnecting
3:28:00.658 PM srtla: Setting connect timer to 6.0 seconds
3:28:00.659 PM srtla: State idle -> waitForRemoteSocketConnected
3:28:00.660 PM srtla: Any: State change to preparing
3:28:00.693 PM srtla: Any: State change to ready
3:28:00.693 PM srtla: Any: State socketConnecting -> registered
3:28:00.694 PM srtla: State waitForRemoteSocketConnected -> waitForLocalSocketListening
3:28:00.696 PM srtla: State waitForLocalSocketListening -> running
3:28:00.697 PM Setting SRT latency to 2000
3:28:00.697 PM Setting SRT maxbw to 0 (follows input)
3:28:00.697 PM Setting SRT oheadbw to 25
3:28:00.825 PM SRT Socket Connected
3:28:00.825 PM ts-writer: Audio setup <AVAudioFormat 0x301f06170:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:28:00.826 PM stream: State connecting -> connected
3:28:03.026 PM SRT Socket Broken
3:28:03.026 PM stream: Disconnected with reason SRT disconnected
3:28:03.030 PM stream: State connected -> disconnected
3:28:03.031 PM srtla: Any: Stop with reason: Stopping stream (67 KB sent)
3:28:03.031 PM srtla: Any: State registered -> idle
3:28:03.032 PM srtla: State running -> idle
3:28:03.032 PM srtla: srtla deinit
3:28:03.033 PM srtla: Any: deinit remote connection
3:28:03.035 PM inputFormat: <AVAudioFormat 0x301fd8e60:  1 ch,  48000 Hz, Int16>
3:28:03.035 PM outputFormat: <AVAudioFormat 0x301fd8cd0:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:28:03.037 PM Audio bitrate: 128000, maximum: 256000
3:28:03.057 PM stream: Disconnected with reason SRT disconnected
3:28:03.057 PM stream: State disconnected -> disconnected
3:28:03.062 PM SRT Socket Not Exist
3:28:06.300 PM stream: Stop
3:28:06.301 PM stream: State disconnected -> disconnected
3:32:25.971 PM Device not ready to zoom
3:32:26.041 PM inputFormat: <AVAudioFormat 0x301ddb1b0:  1 ch,  48000 Hz, Int16>
3:32:26.041 PM outputFormat: <AVAudioFormat 0x301dda6c0:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:32:26.043 PM Audio bitrate: 128000, maximum: 256000
3:32:58.075 PM Device not ready to zoom
3:32:58.101 PM inputFormat: <AVAudioFormat 0x3019dabc0:  1 ch,  48000 Hz, Int16>
3:32:58.101 PM outputFormat: <AVAudioFormat 0x3019dad00:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:32:58.101 PM Audio bitrate: 128000, maximum: 256000
3:33:03.612 PM stream: Start
3:33:03.613 PM stream: State disconnected -> connecting
3:33:03.614 PM srtla: SRT instead of SRTLA: true
3:33:03.614 PM srtla: Any: Start
3:33:03.615 PM srtla: Any: State idle -> socketConnecting
3:33:03.615 PM srtla: Setting connect timer to 6.0 seconds
3:33:03.615 PM srtla: State idle -> waitForRemoteSocketConnected
3:33:03.616 PM adaptive-bitrate: Using settings AdaptiveBitrateSettings(packetsInFlight: 200, rttDiffHighFactor: 0.9, rttDiffHighAllowedSpike: 50.0, rttDiffHighMinDecrease: 250000, pifDiffIncreaseFactor: 100000, minimumBitrate: 250000)
3:33:03.617 PM srtla: Any: State change to preparing
3:33:03.632 PM srtla: Any: State change to ready
3:33:03.632 PM srtla: Any: State socketConnecting -> registered
3:33:03.634 PM srtla: State waitForRemoteSocketConnected -> waitForLocalSocketListening
3:33:03.637 PM srtla: State waitForLocalSocketListening -> running
3:33:03.642 PM Setting SRT latency to 2000
3:33:03.643 PM Setting SRT maxbw to 0 (follows input)
3:33:03.643 PM Setting SRT oheadbw to 25
3:33:03.856 PM SRT Socket Connected
3:33:03.856 PM ts-writer: Audio setup <AVAudioFormat 0x3019dad00:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:33:03.857 PM stream: State connecting -> connected
3:33:06.044 PM SRT Socket Broken
3:33:06.045 PM stream: Disconnected with reason SRT disconnected
3:33:06.048 PM stream: State connected -> disconnected
3:33:06.049 PM srtla: Any: Stop with reason: Stopping stream (67 KB sent)
3:33:06.049 PM srtla: Any: State registered -> idle
3:33:06.049 PM srtla: State running -> idle
3:33:06.049 PM srtla: srtla deinit
3:33:06.050 PM srtla: Any: deinit remote connection
3:33:06.058 PM inputFormat: <AVAudioFormat 0x305d61310:  1 ch,  48000 Hz, Int16>
3:33:06.058 PM outputFormat: <AVAudioFormat 0x305d62da0:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:33:06.059 PM Audio bitrate: 128000, maximum: 256000
3:33:06.080 PM SRT Socket Not Exist
3:33:06.082 PM stream: Disconnected with reason SRT disconnected
3:33:06.082 PM stream: State disconnected -> disconnected
3:33:09.972 PM stream: Stop
3:33:09.973 PM stream: State disconnected -> disconnected
3:33:21.476 PM Device not ready to zoom
3:33:21.491 PM inputFormat: <AVAudioFormat 0x3018851d0:  1 ch,  48000 Hz, Int16>
3:33:21.491 PM outputFormat: <AVAudioFormat 0x301884000:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:33:21.492 PM Audio bitrate: 128000, maximum: 256000
3:33:27.723 PM Device not ready to zoom
3:33:27.747 PM inputFormat: <AVAudioFormat 0x305eb7430:  1 ch,  48000 Hz, Int16>
3:33:27.747 PM outputFormat: <AVAudioFormat 0x3018436b0:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:33:27.748 PM Audio bitrate: 128000, maximum: 256000
3:33:29.282 PM Device not ready to zoom
3:33:29.288 PM inputFormat: <AVAudioFormat 0x305f33070:  1 ch,  48000 Hz, Int16>
3:33:29.289 PM outputFormat: <AVAudioFormat 0x305f31b30:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:33:29.289 PM Audio bitrate: 128000, maximum: 256000
3:34:14.184 PM stream: Start
3:34:14.185 PM stream: State disconnected -> connecting
3:34:14.186 PM srtla: SRT instead of SRTLA: true
3:34:14.186 PM srtla: Any: Start
3:34:14.186 PM adaptive-bitrate: Using settings AdaptiveBitrateSettings(packetsInFlight: 200, rttDiffHighFactor: 0.9, rttDiffHighAllowedSpike: 50.0, rttDiffHighMinDecrease: 250000, pifDiffIncreaseFactor: 100000, minimumBitrate: 250000)
3:34:14.186 PM srtla: Any: State idle -> socketConnecting
3:34:14.186 PM srtla: Setting connect timer to 6.0 seconds
3:34:14.186 PM srtla: State idle -> waitForRemoteSocketConnected
3:34:14.187 PM srtla: Any: State change to preparing
3:34:14.200 PM srtla: Any: State change to ready
3:34:14.200 PM srtla: Any: State socketConnecting -> registered
3:34:14.200 PM srtla: State waitForRemoteSocketConnected -> waitForLocalSocketListening
3:34:14.202 PM srtla: State waitForLocalSocketListening -> running
3:34:14.213 PM Setting SRT latency to 2000
3:34:14.213 PM Setting SRT maxbw to 0 (follows input)
3:34:14.213 PM Setting SRT oheadbw to 25
3:34:14.407 PM SRT Socket Connected
3:34:14.408 PM ts-writer: Audio setup <AVAudioFormat 0x305f31b30:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:34:14.408 PM stream: State connecting -> connected
3:34:16.588 PM SRT Socket Broken
3:34:16.588 PM stream: Disconnected with reason SRT disconnected
3:34:16.589 PM stream: State connected -> disconnected
3:34:16.590 PM srtla: Any: Stop with reason: Stopping stream (144 KB sent)
3:34:16.590 PM srtla: Any: State registered -> idle
3:34:16.590 PM srtla: State running -> idle
3:34:16.590 PM srtla: srtla deinit
3:34:16.591 PM srtla: Any: deinit remote connection
3:34:16.600 PM inputFormat: <AVAudioFormat 0x30184cb40:  1 ch,  48000 Hz, Int16>
3:34:16.600 PM outputFormat: <AVAudioFormat 0x30184c0f0:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:34:16.602 PM Audio bitrate: 128000, maximum: 256000
3:34:16.620 PM stream: Disconnected with reason SRT disconnected
3:34:16.620 PM stream: State disconnected -> disconnected
3:34:16.622 PM SRT Socket Not Exist
3:34:18.609 PM stream: Stop
3:34:18.610 PM stream: State disconnected -> disconnected
3:35:40.215 PM Device not ready to zoom
3:35:40.307 PM inputFormat: <AVAudioFormat 0x305dc9220:  1 ch,  48000 Hz, Int16>
3:35:40.307 PM outputFormat: <AVAudioFormat 0x305dc91d0:  1 ch,  48000 Hz, aac  (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
3:35:40.308 PM Audio bitrate: 128000, maximum: 256000
<!-- gh-comment-id:2264133529 --> @yasyf commented on GitHub (Aug 1, 2024): Update: with other apps, switching from HEVC to H264 fixes the issue. With moblin however, the server kills the connection each time. I'm guessing there's something being sent that CF doesn't like. Logs attached. <details> <summary>Logs</summary> ``` Version: 0.352.0 Debug: false 3:27:03.787 PM Setting pixel format 420YpCbCr8BiPlanarFullRange 3:27:04.658 PM Thermal state is nominal 3:27:04.822 PM Mic: Bottom 3:27:04.825 PM inputFormat: <AVAudioFormat 0x301e13520: 1 ch, 48000 Hz, Int16> 3:27:04.825 PM outputFormat: <AVAudioFormat 0x301e13570: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:27:04.843 PM Audio bitrate: 128000, maximum: 256000 3:27:04.869 PM Device not ready to zoom 3:27:05.177 PM cosmetics: Got 13 product(s) from App Store 3:27:05.177 PM cosmetics: Update my products from App Store 3:27:43.975 PM Device not ready to zoom 3:27:43.991 PM inputFormat: <AVAudioFormat 0x301f42670: 1 ch, 48000 Hz, Int16> 3:27:43.991 PM outputFormat: <AVAudioFormat 0x301f42e40: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:27:43.992 PM Audio bitrate: 128000, maximum: 256000 3:27:56.330 PM Device not ready to zoom 3:27:56.342 PM inputFormat: <AVAudioFormat 0x301f06ad0: 1 ch, 48000 Hz, Int16> 3:27:56.342 PM outputFormat: <AVAudioFormat 0x301f06170: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:27:56.342 PM Audio bitrate: 128000, maximum: 256000 3:28:00.653 PM stream: Start 3:28:00.654 PM stream: State disconnected -> connecting 3:28:00.655 PM srtla: SRT instead of SRTLA: true 3:28:00.656 PM srtla: Any: Start 3:28:00.656 PM adaptive-bitrate: Using settings AdaptiveBitrateSettings(packetsInFlight: 200, rttDiffHighFactor: 0.9, rttDiffHighAllowedSpike: 50.0, rttDiffHighMinDecrease: 250000, pifDiffIncreaseFactor: 100000, minimumBitrate: 250000) 3:28:00.658 PM srtla: Any: State idle -> socketConnecting 3:28:00.658 PM srtla: Setting connect timer to 6.0 seconds 3:28:00.659 PM srtla: State idle -> waitForRemoteSocketConnected 3:28:00.660 PM srtla: Any: State change to preparing 3:28:00.693 PM srtla: Any: State change to ready 3:28:00.693 PM srtla: Any: State socketConnecting -> registered 3:28:00.694 PM srtla: State waitForRemoteSocketConnected -> waitForLocalSocketListening 3:28:00.696 PM srtla: State waitForLocalSocketListening -> running 3:28:00.697 PM Setting SRT latency to 2000 3:28:00.697 PM Setting SRT maxbw to 0 (follows input) 3:28:00.697 PM Setting SRT oheadbw to 25 3:28:00.825 PM SRT Socket Connected 3:28:00.825 PM ts-writer: Audio setup <AVAudioFormat 0x301f06170: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:28:00.826 PM stream: State connecting -> connected 3:28:03.026 PM SRT Socket Broken 3:28:03.026 PM stream: Disconnected with reason SRT disconnected 3:28:03.030 PM stream: State connected -> disconnected 3:28:03.031 PM srtla: Any: Stop with reason: Stopping stream (67 KB sent) 3:28:03.031 PM srtla: Any: State registered -> idle 3:28:03.032 PM srtla: State running -> idle 3:28:03.032 PM srtla: srtla deinit 3:28:03.033 PM srtla: Any: deinit remote connection 3:28:03.035 PM inputFormat: <AVAudioFormat 0x301fd8e60: 1 ch, 48000 Hz, Int16> 3:28:03.035 PM outputFormat: <AVAudioFormat 0x301fd8cd0: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:28:03.037 PM Audio bitrate: 128000, maximum: 256000 3:28:03.057 PM stream: Disconnected with reason SRT disconnected 3:28:03.057 PM stream: State disconnected -> disconnected 3:28:03.062 PM SRT Socket Not Exist 3:28:06.300 PM stream: Stop 3:28:06.301 PM stream: State disconnected -> disconnected 3:32:25.971 PM Device not ready to zoom 3:32:26.041 PM inputFormat: <AVAudioFormat 0x301ddb1b0: 1 ch, 48000 Hz, Int16> 3:32:26.041 PM outputFormat: <AVAudioFormat 0x301dda6c0: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:32:26.043 PM Audio bitrate: 128000, maximum: 256000 3:32:58.075 PM Device not ready to zoom 3:32:58.101 PM inputFormat: <AVAudioFormat 0x3019dabc0: 1 ch, 48000 Hz, Int16> 3:32:58.101 PM outputFormat: <AVAudioFormat 0x3019dad00: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:32:58.101 PM Audio bitrate: 128000, maximum: 256000 3:33:03.612 PM stream: Start 3:33:03.613 PM stream: State disconnected -> connecting 3:33:03.614 PM srtla: SRT instead of SRTLA: true 3:33:03.614 PM srtla: Any: Start 3:33:03.615 PM srtla: Any: State idle -> socketConnecting 3:33:03.615 PM srtla: Setting connect timer to 6.0 seconds 3:33:03.615 PM srtla: State idle -> waitForRemoteSocketConnected 3:33:03.616 PM adaptive-bitrate: Using settings AdaptiveBitrateSettings(packetsInFlight: 200, rttDiffHighFactor: 0.9, rttDiffHighAllowedSpike: 50.0, rttDiffHighMinDecrease: 250000, pifDiffIncreaseFactor: 100000, minimumBitrate: 250000) 3:33:03.617 PM srtla: Any: State change to preparing 3:33:03.632 PM srtla: Any: State change to ready 3:33:03.632 PM srtla: Any: State socketConnecting -> registered 3:33:03.634 PM srtla: State waitForRemoteSocketConnected -> waitForLocalSocketListening 3:33:03.637 PM srtla: State waitForLocalSocketListening -> running 3:33:03.642 PM Setting SRT latency to 2000 3:33:03.643 PM Setting SRT maxbw to 0 (follows input) 3:33:03.643 PM Setting SRT oheadbw to 25 3:33:03.856 PM SRT Socket Connected 3:33:03.856 PM ts-writer: Audio setup <AVAudioFormat 0x3019dad00: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:33:03.857 PM stream: State connecting -> connected 3:33:06.044 PM SRT Socket Broken 3:33:06.045 PM stream: Disconnected with reason SRT disconnected 3:33:06.048 PM stream: State connected -> disconnected 3:33:06.049 PM srtla: Any: Stop with reason: Stopping stream (67 KB sent) 3:33:06.049 PM srtla: Any: State registered -> idle 3:33:06.049 PM srtla: State running -> idle 3:33:06.049 PM srtla: srtla deinit 3:33:06.050 PM srtla: Any: deinit remote connection 3:33:06.058 PM inputFormat: <AVAudioFormat 0x305d61310: 1 ch, 48000 Hz, Int16> 3:33:06.058 PM outputFormat: <AVAudioFormat 0x305d62da0: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:33:06.059 PM Audio bitrate: 128000, maximum: 256000 3:33:06.080 PM SRT Socket Not Exist 3:33:06.082 PM stream: Disconnected with reason SRT disconnected 3:33:06.082 PM stream: State disconnected -> disconnected 3:33:09.972 PM stream: Stop 3:33:09.973 PM stream: State disconnected -> disconnected 3:33:21.476 PM Device not ready to zoom 3:33:21.491 PM inputFormat: <AVAudioFormat 0x3018851d0: 1 ch, 48000 Hz, Int16> 3:33:21.491 PM outputFormat: <AVAudioFormat 0x301884000: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:33:21.492 PM Audio bitrate: 128000, maximum: 256000 3:33:27.723 PM Device not ready to zoom 3:33:27.747 PM inputFormat: <AVAudioFormat 0x305eb7430: 1 ch, 48000 Hz, Int16> 3:33:27.747 PM outputFormat: <AVAudioFormat 0x3018436b0: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:33:27.748 PM Audio bitrate: 128000, maximum: 256000 3:33:29.282 PM Device not ready to zoom 3:33:29.288 PM inputFormat: <AVAudioFormat 0x305f33070: 1 ch, 48000 Hz, Int16> 3:33:29.289 PM outputFormat: <AVAudioFormat 0x305f31b30: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:33:29.289 PM Audio bitrate: 128000, maximum: 256000 3:34:14.184 PM stream: Start 3:34:14.185 PM stream: State disconnected -> connecting 3:34:14.186 PM srtla: SRT instead of SRTLA: true 3:34:14.186 PM srtla: Any: Start 3:34:14.186 PM adaptive-bitrate: Using settings AdaptiveBitrateSettings(packetsInFlight: 200, rttDiffHighFactor: 0.9, rttDiffHighAllowedSpike: 50.0, rttDiffHighMinDecrease: 250000, pifDiffIncreaseFactor: 100000, minimumBitrate: 250000) 3:34:14.186 PM srtla: Any: State idle -> socketConnecting 3:34:14.186 PM srtla: Setting connect timer to 6.0 seconds 3:34:14.186 PM srtla: State idle -> waitForRemoteSocketConnected 3:34:14.187 PM srtla: Any: State change to preparing 3:34:14.200 PM srtla: Any: State change to ready 3:34:14.200 PM srtla: Any: State socketConnecting -> registered 3:34:14.200 PM srtla: State waitForRemoteSocketConnected -> waitForLocalSocketListening 3:34:14.202 PM srtla: State waitForLocalSocketListening -> running 3:34:14.213 PM Setting SRT latency to 2000 3:34:14.213 PM Setting SRT maxbw to 0 (follows input) 3:34:14.213 PM Setting SRT oheadbw to 25 3:34:14.407 PM SRT Socket Connected 3:34:14.408 PM ts-writer: Audio setup <AVAudioFormat 0x305f31b30: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:34:14.408 PM stream: State connecting -> connected 3:34:16.588 PM SRT Socket Broken 3:34:16.588 PM stream: Disconnected with reason SRT disconnected 3:34:16.589 PM stream: State connected -> disconnected 3:34:16.590 PM srtla: Any: Stop with reason: Stopping stream (144 KB sent) 3:34:16.590 PM srtla: Any: State registered -> idle 3:34:16.590 PM srtla: State running -> idle 3:34:16.590 PM srtla: srtla deinit 3:34:16.591 PM srtla: Any: deinit remote connection 3:34:16.600 PM inputFormat: <AVAudioFormat 0x30184cb40: 1 ch, 48000 Hz, Int16> 3:34:16.600 PM outputFormat: <AVAudioFormat 0x30184c0f0: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:34:16.602 PM Audio bitrate: 128000, maximum: 256000 3:34:16.620 PM stream: Disconnected with reason SRT disconnected 3:34:16.620 PM stream: State disconnected -> disconnected 3:34:16.622 PM SRT Socket Not Exist 3:34:18.609 PM stream: Stop 3:34:18.610 PM stream: State disconnected -> disconnected 3:35:40.215 PM Device not ready to zoom 3:35:40.307 PM inputFormat: <AVAudioFormat 0x305dc9220: 1 ch, 48000 Hz, Int16> 3:35:40.307 PM outputFormat: <AVAudioFormat 0x305dc91d0: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame> 3:35:40.308 PM Audio bitrate: 128000, maximum: 256000 ``` </details>
Author
Owner

@eerimoq commented on GitHub (Aug 2, 2024):

What is the URL?

<!-- gh-comment-id:2264474573 --> @eerimoq commented on GitHub (Aug 2, 2024): What is the URL?
Author
Owner

@yasyf commented on GitHub (Aug 2, 2024):

@eerimoq srt://live.cloudflare.com:778?passphrase=xxx&streamid=xxx, I can give you an example one if helpful

<!-- gh-comment-id:2264896842 --> @yasyf commented on GitHub (Aug 2, 2024): @eerimoq `srt://live.cloudflare.com:778?passphrase=xxx&streamid=xxx`, I can give you an example one if helpful
Author
Owner

@yasyf commented on GitHub (Aug 2, 2024):

emailed one to you

<!-- gh-comment-id:2264903534 --> @yasyf commented on GitHub (Aug 2, 2024): emailed one to you
Author
Owner

@eerimoq commented on GitHub (Aug 2, 2024):

I've never tested with a passphrase. Maybe that is the problem.

<!-- gh-comment-id:2265781016 --> @eerimoq commented on GitHub (Aug 2, 2024): I've never tested with a passphrase. Maybe that is the problem.
Author
Owner

@QayyoomArieff commented on GitHub (Sep 5, 2024):

I can confirm that using SRT with a passphrase results in very choppy and unwatchable video. When I remove the passphrase, the video becomes clear and viewable

<!-- gh-comment-id:2330719116 --> @QayyoomArieff commented on GitHub (Sep 5, 2024): I can confirm that using SRT with a passphrase results in very choppy and unwatchable video. When I remove the passphrase, the video becomes clear and viewable
Author
Owner

@thexeos commented on GitHub (Oct 14, 2024):

I can also confirm that connection can't be established when using the passphrase and that Cloudflare SRT endpoint won't connect without the passphrase.

<!-- gh-comment-id:2412530415 --> @thexeos commented on GitHub (Oct 14, 2024): I can also confirm that connection can't be established when using the passphrase and that Cloudflare SRT endpoint won't connect without the passphrase.
Author
Owner

@eerimoq commented on GitHub (Oct 15, 2024):

I’m not looking into this right now, sorry

<!-- gh-comment-id:2412945184 --> @eerimoq commented on GitHub (Oct 15, 2024): I’m not looking into this right now, sorry
Author
Owner

@joshjaggard commented on GitHub (Oct 21, 2025):

I know it's been a while since this has been opened, but I'm currently testing Moblin with a streaming service using Cloudflare Stream for the SRT endpoint. I ran into this issue and found this thread - just curious if there were ever any findings around this or plans to implement the ability for a passphrase?

<!-- gh-comment-id:3429518418 --> @joshjaggard commented on GitHub (Oct 21, 2025): I know it's been a while since this has been opened, but I'm currently testing Moblin with a streaming service using Cloudflare Stream for the SRT endpoint. I ran into this issue and found this thread - just curious if there were ever any findings around this or plans to implement the ability for a passphrase?
Author
Owner

@eerimoq commented on GitHub (Oct 22, 2025):

no finding no. nobody looked into it

<!-- gh-comment-id:3433438215 --> @eerimoq commented on GitHub (Oct 22, 2025): no finding no. nobody looked into it
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/moblin#24
No description provided.