https://discord.cloudflare.com logo
Join Discord
Powered by
# stream
  • j

    Jonas Dautel | ByteHive

    05/25/2022, 6:41 AM
    so ther error was "connection establisation failed" or along that lines. I check today again and it mostly works now with the same settings. What is still wierd is when i start / stop the channel i do get that still the first few seconds then it retrires and is fine.
  • e

    elithrar

    05/25/2022, 7:03 AM
    Got it. I’ll forward it to the team (who also checks this channel) - they might ask you for an input ID to track down
  • j

    Jonas Dautel | ByteHive

    05/25/2022, 7:05 AM
    perfect thanks !
  • s

    saunas

    05/25/2022, 6:23 PM
    Hello folks, I'm having a hard time finding anything in the docs for how to style captions. Could anyone point me in the right direction? I also posted a question on community: https://community.cloudflare.com/t/how-to-add-custom-caption-styling/386280
  • a

    AlexDicy

    05/26/2022, 6:44 PM
    Any way to get a thumbnail using percentages instead of a specific time without setting it with the API?
  • a

    AlexDicy

    05/26/2022, 6:45 PM
    E.g.
    thumbnails/thumbnail.gif?timePercentage=0.5&duration=5s
  • j

    joshh

    05/28/2022, 10:33 AM
    Which protocol supports sub-second latency for livestreaming and how can I configure the iFrame player to use that one?
  • t

    tt2468

    05/28/2022, 10:40 AM
    I believe the only protocols you can get sub-second latency on are RTMPS and SRT right now.
  • j

    joshh

    05/28/2022, 10:41 AM
    How can I get the player to use SRT?
  • t

    tt2468

    05/28/2022, 10:42 AM
    I don't believe there is a good way to play RTMPS or SRT in browsers right now
  • t

    tt2468

    05/28/2022, 10:43 AM
    And I don't know if low-latency HLS is something that is possible
  • j

    joshh

    05/28/2022, 10:47 AM
    wait then why is this on Cloudflare Stream?
  • j

    joshh

    05/28/2022, 10:49 AM
    Is Dash subsecond? And how can I get the iFrame player to use DASH?
  • t

    tt2468

    05/28/2022, 10:55 AM
    WYM? Stream does more than deliver live video to browsers
  • c

    ChillFish8

    05/28/2022, 11:11 PM
    Generally sub second latency is only really viable with webrtc based stream rn (udp}
  • c

    ChillFish8

    05/28/2022, 11:12 PM
    HLS had a latency of about 30 seconds or so on average, low latency HLS reduces that to about 5s (about RTMP levels) but support isn't great
  • c

    ChillFish8

    05/28/2022, 11:13 PM
    Most other sub second streams involve a udp connection normally which browsers wont support outside of webrtc
  • c

    ChillFish8

    05/28/2022, 11:14 PM
    There is also flv with a delay of about 5s but that's pretty annoying to deal with
  • t

    tt2468

    05/29/2022, 12:25 AM
    You can get pretty reliably low latencies on RTMPS and SRT with stream by using a keyint of 1 second and an ffmpeg probesize of 32
  • t

    tt2468

    05/29/2022, 12:26 AM
    and very low latency by setting your player to -nobuffer and sync ext, but playback is not very smooth
  • c

    ChillFish8

    05/29/2022, 7:31 AM
    Is RTMPS supported in browsers? I thought that was relatively limited outside of using the down very dead flash player.
  • t

    tt2468

    05/29/2022, 7:39 AM
    Browsers do not support RTMPS or SRT
  • i

    Isaac McFadyen | YYZ01

    05/29/2022, 7:38 PM
    If I use JS to detect when a user loses focus on the active window, is there a way via JS to stop playing and all buffering so I don't get billed? I could just save the user's place and remove/add the element but that might get tedious.
  • c

    ChillFish8

    05/29/2022, 8:00 PM
    Is this a regular HTML5 player?
  • c

    ChillFish8

    05/29/2022, 8:00 PM
    or a lib like videojs
  • i

    Isaac McFadyen | YYZ01

    05/29/2022, 10:38 PM
    Stream player 🙂
  • e

    elithrar

    05/30/2022, 5:21 AM
    You can, yes - just call
    player.pause()
    in response to the event(s) you want to handle. The player doesn’t have to handle active tab itself - you can do that.
  • e

    elithrar

    05/30/2022, 5:21 AM
    https://developers.cloudflare.com/stream/viewing-videos/using-the-player-api/#methods
  • e

    elithrar

    05/30/2022, 5:22 AM
    It might be very user hostile to do so (many users switch away, listen in background, etc), but it’s possible
  • e

    elithrar

    05/30/2022, 5:25 AM
    ```js window.addEventListener(“blur”, () => { // maybe pause only after a timeout, etc player.pause() ```…and you can auto-start on the
    focus
    event.
1...242526...105Latest