Results 1 to 4 of 4

Thread: Using DVR as an indexed Stream

  1. #1
    Join Date
    Jan 2012
    Posts
    7

    Default Using DVR as an indexed Stream

    Hello

    I think this is theorically possible using the playlistrequestdelegate you provided, but cant get it properly working, and i have some question related to the dvr duration or the chunkes size.

    I am planning a most complex service, but the example will show what i would like to get.

    We got a 1 hour stream on dvr (dvr duration of 3600 secs), we record 1 hour only but is a continuous broadcasting and we want to provide 3 links
    1st one to display 5 minutes from minute 2
    2 from 30 to 40
    and 3 one from 41 to 42.
    so i am providing 3 links which provide the strobe player links like this ones:

    http://mywowzaserver:1935/dvr/live4.stream/manifest.f4m?DVR%26wowzadvrplayliststart=120000%26wowzadvrplaylistduration=300000",
    http://mywowzaserver:1935/dvr/live4.stream/manifest.f4m?DVR%26wowzadvrplayliststart=1800000%26wowzadvrplaylistduration=600000",
    http://mywowzaserver:1935/dvr/live4.stream/manifest.f4m?DVR%26wowzadvrplayliststart=2460000%26wowzadvrplaylistduration=60000",

    But is seems to not work allways, sometimes it displayed the same point as previous example, and some time it started at the initial stream time, i set up the debug option but cant apreciate helpful information on logs.

    Am i trying to do something is not supported, or should i modify chuks size?

    Thanks

  2. #2

    Default

    Quote Originally Posted by javicho View Post
    Hello

    I think this is theorically possible using the playlistrequestdelegate you provided, but cant get it properly working, and i have some question related to the dvr duration or the chunkes size.

    I am planning a most complex service, but the example will show what i would like to get.

    We got a 1 hour stream on dvr (dvr duration of 3600 secs), we record 1 hour only but is a continuous broadcasting and we want to provide 3 links
    1st one to display 5 minutes from minute 2
    2 from 30 to 40
    and 3 one from 41 to 42.
    so i am providing 3 links which provide the strobe player links like this ones:

    http://mywowzaserver:1935/dvr/live4.stream/manifest.f4m?DVR%26wowzadvrplayliststart=120000%26wowzadvrplaylistduration=300000",
    http://mywowzaserver:1935/dvr/live4.stream/manifest.f4m?DVR%26wowzadvrplayliststart=1800000%26wowzadvrplaylistduration=600000",
    http://mywowzaserver:1935/dvr/live4.stream/manifest.f4m?DVR%26wowzadvrplayliststart=2460000%26wowzadvrplaylistduration=60000",

    But is seems to not work allways, sometimes it displayed the same point as previous example, and some time it started at the initial stream time, i set up the debug option but cant apreciate helpful information on logs.

    Am i trying to do something is not supported, or should i modify chuks size?

    Thanks
    The time scale the playlist delegate provides is in 'dvrTime' which starts at time=0 and progresses forward as the recording occurs.

    If you use a 1 hour recording window, after one hour, dvrTime of zero no longer exists. It has fallen out of the recording window. For example with a one hour recording window, after 90 minutes of recording, the first available chunk will be at dvrTime=30 minutes.

    I recommend using the example playlist delegate and writing your own. You can query available start times and use a delta from that.

    http://www.wowza.com/forums/content....st-Request-API
    Wowza nDVR Playlist Request API

    The article has examples of querying the available times, creating playlist requests, etc.

  3. #3
    Join Date
    Jan 2012
    Posts
    7

    Default

    Quote Originally Posted by ScottKell View Post
    The time scale the playlist delegate provides is in 'dvrTime' which starts at time=0 and progresses forward as the recording occurs.

    If you use a 1 hour recording window, after one hour, dvrTime of zero no longer exists. It has fallen out of the recording window. For example with a one hour recording window, after 90 minutes of recording, the first available chunk will be at dvrTime=30 minutes.

    I recommend using the example playlist delegate and writing your own. You can query available start times and use a delta from that.

    http://www.wowza.com/forums/content....st-Request-API
    Wowza nDVR Playlist Request API

    The article has examples of querying the available times, creating playlist requests, etc.
    I think i know what are yout saying, my example would only work 1st our after i started the streaming to wowza.
    I am analizying log file, are xctx and xduration time related fields?

    Thanks Scott

  4. #4

    Default

    Quote Originally Posted by javicho View Post
    I think i know what are yout saying, my example would only work 1st our after i started the streaming to wowza.
    I am analizying log file, are xctx and xduration time related fields?

    Thanks Scott
    Correct-- your example would only work before the recording hit one hour.

    I have no idea what xctx and xduration are-- they aren't related the DVR.

Similar Threads

  1. Live Stream For DVR
    By victorv in forum Live Streaming and Encoder Discussion
    Replies: 4
    Last Post: 12-13-2014, 11:38 PM
  2. Detect if stream is a DVR store stream
    By Meinaart in forum Wowza nDVR
    Replies: 1
    Last Post: 02-11-2014, 04:58 AM
  3. Getting your RTMP streams indexed on Google
    By jedirick in forum Showcase
    Replies: 1
    Last Post: 07-20-2012, 04:17 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
  •