Wednesday, October 10, 2012

[YouTube-API] some questions of youtube api on video stallings, playout time

I want to do some tests to get some youtube streaming quality results.
the following procedures will be run through scripts

the script will open a firefox browser to view a video for 200 seconds, the video length varies, could be much less or much more than 200 seconds
after 200 seconds the firefox process will be killed
 
1  log when the buffering finish
  if the video can be fully buffered before 200 seconds, is there an event like "buffer_complete()" that indicate the buffering finishes,
   besides, I think the API player.getCurrentTime() is the elapsed time on the video timeline. For example, since the player starts, 10 seconds have elapsed, but due to video stalling,
the video is still at 6 second point, player.getCurrentTime() returns 6. so is there an API that return 10 in this case?
 

2 log how much video time has been buffered
  if the video can't be fully buffered in 200 seconds, is there an API that shows how much video content has been buffered, in terms of time or bytes

3 is there an API that can detect video stallings? and the length of each stalling


thanks very much!

--
Starting October 15, 2012, this group will stop accepting new posts. We recommend that developers start using Stack Overflow and the Issue Tracker for YouTube API support. More details about this change and relevant links can be found at http://apiblog.youtube.com/2012/09/the-youtube-api-on-stack-overflow.html
 
 

No comments:

Post a Comment