none
Number of times a video has been streamed RRS feed

  • Question

  • Hi

    Is it possible to determine the number of times a video in Azure Media Services has been requested via it's published URL

    Thanks

    Anthony

    Thursday, November 20, 2014 3:50 PM

Answers

  • Media Services does not provide an analytics service directly at this time.

    Since most traffic is cached via the CDN during delivery, the only way to accurately track playbacks is with Client side logic.  Depending on which client you are using, you can fairly easily create a mid-tier service to ping each time a customer hits Play or reaches a certain percentage of playback into a stream.

    If you are using one of the Microsoft Player frameworks, we have built in support for beaconing and telemetry that can be sent back to a mid-tier to be collected.  I'll get our Player team to respond here on where to find more details.

    • Marked as answer by AnthonyCoates Thursday, December 11, 2014 4:24 PM
    Friday, November 21, 2014 6:57 PM

All replies

  • Media Services does not provide an analytics service directly at this time.

    Since most traffic is cached via the CDN during delivery, the only way to accurately track playbacks is with Client side logic.  Depending on which client you are using, you can fairly easily create a mid-tier service to ping each time a customer hits Play or reaches a certain percentage of playback into a stream.

    If you are using one of the Microsoft Player frameworks, we have built in support for beaconing and telemetry that can be sent back to a mid-tier to be collected.  I'll get our Player team to respond here on where to find more details.

    • Marked as answer by AnthonyCoates Thursday, December 11, 2014 4:24 PM
    Friday, November 21, 2014 6:57 PM
  • The best way to do this at this time, is as John has suggested.  In general, by collecting client side events, such the first "play" event, you can send this data to a mid-tier service which would aggregate the data to give you the desired result of how many times the URL has been played.

    It is important to note, that different Microsoft players call these events slightly differently, but in general there is usually a "play" or "firstplay" event which you can listen to. Each player's documentation will outline the appropriate event name.

    Tuesday, November 25, 2014 8:00 PM
  • Is there any frameworks out there for purchase or OSS that would have this functionality? WE would rather buy a platform and focus on customizing it than build it form scratch. 

    Any suggestions?

    Rick

    Monday, December 1, 2014 5:17 PM
  • Thanks that your answer is helpful.

    'you can fairly easily create a mid-tier service to ping each time a customer reaches a certain percentage of playback into a stream.'

    Could you kindly introduce some link to learn more about this ?

    Sunday, April 21, 2019 12:14 PM