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

    deepdev

    02/23/2023, 3:27 PM
    thanks, hopefully someone knows or has a working sample of how to stream the browser tab using WebRTC....
  • d

    deepdev

    02/23/2023, 3:28 PM
    i've tested other WebRTC samples locally that can stream the screen or a browser tab but it feels like I need to change some settings or add some additional config info so that the WHIPClient knows how to connect to the window stream once it is selected by the user....
  • p

    Pause

    02/23/2023, 5:58 PM
    Does the Stream Player support disabling the gear icon?
  • p

    Pause

    02/23/2023, 7:35 PM
    I do not like the gear icon. 😋
  • r

    Rachel

    02/23/2023, 11:09 PM
    you are missing an audio track
  • r

    Rachel

    02/23/2023, 11:10 PM
    It will work with screenshare
  • d

    daniel_klungo

    02/24/2023, 12:47 PM
    what other than "default" downloads are available, ref https://developers.cloudflare.com/stream/viewing-videos/download-videos/#get-download-links ?
  • d

    daniel_klungo

    02/24/2023, 12:48 PM
    we have uploaded a 1440x810 video, but when downloading it as mp4 it comes as 1280x720 instead
  • d

    deepdev

    02/24/2023, 4:04 PM
    In my use case, currently on the VM where my app will be running there won't be any audio input source (Windows Server VM). How can I work around the requirement to supply an audio stream/channel to the WHIP client? If there's no way to pass a 'fake' audio device and pass that to the WHIP client, will I have to create a virtual audio device and register it on the server and use that? Basically, if we don't need or have access to audio what are my options?
  • r

    Rachel

    02/24/2023, 4:15 PM
    @deepdev currently whip has a hard requirement of requiring video and audio track to be present on both the sdp and the peerconnection. That might change in the future, but for now it is one of the limitations
  • d

    deepdev

    02/24/2023, 4:49 PM
    hmm, do you think if i have an audio device (even just a virtual sw only device) registered on these machines, that as long as a mic is present, i can satisfy the audio requirement?
  • r

    Rachel

    02/24/2023, 4:50 PM
    what library are you using on the VM?
  • d

    deepdev

    02/24/2023, 4:50 PM
    funny thing is, as i've been testing Electron, if you don't have a mic present and tell it's capture engine to use Audio, it just crashes
  • d

    deepdev

    02/24/2023, 4:50 PM
    the app is built (for now) on Electron and will run in a Windows VM Server
  • d

    deepdev

    02/24/2023, 4:51 PM
    therefore, my code is running inside a WebView (at least the WHIP and screen capture code is)
  • d

    deepdev

    02/24/2023, 4:53 PM
    if the audio track has no data being passed will CF still consider it a valid audio channel? I can configure a Mic on the server and allow my Electron app to access it, but there would never be any actual data coming from that device
  • r

    Rachel

    02/24/2023, 4:56 PM
    if it is an electron app, you can create an audio track using web api. however we still expect data coming from the the audio track, even if it is just muted
  • d

    deepdev

    02/24/2023, 4:56 PM
    hmm, i see. so literally any audio stream can be passed to the WHIP client? like say a stream of white noise, etc
  • r

    Rachel

    02/25/2023, 12:50 AM
    any audio yes. If you want white noise on your stream, so be it
  • m

    Michael.Huang

    02/25/2023, 10:44 PM
    I think Cloudflare can be more specific about what kind of x264 stream the WebRTC endpoint expects. Besides, in Cloudflare Stream Console, the player doesn't always reflect the availability of a stream. Say, the console player shows "the stream has not started yet" but in the WHEP example player the stream plays. It makes it pretty cumbersome to find out what is the best encoding option for the stream
  • m

    Michael.Huang

    02/25/2023, 10:45 PM
    I have successfully used OBS Studio, with x264, 4000 kbps, 30 fps, key frame 2s, baseline profile. But if I select "tuning: zerolatency" the stream won't work
  • m

    Michael.Huang

    02/25/2023, 10:46 PM
    So I hope Cloudflare will specify the maximum bitrate, fps that WebRTC endpoint can accept. That'd be helpful.
  • c

    computeronix

    02/26/2023, 2:14 AM
    Using the Cloudflare Stream Player: Any plans to allow playing the video back at a slower/faster speed based on parameter? for example I have a video I uploaded and want to play it back at a slower speed. (using it as background video for example on a site)
  • n

    ndiana

    02/26/2023, 10:21 AM
    Hello, I'm considering allowing users to directly upload videos to stream via signed URLs. I was to provide validations (max. size and max. length) for the uploaded video. How can this be done with the stream API. I don't want to pass the video files through our backend.
  • d

    daniel_klungo

    02/26/2023, 4:05 PM
    You can use direct creator upload for this. https://developers.cloudflare.com/stream/uploading-videos/direct-creator-uploads/
  • r

    Rachel

    02/27/2023, 11:50 PM
    There should be: https://developers.cloudflare.com/stream/webrtc-beta/#supported-codecs
  • r

    Rachel

    02/27/2023, 11:51 PM
    bitrate, fps, etc is up to you. In theory you can push 4k 60fps H264, but remember that this is live without encoding, so the the same bandwidth requirement will apply on the player side.
  • r

    Rachel

    02/27/2023, 11:53 PM
    This is a bug if the dashboard does not play but the example player does. Can you outline how you have it setup so we can take a look?
  • a

    anyatibrian

    02/28/2023, 12:23 PM
    @Rachel how can I add functionality for audio stream in stead of videos in cloudflare streams
  • k

    Kever

    02/28/2023, 12:26 PM
    Bump
1...777879...105Latest