Skip to main content
Known Participant
January 11, 2013
Question

How to address a specific time in VOD for iOS

  • January 11, 2013
  • 1 reply
  • 1016 views

Using Flash and RTMP it's easy to go to a specific time in a VOD stream served from AMS using the seek method.

Is there similar ability to seek to a specific time in VOD delivered to Safari on iOS?  The native video player provides a currentTime method, but I've not seen documentation anywhere to suggest currentTime or another method to provide rapid and accurate time based access from AMS.

FWIW, Wowza documentation provides an answer:

http://www.wowza.com/forums/content.php?326-How-to-specify-a-play-start-time-and-duration-for-HTTP-streaming

TIA,

RT

This topic has been closed for replies.

1 reply

Adobe Employee
January 17, 2013

You must use seekToTime api of the AVPlayer  Here is the documentation: https://developer.apple.com/library/mac/#documentation/AVFoundation/Reference/AVPlayer_Class/Reference/Reference.html

currentTime just returns the current time... I don't think you can set it.

rtinfowAuthor
Known Participant
January 17, 2013

Nitin, the link you provided is a bit better than nothing, but it refers to the AVPlayer object in applications, rather than iOS delivered data.  In our experience currentTime is a settable property for the native video player in mobile Safari, using a normal progressive uploaded stream, as the documentation shows:

http://developer.apple.com/library/safari/#documentation/AudioVideo/Reference/HTMLMediaElementClassReference/HTMLMediaElement/HTMLMediaElement.html

The question is "Are there browser based methods that seek AMS delivered streams more quickly or with better accuracy?" 

Everyone is aware that mobile is exploding.  On some of our videocentric apps the share for iOS is approaching 20%.  PM Kevin Towes, what are you doing to accomodate this need???