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

    scj643

    03/10/2023, 10:55 PM
    Wait is there no way to just have the video player do only live streaming without recording?
  • s

    scj643

    03/10/2023, 11:06 PM
    Asking support if they can refund me since this doesn't fit my needs at all
  • r

    Rachel

    03/10/2023, 11:29 PM
    That's something we are planning to do: live stream with player without recording. However, for now you may have to manually delete the VOD after your live session.
  • r

    Rachel

    03/10/2023, 11:31 PM
    Alternatively, you can try WebRTC (without recording). Playback will work with the player
  • s

    scj643

    03/10/2023, 11:31 PM
    Right now I'm just going to use dolby's free tier
  • a

    ApocalypseCalculator

    03/11/2023, 6:32 AM
    for the stream webhooks under "manage library", does cloudflare only send webhooks when processing is finished? are there any additional events to look out for (e.g. finished upload)? for videos with a
    pctComplete
    under 100, how often are notifications for these sent out? 😅
  • s

    sarah.o 🍄

    03/13/2023, 5:24 PM
    Hey all 👋, I’m working on a streaming solution from an Android app to a web app. I have a working solution that uses the Java org.webrtc library to create a Peer-to-Peer connection with a web app and stream the Android device screen, but we’re wanting to explore Cloudflare's options and features. Seeing a lot of examples of sending and receiving streams via js and html, but does anyone have a good example of sending a stream from an Android device to Cloudflare for viewing? Thanks for any help!
  • r

    Rachel

    03/13/2023, 6:55 PM
    Looking at the org.webrtc API, if it has webrtc api, it should be able to do what js/html can do but in its native format. For broadcasting use case, you would need to do signaling over WHIP. For P2P usage, Calls would be the one you want to use but it is currently in private beta.
  • r

    Rachel

    03/13/2023, 7:02 PM
    may i ask what are you using webhooks for?
  • a

    ApocalypseCalculator

    03/14/2023, 1:52 AM
    sure! i am basically generating TUS upload URLs following the "Direct creator uploads" section of the documentation, and tracking the upload progress using the webhook subscription
  • a

    ApocalypseCalculator

    03/14/2023, 1:55 AM
    from the documentation it appears that there is only 1 notification after the video "finishes processing", but an example shows a
    pctComplete
    value of
    39
    so I am bit confused right now
  • r

    Rachel

    03/14/2023, 1:56 AM
    Ah, webhook is sent as soon as "video is ready to watch." In this case, the lowest resolution of the video and audio are ready, which is why you are seeing the webhook
  • r

    Rachel

    03/14/2023, 1:57 AM
    Similar to youtube where 360p is ready first, but then 1080p and 4k might take a while
  • a

    ApocalypseCalculator

    03/14/2023, 2:49 AM
    ah ok thanks
  • a

    ApocalypseCalculator

    03/14/2023, 2:50 AM
    so if I'm getting this right there's no notifications for that particular video anymore after that one
  • r

    Rachel

    03/14/2023, 3:43 AM
    If my memory serves, that's correct. Were you expecting another webhook when it is fully completed?
  • a

    ApocalypseCalculator

    03/14/2023, 6:15 AM
    I think that would be useful and much better than the alternative of constantly polling the api for statuses
  • a

    anyatibrian

    03/14/2023, 1:30 PM
    @Zaid have been trying to upload videos to stream using tus protocol through the demo https://codepen.io/cfzf/pen/wvGMRXe and creater a worker that return the upload header locations but getting the errors below.
  • a

    anyatibrian

    03/14/2023, 1:31 PM
  • r

    Rachel

    03/14/2023, 4:08 PM
    @Mickie Betz I guess you can take it from me
  • r

    Rachel

    03/14/2023, 4:08 PM
  • m

    Mickie Betz

    03/14/2023, 4:09 PM
    If you'd like, we can enable sending a second webhook once the highest resolution is available. I'll need your account ID to do that (feel free to DM it to me)
  • m

    Michael.Huang

    03/14/2023, 4:35 PM
    I am using WebRTC in production capacity with OBS. Well, for stability wise, I believe it is stable enough. However, users have reported constant dropouts when using cellular data. I do not know where the problem stems, whether it's cloudflare or cell provider, but it is a concern that needs to be addressed. I am replacing Zoom Meetings with CF WebRTC.
  • d

    deepdev

    03/14/2023, 4:36 PM
    Awesome thanks for info. I’ll post back w my own results to help others soon after I launch…. Thanks!!
  • m

    Michael.Huang

    03/14/2023, 4:37 PM
    Quality of stream is largely dependent on the host side. I can stream 6Mbps with 30 fps, h264. However, at 60 fps, even me viewing from my computer will start to have dropped frames. It's not my computer that can't encode fast enough, but CF isn't pacing the frames correctly
  • m

    Michael.Huang

    03/14/2023, 4:38 PM
    Sub second latency is validated, even in Canada and Eastern US. I am based at the West Coast
  • d

    deepdev

    03/14/2023, 4:44 PM
    Super helpful info!! You rock
  • m

    Michael.Huang

    03/14/2023, 4:45 PM
    no problem. feel free to ask if you have more
  • a

    altryne

    03/14/2023, 4:49 PM
    Is there... a stream outage? 0_o
    k
    • 2
    • 2
  • a

    altryne

    03/14/2023, 4:51 PM
    Hmm there are no incidents reported, but most of my videos are queues and stuck and not processing
1...818283...105Latest