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

    B4154

    03/15/2023, 10:28 PM
    Is it just me or is the beta AV1 stuff not working? The segments are 500 erroring atm.
  • r

    Rachel

    03/15/2023, 10:34 PM
    If able, please do DM me the SDP and see if that is causing issues
  • m

    Mickie Betz

    03/15/2023, 10:44 PM
    thanks for raising, we've also noticed degradation on our end and are investigating. There are other things higher in our queue we're tackling at the moment so might not get resolved immediately and appreciate patience as we address
  • a

    arreads

    03/16/2023, 3:05 PM
    @FreddoI'm also trying to add a custom thumbnail to the video player, have you used it for live, or just archived?
  • f

    Freddo

    03/16/2023, 3:50 PM
    Archived - when I say custom I mean using the thumbnail from the webhook with custom parameters on it@arreads
  • b

    B4154

    03/16/2023, 5:14 PM
    I'm getting "Error creating download mp4." when I try to create an mp4 download
  • m

    Mickie Betz

    03/16/2023, 6:21 PM
    I happen to be investigating issues with downloads at the moment- would you mind DMing me the video ID?
  • b

    B4154

    03/16/2023, 7:34 PM
    Question, is there a webhook for when the duration is properly set after a livestream? When the disconnect webhook is fired, the duration is still -1.
  • m

    Mickie Betz

    03/16/2023, 8:05 PM
    yeah! If you subscribe to these webhooks (https://developers.cloudflare.com/stream/manage-video-library/using-webhooks/), you'll get notified once the video has transitioned to "ready" (playable) after the conclusion of the livestream. The notification will have some of that metadata that we can only figure out once the stream has concluded (like duration)
  • b

    B4154

    03/16/2023, 8:06 PM
    Is this a separate webhook system from the connect/disconnect webhooks?
  • b

    B4154

    03/16/2023, 8:07 PM
    Seems that way. Also, thank you!
  • m

    Mickie Betz

    03/16/2023, 8:25 PM
    It is different (and actually has a different way of subscribing too, a bit confusingly!)
  • b

    B4154

    03/16/2023, 8:27 PM
    Yeah, I'm just reading over the docs. Is it best practice to make a separate webhook endpoint for this vs the connect/disconnect one?
  • d

    DemosJarco

    03/16/2023, 8:28 PM
    Wait there's a webhook for connect/disconnect? I thought it was just the undocumented websocket?
  • b

    B4154

    03/16/2023, 8:28 PM
    It's documented here. https://developers.cloudflare.com/stream/stream-live/webhooks/
  • m

    Mickie Betz

    03/16/2023, 8:30 PM
    Up to you! It might make sense if you want to handle the conclusion of live streams in a different manner then when the stream moves from connected/disconnect state and want differentiated logic based around those different events
  • b

    B4154

    03/16/2023, 8:59 PM
    Hey, so the m3u8 coming off of Stream (VOD) doesn't seem to work with HLS.JS. It just buffers infinitely when I seek.
  • b

    B4154

    03/16/2023, 9:01 PM
    This may be an hls.js problem because it works with videojs-http-streaming. It's just weird that it happens only with the CF Stream manifests.
  • b

    B4154

    03/16/2023, 9:24 PM
    So playing each manifest in the video.m3u8 individually works. It's just when you play video.m3u8 directly, it breaks.
  • b

    B4154

    03/16/2023, 9:41 PM
    When I remove the audio from the video.m3u8, it works perfectly.
  • b

    B4154

    03/16/2023, 9:42 PM
    It's specifically when I introduce the audio in that file that it stops working.
  • b

    B4154

    03/16/2023, 10:29 PM
    https://github.com/video-dev/hls.js/issues/5303 Ok, opened an issue on hls.js
  • b

    B4154

    03/16/2023, 10:29 PM
    Found the exact version where the regression occurred.
  • s

    Schachte

    03/16/2023, 11:27 PM
    Hello! We are doing some work with our AV1 hardware, but the beta should be back online. Feel free to give it a shot and let us know if you run into any issues. We're still fine tuning this quite a bit.
  • b

    B4154

    03/17/2023, 1:15 AM
    Hey, thanks for the update! I still seem to be experiencing 500 errors on the init.mp4 requests.
  • b

    B4154

    03/17/2023, 1:42 AM
    Would it also be possible in the future to mix both the AV1 and AVC renditions into the same main video.m3u8? That would be great. Everything that plays HLS usually only selects compatible renditions anyway.
  • b

    B4154

    03/17/2023, 4:55 AM
    https://github.com/video-dev/hls.js/issues/5303#issuecomment-1473107644
  • b

    B4154

    03/17/2023, 4:56 AM
    https://hls-js-73965559-fca4-40e5-9cde-d90859bfc224.netlify.app/demo/?src=https%3A%2F%2Fcustomer-ldpy9vfj3fq8c7yk.cloudflarestream.com%2Fc20c897cfd933fb6eaf7bbb4ffea3f19%2Fmanifest%2Fvideo.m3u8&demoConfig=eyJlbmFibGVTdHJlYW1pbmciOnRydWUsImF1dG9SZWNvdmVyRXJyb3IiOnRydWUsInN0b3BPblN0YWxsIjpmYWxzZSwiZHVtcGZNUDQiOmZhbHNlLCJsZXZlbENhcHBpbmciOi0xLCJsaW1pdE1ldHJpY3MiOi0xfQ==
  • b

    B4154

    03/17/2023, 4:56 AM
  • b

    B4154

    03/17/2023, 4:57 AM
    This VOD's initial audio fragment seems to have invalid start DTS values.
1...838485...105Latest