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

    Isaac McFadyen | YYZ01

    05/13/2022, 4:14 PM
    You can always use your own player.
  • i

    Isaac McFadyen | YYZ01

    05/13/2022, 4:14 PM
    https://developers.cloudflare.com/stream/viewing-videos/using-own-player/
  • e

    elithrar

    05/13/2022, 4:19 PM
    Players also just have to do a lot — Shaka player, without controls, is 392K uncompressed (109KB Brotli'ed).
  • i

    Isaac McFadyen | YYZ01

    05/13/2022, 4:56 PM
    Out of curiosity (I don't know much about HLS haha) does the built-in
    <video/>
    work with m3u8 or dash?
  • i

    Isaac McFadyen | YYZ01

    05/13/2022, 4:57 PM
    Just wondering because I have a situation where the user doesn't really need to control a video (aside from pause-play which I can implement via JS) but I'd still like HLS.
  • r

    rrnn

    05/13/2022, 5:13 PM
    Only in certain browsers HLS does. Key example is iOS Safari. Some others too but not Chrome or FF
  • e

    elithrar

    05/13/2022, 5:33 PM
    The
    <video>
    tag doesn't give you any adaptive bitrate — so you have to load one quality and trade-off quality vs. client bandwidth — and so it's very limited vs. a full player. It's really only great for super-short videos.
  • i

    Isaac McFadyen | YYZ01

    05/13/2022, 5:34 PM
    Would you recommend using the player and just turning off controls somehow?
  • i

    Isaac McFadyen | YYZ01

    05/13/2022, 5:34 PM
    (for HLS)
  • e

    elithrar

    05/13/2022, 6:00 PM
    https://developers.cloudflare.com/stream/viewing-videos/using-the-player-api/#properties - see
    controls (boolean)
    😉
  • i

    Isaac McFadyen | YYZ01

    05/13/2022, 6:02 PM
    😮 I didn't even look at the docs for the player
  • i

    Isaac McFadyen | YYZ01

    05/13/2022, 6:02 PM
    🤦‍♂️ Thanks
  • i

    Isaac McFadyen | YYZ01

    05/13/2022, 6:03 PM
    Nice player BTW. Looks great.
  • i

    Isaac McFadyen | YYZ01

    05/14/2022, 6:36 PM
    Quick Stream question.
  • i

    Isaac McFadyen | YYZ01

    05/14/2022, 6:36 PM
    If SRT is sent and RTMPS is used to receive, is SRT support required on the receiving client as well?
  • t

    tt2468

    05/14/2022, 9:57 PM
    You are supposed to be able to input as RTMP or SRT and pull down as either.
  • t

    tt2468

    05/14/2022, 9:58 PM
    I've sent RTMPS and pulled down SRT, and sent SRT and pulled down RTMPS
  • i

    Isaac McFadyen | YYZ01

    05/14/2022, 9:58 PM
    Yup, just wondering if my client (compiled without
    --enable-libsrt
    ) can receive over RTMPS when the other device is sending as SRT.
  • t

    tt2468

    05/14/2022, 9:59 PM
    Yes
  • t

    tt2468

    05/14/2022, 10:00 PM
    Stream transmuxes between them. With RTMPS you get FLV container and with SRT you get mpeg-ts, so they're pretty much entirely unrelated
  • t

    tt2468

    05/14/2022, 10:00 PM
    I'm waiting for a few bugs to be fixed by CF then in my implementation I plan to always pull as SRT, then give my users the option to send as either
  • t

    tt2468

    05/14/2022, 10:01 PM
    It's a nifty set up for allowing support for both protocols
  • v

    v8

    05/15/2022, 1:20 AM
    Is stream still only 1080p 30fps or is it higher res and fps now?
  • p

    phil.linnell

    05/16/2022, 1:09 PM
    Hi. I tried out stream for my site last month naively thinking that the $5 per month was the total I would pay. My site has a silent video as a poster (about 10 seconds long). I ended up with a bigger bill because I hadn't realised that as the video was "streamed" then just having a couple of tabs open with the video running on my computer meant I racked up an inordinate amount of minutes 😄 Am I using Stream wrong? Or should I just not be using it for such situations? Is there somewhere I can host video (much like Vimeo)? Thanks
  • k

    kian

    05/16/2022, 1:10 PM
    Stream is billed on 'minutes delivered' so probably not the best for that use-case haha
  • p

    phil.linnell

    05/16/2022, 1:20 PM
    Ha, as I was beginning to suspect.
  • z

    zegevlier

    05/16/2022, 1:31 PM
    If it's a very small video file, you will probably be able to get away with serving it manually (serving the raw file, not using stream). The CF TOS forbids a disproportionate amount of non-html content, but a very short video will probably be fine, especially if it's delivered in a modern format. Keep in mind this is not legal advice, of course
  • p

    phil.linnell

    05/16/2022, 1:51 PM
    Thanks for this. A definite consideration for such small video files. However, I have other videos that are 10 minutes. Does CF have a large asset CDN? Ultimately I would do my own encoding but serve the files from CF.
  • d

    Dani Foldi

    05/16/2022, 1:51 PM
    you could use R2 for that maybe
  • k

    kian

    05/16/2022, 1:51 PM
    R2, but it has to be served from a Worker at the moment.
1...212223...105Latest