Results 1 to 5 of 5

Thread: HTTP streaming / start from any second

  1. #1

    Question HTTP streaming / start from any second

    Hello and good time of day.

    Is there any way to implement youtube-like feature to start from any moment in http video-on-demand mode?
    There is no way to use rtmp in some cases.

    Thanks in advance.

  2. #2

    Default

    Hi Eliont, if I'M not mistaken , for http playback iphone directly open its native player , ipad can play video on custom html5 player, also mac too.
    This problem can be solved with javascript.

    function seekTo(evt) {
    evt.target.currentTime = theSeekTime;
    evt.target.removeEventListener("loadeddata", seekTo); /*loaded data is media event of Mozilla, https://developer.mozilla.org/en-US/...s/Media_events */
    };
    var theSeekTime = whatSecondsYouWannaSeek ; //int
    if ((navigator.userAgent.indexOf('iPhone') != -1) || (navigator.userAgent.indexOf('iPod') != -1) || (navigator.userAgent.indexOf('iPad') != -1)) {

    this.addEventListener("loadeddata", seekTo);

    }else{
    this.currentTime = theSeekTime ;
    }
    I wish it will help you.

    --
    Emre Karatasoglu
    emre.karatasoglu@hotmail.com
    http://letheasoftware.com
    http://emrekaratasoglu.com
    Last edited by letheasoftware; 10-09-2014 at 07:15 AM.

  3. #3

    Default

    Quote Originally Posted by letheasoftware View Post
    I wish it will help you.
    Thanks, but i need to get it works not only on tablets.

    Something like:
    Skip the first ten seconds:
    http://*.*.*.*:*/vod/mp4:sample.mp4/playlist.m3u8?start=10000
    or
    http://*.*.*.*:*/vod/sample.mp4?start=10000
    Seeking to any moment of vod with http.

    iOS link works on android tablets too, but not on desktop.
    'Other' link using 'rtsp' instead of http.

  4. #4
    Join Date
    Jun 2012
    Posts
    724

    Default

    Hi,

    Please take a look at the "How to specify a play start time and duration for HTTP streaming" forum article.
    I think that using this you can achieve your desired workflow.

    Zoran

  5. #5

    Default

    Big thanks, i will read and try.

Similar Threads

  1. HTTP streammanager start stop streamaction php woza API
    By miguelpalacios in forum General Forum
    Replies: 1
    Last Post: 05-26-2013, 04:55 PM
  2. Muliti-bitrate playlist for HTTP Streaming vs HTTP Segmented stream
    By welbyobeng in forum Video On Demand Streaming Discussion
    Replies: 2
    Last Post: 06-09-2012, 04:10 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
  •