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

    Kyle_Cloudflare

    02/07/2023, 2:52 AM
    No hard limit. We have multiple customers successfully running 24/7 live broadcasts streaming RTMP or SRT to us. One thing to be aware of is that broadcasts exceeding 7 days in length will be truncated to only have the latest 7 days and playback of those VODs will generally not work.
  • f

    forDream

    02/07/2023, 3:19 AM
    Hello, everyone, I would like to ask how stream charges. I started three streams: A, B and C. The stream A was pushed for 1000 minutes, but no one watched it. The stream B was pushed for 1000 minutes, and 10 people finished watching it. The stream C was pushed for 1000 minutes, and five people watched it for 500 minutes. How much should I pay for this?
  • t

    Timur Meiliev - BackEnd/Web

    02/07/2023, 8:45 AM
    Hello, I'm try use examples from https://developers.cloudflare.com/stream/webrtc-beta/ on Stackblitz with my stream urls, but receive ".../webRTC/play" url return 400 code with message
    Copy code
    internal error
    and on "Live Inputs" tab - stream not be started maybe someone had this problem?
  • s

    skaboy007

    02/07/2023, 11:25 AM
    quick question - is a bridge between WebRTC and RTMP/HLS in the roadmap?
  • d

    daniel_klungo

    02/07/2023, 11:36 AM
    is it possible to get CORS headers for mp4 downloads, or would it be better to use R2 for this?
  • t

    Timur Meiliev - BackEnd/Web

    02/07/2023, 1:58 PM
    checked - work normal, thanks
  • k

    Kyle_Cloudflare

    02/07/2023, 10:10 PM
    Absolutely, we are planning on that. This is a critical part of our long term vision. Timeline is hard to speak to, there's more urgent operational issues we're tackling at the moment.
  • k

    Kyle_Cloudflare

    02/07/2023, 10:11 PM
    I don't believe so we have that as an option right now. If you need it urgently, you may need to use R2 for that while waiting. If you have an ENT contract, consider raising a feature request(I think that's the term to use with sales, I don't do that side of the house much)
  • k

    Kyle_Cloudflare

    02/07/2023, 10:12 PM
    can you share the exact stackblitz fork(I think that's the term) you're using so we can try to reproduce the issue. Feel free to setup a dummy live input and DM the stackblitz to me since that would contain not-super-critical secrets but secrets all the same
  • t

    Timur Meiliev - BackEnd/Web

    02/07/2023, 10:20 PM
    I'm send example to you PM
  • r

    Rachel

    02/07/2023, 11:13 PM
    It seems that your input has recording enabled. It is not supported yet. Can you try again with recording disabled on the input?
  • s

    skaboy007

    02/08/2023, 1:29 AM
    Amazing, thank you
  • t

    Timur Meiliev - BackEnd/Web

    02/08/2023, 1:52 AM
    yes, problem in this, thanks, how many time need for recording support (we need this), or as alternative for now - we can hook video from server and record
  • r

    Rachel

    02/08/2023, 1:54 AM
    we are working on recording support, but we don't have a date for when it will arrive yet.
  • r

    Rachel

    02/08/2023, 1:56 AM
    if you absolutely must need support right this second, you can try recording it on client side: https://github.com/muaz-khan/RecordRTC
  • r

    Rachel

    02/08/2023, 1:58 AM
    However the product roadmap is that webrtc livestream will be recorded the same way it was for rtmp/srt, and you can ingest in 1 protocol and have it out the other end as another protocol. It is an ambitious goal that will take time to build
  • j

    JamieSinn

    02/08/2023, 2:19 AM
    Got a few questions - I'm trying to re-build our webcasting setup for FRC in Ontario; and I've been wanting to use CF Streams for a while: For a bit of backstory - we've previously been doing this with AWS MediaLive; MediaConnect; MediaPackage, and all pushing via Zixi from OBS. This is of course quite costly, and a bit tricky to maintain since the elemental stuff isn't amazingly documented/exist. We need a way to basically "split" a live stream from given real world timestamps; which begs the question here: - I can split video after the fact; but is there a handy way to extract video from the live stream? - Any way to have more than 5 custom ingest endpoints? we'd need 6 for our setup (trying to create self contained setups) - Any way to tell the time that ingest/livestsreaming started on an endpoint in terms of UTC timestamp? Not necessarily when it was created - Is the max resolution still 1080p? We've got a use case to send 4x 1080p streams as a mux'd 4k stream
  • t

    Timur Meiliev - BackEnd/Web

    02/08/2023, 3:31 AM
    Have a new problem, we deploying app for hololens 2, with Unity, MRTK SDK have webrtc implementation... but, this SDK not have any methods for dummy audio source - and service send message "must have 1 audio and 1 video track", you can change this to "must have any tracks" ? we don't must be have a problem for use another library, but hl2 have specific hardware(arm64 cpu, OS... etc) and other libraryes not have full information for deploy on this platform and this fix for scenarios - "with not need audio source" on other platforms
  • b

    Brendan Irvine-Broque

    02/08/2023, 3:47 AM
    Hey Jamie! - You can have as many ingest endpoints as you need — in Stream these are called "live inputs" - You can see when ingest started by looking at the
    created
    timestamp of the video UID associated with a given live input (
    /live_inputs/uid/videos
    https://developers.cloudflare.com/stream/stream-live/watch-live-stream/#use-the-api) - when you start streaming to a live input, a new video UID is created, and this created timestamp should match when we start receiving video - Max resolution is 1080p. What's the use case for 4x 1080p streams? Can you describe what purpose this serves today, and why it's important? - When you talk about "splitting" the live stream based on timestamps, it sounds like you're describing clipping? Conceptually, is what's described here (https://developers.cloudflare.com/stream/edit-videos/video-clipping/) what you're after? (with the caveat that this currently doesn't support recordings of live streams) — or are you talking about something else?
    j
    • 2
    • 6
  • l

    Longern

    02/08/2023, 3:55 AM
    I got it wrong. I thought end users would be able to use these TURN servers directly without CloudFlare decrypting my traffic.
  • l

    Longern

    02/08/2023, 3:58 AM
    I guess there is no end-to-end encrypted live stream solution yet.
  • b

    Brendan Irvine-Broque

    02/08/2023, 3:15 PM
    Not related at all to TURN, but take a look at this example that uses Stream, and encrypts video E2E: https://github.com/cloudflare/templates/commit/f503307cd494a9f37a7970df80d1cf570c15db01 Reference: https://webrtchacks.com/true-end-to-end-encryption-with-webrtc-insertable-streams/
  • d

    DemosJarco

    02/08/2023, 7:39 PM
    In the
    meta
    key value store of a stream, does it need to be
    string:string
    or can it be
    string:any
    ?
  • d

    DemosJarco

    02/08/2023, 7:45 PM
    never mind, even the value needs to be stringified:
    Copy code
    ts
    // failed - HTTP 400
    https://api.cloudflare.com/client/v4/accounts/.../stream/live_inputs {
      method: 'POST',
      body: '{"meta":{"name":"Test 9000","tags":["tag1","tag2"]}}',
      cf: { minify: { javascript: true, css: true, html: true } },
      headers: {
        Authorization: 'Bearer ...',
        Accept: 'application/json'
      }
    }
    Copy code
    ts
    // success - HTTP 200
    https://api.cloudflare.com/client/v4/accounts/.../stream/live_inputs {
      method: 'POST',
      body: '{"meta":{"name":"Test 9000","tags":"[\\"tag1\\",\\"tag2\\"]"}}',
      cf: { minify: { javascript: true, css: true, html: true } },
      headers: {
        Authorization: 'Bearer ...',
        Accept: 'application/json'
      }
    }
  • y

    yiuhoward

    02/09/2023, 10:08 AM
    Hi guys, do you know if there's a future roadmap for Cloudflare Stream? I'm interested to know if any video transformation/editing functionality (e.g. combining videos) is on the roadmap coz it is quite limited right now
  • o

    Onyx

    02/09/2023, 1:33 PM
    Anyone else testing H264 on WebRTC? Can't get the playback going (it's being streamed and is showing as connected in the dash), so just trying to verify my setup here.
  • m

    marve

    02/09/2023, 3:37 PM
    Hi, is there any api call to get the number of minutes each creator uses per month? Not viewed/delivered but stored for billing
  • t

    tt2468

    02/09/2023, 3:50 PM
    I've been using it just fine. What's your encoder?
  • o

    Onyx

    02/09/2023, 8:08 PM
    using v4l2x264enc element in GStreamer. I guess I'll just try to drop it into a pure UDP stream to see if I can get it going in VLC or something for testing purposes
  • p

    Powerfront

    02/09/2023, 8:18 PM
    Are there plans to add auto captions when streaming pre-recorded stream video and in different languages? Similar to YouTube?
1...747576...105Latest