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

    Dio

    11/06/2022, 4:16 PM
    @eyevinn/whip-web-client and example WHIP client
  • r

    Rachel

    11/06/2022, 4:17 PM
    is it from the stackblitz whip client
  • d

    Dio

    11/06/2022, 4:17 PM
    I was able to get your library (WISH) up and running the first time
  • d

    Dio

    11/06/2022, 4:18 PM
    maybe something has changed? because it didn't work for me before
  • r

    Rachel

    11/06/2022, 4:18 PM
    that might be a bug
  • d

    Deleted User

    11/07/2022, 12:34 AM
    so useful thank you
  • d

    dra

    11/07/2022, 10:53 AM
    hello everyone, can you guys help me why i keep getting error 500 when i fetch video analytic API
    Copy code
    curl --location --request GET 'https://api.cloudflare.com/client/v4/accounts/<ACCOUNT_ID>/stream/analytics/views?metrics=totalImpressions,totalTimeViewedMs&dimensions=videoId&filters=videoId==58c7b2dab7536a6617df915bcb8a1ce7&since=2022-11-06T17:00:00Z' \
    --header 'Authorization: Bearer <TOKEN>' \
    --header 'Cookie: __cflb=0H28vgHxwvgAQtjUGU56Rb8iNWZVUvXhuUPPxVKSn3w; __cfruid=5a19c4662e41c3022d629b672933e207f5b7c5b0-1667802061'
  • d

    dra

    11/07/2022, 10:54 AM
  • k

    Kyle_Cloudflare

    11/07/2022, 3:37 PM
    Hey @dra I've reached internally since it looks like something is wrong outside our immediate service. I would strongly recommend taking a look at our graphql API, which should not be impacted by this issue https://developers.cloudflare.com/stream/getting-analytics/fetching-bulk-analytics/
  • d

    Deleted User

    11/07/2022, 10:24 PM
    Is Cloudflare Calls going to be useful for things like webinars (~3 speakers, 200 viewers)
  • d

    dra

    11/08/2022, 2:40 AM
    hi @Kyle_Cloudflare thanks for reply, I've tested graphql API, I have tried to play a video 1 time, but
    count
    from response return
    9
    . Could you explain why this happen?
    Copy code
    curl --location --request POST 'https://api.cloudflare.com/client/v4/graphql' \
    --header 'Content-Type: application/json' \
    --header 'Authorization: Bearer <TOKEN>' \
    --header 'Cookie: __cflb=0H28vgHxwvgAQtjUGU56Rb8iNWZVUvXhaDBxeWBAF7B; __cfruid=5a19c4662e41c3022d629b672933e207f5b7c5b0-1667802061' \
    --data-raw '{"query":"query {\n  viewer {\n    accounts(filter:{\n      accountTag: \"<ACCOUNT_ID>\"\n      \n    }) {\n      streamMinutesViewedAdaptiveGroups(\n        filter: {\n          datetime_geq: \"2022-11-07T17:13:00+07:00\"\n        }\n        orderBy:[sum_minutesViewed_DESC]\n        limit: 10000\n      ) {\n        sum {\n          minutesViewed\n        }\n        count\n        dimensions{\n          uid\n        }\n      }\n    }\n  }\n}","variables":{}}'
    k
    h
    b
    • 4
    • 6
  • e

    Emilio

    11/08/2022, 7:40 AM
    I am using Clouflare Stream for my creators RTMP streams from OBS and am looking to use WHIP/WHEP for web browser based streams. I am eagerly awaiting the recording feature for WHIP, but in the meantime I am looking for a solution for my React/NextJS site to enable an Channel Offline Image that when WHIP goes live will be replaced by the video. We were able to implement this easily with the RTMP streams, but are not sure how to make it work for the WHIP so viewers have an offline image until the signal is live.
  • t

    tt2468

    11/08/2022, 7:41 AM
    There is currently no conversion capability between RTMP and WHIP/WHEP, so you will have to wait until OBS finishes adding WHIP support if you would like to use the OBS output
  • e

    Emilio

    11/08/2022, 7:42 AM
    We only want to use WHIP/WHEP for Webrtc, but we don't know how to make the signal replace the "channel offline image" like we do with the RTMP streams.
  • e

    elithrar

    11/08/2022, 2:07 PM
    What player are you using? You can replace the media element if you hook into the WebRTC stats / tracks
  • o

    Onyx

    11/08/2022, 5:31 PM
    Hey all, I'm deep at hacking away at a WHIP based streaming solution using GStreamer, encountering some rough spots. Have a few questions if anyone can help: 1 - Did something change on the API recently regarding closing streams, sending a
    DELETE
    to the publish endpoint returns a 405 now, it used to return 200 as expected before 2 - Any chance of using H.264 for video? I'm running my stream(s) from a Raspberry Pi and VP8 is really struggling on there Have a few more issues but I want to analyze my side of it first because it might be me or GStreamer not doing something right :)
    k
    • 2
    • 12
  • l

    leon22212

    11/08/2022, 10:07 PM
    I am using cloudflare stream with HLS. My code seems to work fine on mobile devices and on local development. However when using my website (nextjs) in production, the video only works on mobile devices not desktop chrome.
    Copy code
    typescript
    const video = document.getElementById("videoPlayer") as HTMLVideoElement;
            
    if (Hls.isSupported()) {
      const hls = new Hls();
      hls.attachMedia(video);
                                hls.on(Hls.Events.MEDIA_ATTACHED, () => {
        hls.loadSource(``);
     });
     //play video
     video.play();
    } else if (video.canPlayType("application/vnd.apple.mpegurl")) {
                video.src = ``;
    }
    k
    • 2
    • 1
  • m

    marve

    11/08/2022, 11:53 PM
    Hi, is there any way to delete all videos with an API call? I am trying to clean up test data
    b
    • 2
    • 3
  • b

    Brendan Irvine-Broque

    11/09/2022, 12:40 AM
    Migrate to the Stream GraphQL Analytics API by Feb 1st, 2023 We're deprecating our old "per-video" Analytics API. If you still use this API, you will need to switch to using the GraphQL Analytics API by Feb 1, 2023. After this date, the per-video analytics API will be no longer available. Most developers already use our GraphQL Analytics API, which is faster, more reliable, and provides additional filters and metrics. To make this migration simple, we've provided some more details here, including an example GraphQL query that you can use to replace your use of the per-video analytics API. More here: https://community.cloudflare.com/t/migrate-to-the-stream-graphql-analytics-api-by-feb-1st-2023/433252 If you've made a request recently to the per-video analytics API, we'll also be reaching out via email to let you know about this change. Feel free to comment on this thread or forum post with any questions — want to make sure this is a smooth process.
    • 1
    • 1
  • d

    Deleted User

    11/09/2022, 5:03 AM
    do stats work for webrtc?
    b
    • 2
    • 2
  • d

    Deleted User

    11/09/2022, 5:04 AM
    in the dashboard
  • m

    marve

    11/09/2022, 11:22 AM
    Are you planning on releasing real time video? Would really love this feature - sort of like a zoom meeting (two way)
  • z

    zegevlier

    11/09/2022, 11:26 AM
    There is actually a product for this, it got announced last innovation week:
  • m

    marve

    11/09/2022, 11:27 AM
    Thanks! Don't know how I missed this
  • m

    marve

    11/09/2022, 11:29 AM
    Any idea on when the beta will open?
  • z

    zegevlier

    11/09/2022, 11:31 AM
    The WebRTC streaming is available to all users with CF Stream today, but I'm not sure about Calls. Usually the best thing you can do for a beta is signing up for the form
  • m

    marve

    11/09/2022, 11:32 AM
    Great, thanks again
  • d

    Deleted User

    11/09/2022, 3:31 PM
    getting authentication error trying to use https://api.cloudflare.com/#stream-signing-keys-create-signing-keys with this token
  • d

    Deleted User

    11/09/2022, 3:45 PM
    nevermind, got it
  • d

    Deleted User

    11/09/2022, 3:46 PM
    that doc I linked is outdated, but the other docs with the step-by-step instructions are up-to-date
1...585960...105Latest