Results 1 to 5 of 5

Thread: Calculate how much of video has been viewed.

  1. #1
    Join Date
    Nov 2010
    Posts
    12

    Default Calculate how much of video has been viewed.

    Hello,

    We have a Video on Demand application, and we need to accurately calculate how much of a video a user has viewed.

    For RTMP we use the Wowza logs to work this out, as client commands (play, pause, unpause, seek, stop, etc) are sent through and logged by Wowza.

    For HLS and HDS Wowza does not log the pause and unpause commands, so it is difficult (impossible?) to determine if the video is playing. Is this an option that can be set in Wowza, or is it due to the http based protocols?

    Do you have any suggestions on how we can track how much of a video a user has viewed?


    Thanks

    David.

  2. #2

    Default

    Hello, please take a look at this guide:
    How to gather user streaming statistics

    Kind regards,

    Salvadore

  3. #3
    Join Date
    Nov 2010
    Posts
    12

    Default

    Hi Salvadore,

    Thanks for your message.

    We are able to pass id information through to the log files.

    The problem is determining how much of the video has been viewed by a user. HLS and HDS do not appear to send pause and unpause events do not appear to be logged by Wowza. Is this an option in Wowza or is it a function of the http based protocols?


    Cheers

    David.

  4. #4
    Join Date
    Feb 2015
    Posts
    1

    Default

    Thanks salvadore, really useful info.

  5. #5
    Join Date
    Jun 2012
    Posts
    724

    Default

    Hi,

    This is player specific behavior. For VOD files, when a VOD HLS stream is requested, all the media chunk information is available in the chunklist file received by the player. Normally, when this chunklist is received, the player starts to download the media chunks, whether the user is watching the entire video or not. Since the chunks are downloaded by the player in advance, on the Wowza server side there is no way of knowing how much of the video was already played back by a particular client.

    Zoran

Similar Threads

  1. How many GB ram do i need? and how to calculate?
    By oomworld in forum General Forum
    Replies: 1
    Last Post: 07-28-2014, 05:55 AM
  2. Replies: 1
    Last Post: 04-19-2014, 01:36 PM
  3. How can I protect my secure streams from being viewed /played on VLC
    By BigBill in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 01-27-2014, 06:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •