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

    MRS

    04/12/2023, 7:49 PM
    I don't have access to our Cloudflare admin tools so I can only evaluate the quality / stability of the HLS stream it outputs.
  • a

    altryne

    04/12/2023, 9:12 PM
    Can someone share more details about these fields in the stream video file JSON?
    Copy code
    "publicDetails": {
          "title": "",
          "share_link": "",
          "channel_link": "",
          "logo": ""
        }
    I wonder what's their purpose and how can they be "set" ?
  • m

    MRS

    04/13/2023, 5:21 PM
    Doing more testing with Cloudflare live streams today, still not looking good. I set up a personal Cloudflare account to have a better view for testing, even in the Cloudflare dashboard the stream is freezing frequently.
  • m

    MRS

    04/13/2023, 5:26 PM
  • r

    Rachel

    04/13/2023, 7:20 PM
    What's the encoder config? And are you using srt or rtmp
  • m

    MRS

    04/13/2023, 7:21 PM
    Using RTMP.
  • r

    Rachel

    04/13/2023, 7:21 PM
    What software are you using to stream? What's the encoder config for the stream?
  • r

    Rachel

    04/13/2023, 7:22 PM
    Can you DM me the video UID of the livestreamed video?
  • m

    MRS

    04/13/2023, 7:22 PM
    Streaming via OBS.
  • m

    MRS

    04/13/2023, 7:22 PM
  • r

    Rachel

    04/13/2023, 7:27 PM
    @MRS do you have freezing at the beginning or somewhere in the middle?
  • m

    MRS

    04/13/2023, 7:28 PM
    In the middle / throughout.
  • m

    MRS

    04/13/2023, 7:29 PM
    Getting maybe 1 minute or stable video at a time.
  • r

    Rachel

    04/13/2023, 7:30 PM
    @MRS could you try with keyframe interval set to 4s and try again?
  • m

    MRS

    04/13/2023, 7:30 PM
    Ok I’ll try that now.
  • r

    Rachel

    04/13/2023, 7:31 PM
    while you are trying 4s
  • r

    Rachel

    04/13/2023, 7:31 PM
    much appreciated if you can capture an HAR as well and DM me the capture
  • r

    Rachel

    04/13/2023, 7:31 PM
    https://developers.cloudflare.com/support/troubleshooting/general-troubleshooting/gathering-information-for-troubleshooting-sites/#generate-a-har-file
  • m

    MRS

    04/13/2023, 7:40 PM
    Started off shaky, but now with the 4s keyframe intervals it seems stable, haven't seen it freeze.
  • m

    MRS

    04/13/2023, 7:42 PM
    And right as I say that >_<
  • t

    tt2468

    04/13/2023, 8:40 PM
    Dynamic GOP streaming is generally highly discouraged
  • t

    tt2468

    04/13/2023, 8:40 PM
    Especially for HLS streaming
  • t

    tt2468

    04/13/2023, 8:40 PM
    A 2 second keyframe interval should work well
  • p

    Protogon

    04/13/2023, 8:41 PM
    @tt2468 While we are on this subject do you know how to force 1-2sec GOP within the SDP for WHIP?
  • t

    tt2468

    04/13/2023, 8:42 PM
    I only know how to do that in OBS
  • t

    tt2468

    04/13/2023, 8:43 PM
    I know next to nothing about browser webrtc stuff
  • p

    Protogon

    04/13/2023, 8:43 PM
    🙂 thanks man
  • p

    Protogon

    04/13/2023, 8:45 PM
    Indeed in OBS this is working thus I was trying to figure out if this is possible in the browser. OBS Whip plugin source code doesn't do anything special on this matter and as such I believe it is a more internal thing.
  • r

    Rachel

    04/13/2023, 8:49 PM
    @Protogon browser responds to PLI from the peer to send a keyframe, in the cloudflare context the peer would be us. By default if the viewer requests PLI, they will be forwarded to the publisher (throttled). As a fallback, we also send PLI every 5 seconds independent of forwarding
  • p

    Protogon

    04/13/2023, 8:52 PM
    Thank you @Rachel but this is working when setup in obs and can keep it at 30frames 1sec GOP. On the browser (Chrome atm) there is no way with getUserMedia to send an offer SDP requesting GOP of ie. 30 frames
1...969798...105Latest