How to get live view count of a stream?

Sturla 176 Reputation points
2023-01-29T17:42:51.4833333+00:00

I want to present this number in my portal to my tenants so they know how many people are currently viewing a live stream.

I´m not sure you have this API but If you don´t what is the best way you would recommend getting it?

I was then thinking about SignalR? What do you think about that?

Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
302 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
120 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Umang Middha 550 Reputation points
    2023-01-30T04:47:50.2866667+00:00

    Hello Sturla,

    Hope you are doing well today. To get a live view count of a stream in Azure, you can use one of the following options:

    1. Azure Media Services: Use Azure Media Services Analytics to monitor real-time and historical viewer data, including the number of active streams, total views, and view duration.
    2. Azure Stream Analytics: Use Azure Stream Analytics to analyze real-time data from streaming sources such as IoT devices, social media feeds, and live video streams, and output the results to Azure Storage, Power BI, or other destinations.
    3. Third-party tools: Utilize third-party tools such as OBS Studio, XSplit, or Streamlabs to monitor the view count and other metrics of your live stream.

    These options will allow you to get a live view count of your stream in Azure and help you to monitor and optimize the performance of your streaming content.

    Regards,

    Umang Middha

    0 comments No comments

  2. SnehaAgrawal-MSFT 18,196 Reputation points
    2023-02-15T07:35:45.0533333+00:00

    Sturla Also check these link: https://techcommunity.microsoft.com/t5/internet-of-things-blog/introducing-live-video-analytics-from-azure-media-services-now/ba-p/1406917

    https://github.com/uglide/azure-content/blob/master/articles/media-services/media-services-analytics-overview.md

    https://learn.microsoft.com/en-us/azure/stream-analytics/

    Please let us know if any further query or issue remains.

    If response provided was helpful, please do mark the post which was helpful by clicking on ‘Accept Answer’ & ‘Up-Vote’ to benefit the community find the right answers.

    0 comments No comments

  3. Robertsmith 0 Reputation points
    2023-11-06T12:30:31.1033333+00:00

    OnTheFly is a third-party software that is able to be utilized to obtain the exist display count of a stream on Twitch, YouTube, and Facebook Gaming. to employ OnTheFly, succeed these steps: Go to the OnTheFly web page site and build an account. associate your Twitch, YouTube, and Facebook Gaming accounts to OnTheFly.

    Once your accounts are connected, you can see the live view count of any stream on those platforms by searching for the stream name or channel URL. Other Methods In addition to OnTheFly, there are a few other methods you can use to get the live view count of a stream:
    Twitch:
    Open the Twitch stream you want to check the view count for. Look for the view count displayed below the stream player. It will typically be labeled as "Viewers" or "Live Viewers."

    YouTube:

    Open the YouTube stream you want to check the view count for. Look for the view count displayed below the stream player. It will typically be labeled as "Concurrent Viewers" or "Live Viewers."

    Facebook Gaming:

    Open the Facebook Gaming stream you want to check the view count for. Look for the view count displayed below the stream player. It will typically be labeled as "Viewers" or "Live Viewers."

    Streamlabs OBS: Open Streamlabs OBS and add the "Viewer Count" source to your stream. Configure the "Viewer Count" source to show the view count for the specific stream you want to monitor.

    OBS Studio: Open OBS Studio and add the "Browser" source to your stream. Locate the viewer_count property in the JSON response displayed in the "Browser" source. This value represents the live view count of the stream.

    0 comments No comments