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

    calebhailey

    03/08/2023, 8:29 PM
    Thanks for your reply, @Rachel. The first reason is that I generally approach third-party libraries with caution (for better or worse), primarily for the avoidance of bloat. I'm not opposed to doing so where it makes sense, but the benefits weren't immediately obvious to me over the flexibility and control granted by the HTML5
    <video>
    element + a CDN (Cloudflare Stream). Having said that, I don't have a lot of experience with video. Dynamic bitrate seems like it could be helpful, so that could be a reason to try the CF player. Cost isn't a concern yet but I will definitely have to keep an eye on it if/when traffic for this project picks up. My use case is definitely shorter videos, FWIW. For reference, the video I'm testing with is 59 seconds long. I suspect a "long" video for my use case will be on the order of 3-5 minutes. EDIT: oh, and I'm not doing anything "live" (yet).
  • c

    calebhailey

    03/08/2023, 8:34 PM
    Also, I think that this isn't true: > Download link video is not seekable; Here's a demo of my WIP player, which seeks super fast!
    cleanshot-2023-03-08-at-12-32-00
  • r

    Rachel

    03/08/2023, 8:35 PM
    It is probably because the video was downloaded quick. May not be true for larger video
  • c

    calebhailey

    03/08/2023, 8:38 PM
    perhaps. But the
    <video>
    reference docs do describe seek controls + seek events: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/seeking_event https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/seeked_event Again, I'm new to doing almost anything with video. I've always just used YouTube in past projects.
  • c

    calebhailey

    03/08/2023, 8:41 PM
    I think though that you have confirmed my suspicions, that the biggest differences for my project are at least dynamic bitrate, and potentially $$$.
  • c

    calebhailey

    03/08/2023, 8:42 PM
    @Rachel thanks again!
  • c

    calebhailey

    03/08/2023, 8:43 PM
    TIL! Thanks for these! 👍
  • r

    Rachel

    03/08/2023, 9:04 PM
    You can customize a lot with a third party player
  • r

    Rachel

    03/08/2023, 9:04 PM
    you can put comic sans on the font, make control icons to be cats and dogs and dragons
  • t

    tt2468

    03/09/2023, 4:45 AM
    Is the resource URL provided by WHIP meant to be the same as the endpoint url itself?
  • r

    Rachel

    03/09/2023, 7:40 AM
    for our implementation, they should be different
  • t

    tt2468

    03/09/2023, 7:51 AM
    hmm
  • t

    tt2468

    03/09/2023, 7:51 AM
    libcurl is giving me a location path that appears to be the same as the main url
  • t

    tt2468

    03/09/2023, 7:51 AM
    I hope libcurl isn't overwriting the location header or something
  • t

    tt2468

    03/09/2023, 8:29 AM
    @Rachel Quick suggestion. When sending POST to the whip endpoint url, if the url doesn't exist, cloudflare currently returns a 400 code. Any chance that could be changed to 404?
  • r

    Rachel

    03/09/2023, 8:30 AM
    they look kind of similar, maybe your eyes are lying
  • r

    Rachel

    03/09/2023, 8:30 AM
    i will do that tmr
  • t

    tt2468

    03/09/2023, 8:32 AM
    I've checked with my eyes as hard as I can. I'll do some quick debug logging though to make sure my curl url implementation isn't doing something funky
  • t

    tt2468

    03/09/2023, 8:37 AM
    Ahh my bad, curl's url redirect example for their url util seems to have misled me
  • t

    tt2468

    03/09/2023, 8:56 AM
    Ah ha, I need to strip the ends of my header strings because curl isn't liking it
  • t

    tt2468

    03/09/2023, 9:45 AM
    The OBS WHIP PR is now officially back to near feature complete state running with libdatachannel \:) If you want to test it (and I highly recommend you do, it is built strictly to the WHIP spec and has good error handling), you'll unfortunately have to build from source, as the CI artifacts are built with the plugin disabled right now
  • d

    DemosJarco

    03/09/2023, 7:22 PM
    @tt2468 When WHIP hits mainline, I assume we can submit webrtc services too following https://github.com/obsproject/obs-studio/wiki/Service-Submission-Guidelines ?
  • t

    tt2468

    03/09/2023, 9:47 PM
    We have an upcoming large refactor of that stuff, including services, but when it's all done you should be able to submit services that accept WHIP
  • m

    Matt Hensley

    03/10/2023, 6:49 PM
    just to follow up, we're seeing the same issue regularly. using hls.js the quality chosen is wildly inconsistent
  • h

    himoc

    03/10/2023, 6:52 PM
    100%, and not just hls.js but pretty much every third party player
    m
    • 2
    • 1
  • r

    Rachel

    03/10/2023, 8:19 PM
    @tt2468 do you have build instructions on darwin/arm64?
  • s

    scj643

    03/10/2023, 8:32 PM
    Time to build OBS with WebRTC
  • s

    scj643

    03/10/2023, 8:42 PM
    Ugh why do I have to pay for video storage that I will never use
  • t

    tt2468

    03/10/2023, 10:15 PM
    I do not unfortunately
  • s

    scj643

    03/10/2023, 10:50 PM
    I would be interested in that as well
1...808182...105Latest