OSMF with HTTP data stream search resets the starting index...

Hello

I built an OSMF player that allows users to get to where they were during the recovery, but also to rub at the beginning.

FOR EXAMPLE:

A flow is 1 minute.

The user starts playing in 25 seconds.

The user can rub-5 seconds or transmit to 55 seconds.

It works perfectly with RTMP - TimeTrait reports correctly and video is displayed correctly.

FOR EXAMPLE:

Start at 25 seconds, TimeTrait reports: duration = 60, current position = 25 and video display is 25.

Seek to rewinds 5 seconds to the current duration = 60, position = 5, video display is 5.

But...

With the HTTP stream...

Start at 25 seconds. TimeTrait reports: duration = 60, current position = 25 and video display is 50.

Search rewinds 5 seconds before the beginning of the stream and give me a media full... end of the stream.

Start at 30 seconds, TimeTrait reports length = 60, current position = 30 and the video display is 60 Yes give me a media full... end of the stream.

It is quite clear that what is happening is that search HTTP stream reset my starting index to the point of looking as if I had started to play with:

NetStream.play (seekPoint);

Rather than:

NetStream.play();

NetStream.seek (seekPoint);

This, I hasten to add, is a terrible problem from the point of view of my client because it means actually I can't resume content.

Does anyone have ideas, workarounds?

G

After digging in OSMF code I found a SOLUTION:

First of all, make sure you have the latest OSMF source inside your project.

For now it is 2.0.71 (org.osmf.utils.Version).

Go to org.osmf.net.httpstreaming.HTTPNetStream

and make a few changes:

1 change the line # 1441

_initialTime = _dvrInfo! = null? _dvrInfo.StartTime: currentTime;

TO

_initialTime = _dvrInfo! = null? _dvrInfo.StartTime: (_seekTime > 0? _playStart: currentTime);

2. change the line # 1496

_initialTime = currentTime

TO

_initialTime = _seekTime > 0? _playStart: currentTime

That's all!

Now you can listen to MediaPlayerCapabilityChangeEvent.CAN_SEEK_CHANGE event

and immediately.

By the way: If you're going to find all the bugs related to this change feel free to post them here!

Tags: Adobe Media Server

Similar Questions

  • How to adjust the maximum number of results of a particular type when searching in the start menu?

    When searching in the start menu, windows 7 displays only the first 3 shortcuts that match a search term, then displays documents and other file type matches.

    How can I increase the number of corresponding shortcuts that are returned? If this means that get less results of my libraries and stuff, that's fine with me.

    Hello

    Thanks for choosing Microsoft Community.

    I understand from the description of the issue that you are having problems with the increase in search results. I'll be happy to help you with this problem.

    I suggest you to see the links and check if it helps.
    http://Windows.Microsoft.com/en-in/Windows7/change-advanced-indexing-options

    http://Windows.Microsoft.com/en-in/Windows7/improve-Windows-searches-using-the-index-frequently-asked-questions

    http://Windows.Microsoft.com/en-in/Windows7/open-the-search-and-indexing-Troubleshooter

    I hope it helps. If you have problems in the future, please let us know. We will be happy to help you.

  • When I search on the start menu, I see emails that I deleted.

    Original title:

    Start menu

    When I search on the start menu, I see emails that I deleted.

    I want that these emails deleted permanently and is not presented on the search menu. How can I do this?

    The search system is performing one analysis every few hours to check what's new.  Looks like you deleted emails but the scan has not yet executed.

    If you find that the scan never works at all, you can rebuild the search system by opening the Indexing Options (search to find it) and click on rebuild indexes.

  • Search in the start menu displays old emails from my Hotmail account, how can I stop this?

    Search in the start menu displays old emails from my Hotmail account. I find it tiresome and very secure as anyone who uses my computer can read my emails.  I guess my computer is somehow related to my Windows Live account. I did a search for these emails in my Hotmail account and they don't even exist.

    How can I go to stop this? I tried to look in the Windows Live options but couldn't find anything. Thank you

    These files are probably within your e-mail program on your computer (for example, Outlook, Windows Live Mail, Thunderbird or another program).

    You can turn off the messages to appear in the search results, but anyone could still just open your e-mail program and snooping.  The only way to be really sure is to use a password on your computer and let other people use a guest account (or make their own account).
  • How to reset the data counter without resetting the phone

    How to reset the data counter each month so that I can control my data counter with our reset the phone (or) without using factory data reset.

    Thanks for the reply much appreciated.

    Parameters

    Data Manager

    Press the lower left key

    Reset the data counter

  • If you upgrade or change your plan, resets the start date?

    See the question above. I want to know if I upgrade/switch a plan, the start date of the subscription will be based on my initial contract or a new one?

    Not the start date is not reset. The payment date remains the same, the amount of charge are adjusted accordingly.

    Concerning

    Stéphane

  • How can I check the voltage values on the acquisition of data with a data acquisition assistant and the custom scale?

    I use a custom scale and the DAQ assistant to acquire data from a USB DAQ device.  How can I display voltage gross values at the same time?

    Thank you

    David

    Do not use the ladder custom, but read the raw data using the daq assistant and adapts the data later. Or the scale of the data using the inverse of the custom scale.

  • Internet search in the start menu

    I thought that Vista can look on the internet alongside the HDD without launching a browser engine or search by customizing the start menu - is it true?

    TIA

    Tim

    Hello

    The link below should prove beneficial for obtaining a resolution.

    http://www.SevenForums.com/tutorials/557-start-menu-add-search-Internet-link.html

    Thank you

    Aaron
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Problem with task bar and appearance of the start menu.

    My account is the only account on my computer of the family that seemed to have lost the look of Windows Vista in the start menu and taskbar, as well as the windows that appear. It seems to resemble an earlier version of windows, but with the arrows and vista available, wait his gray. I went into the control panel to see if I had changed it accidentally, but he says he's still the appearance of vista. What happened since I restarted the computer the other day, and it's really frustrating.

    Try this:

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    http://www.windowsvistauserguide.com/system_restore.htm

    Read the above for a very good graph shows how backward more than 5 days in the System Restore Points by checking the correct box.

    See you soon.

    Mick Murphy - Microsoft partner

  • Reset the Start Menu.

    Hello

    Once, I installed Ubuntu in Vista, do a dual boot. Later, I uninstalled Ubuntu, but am stuck now with 'Ubuntu' always in the start menu. Whenever I start my PC, I'm prompted to choose if I want to start Vista or Ubuntu. If I chose Ubuntu, it can not load the operating system, because a file is missing or corrupt... Of course its lack, I uninstalled this OS!

    How to make more Vista to start as before without asking me if I want to start Vista or Ubuntu just is not in the system?

    How can I get my PC market immediately in Vista, just like when I bought and installed Vista?

    Thanks in advance.

    Hello
     
    To remove the entry from the start menu, try the following steps.
    1. click on start, type msconfig and press to enter.
    2. click on the Startup tab.
    3. choose the right boot menu item in the list, then click Remove.
    4. apply the changes and restart the computer for the changes to take effect.
     
    NOTE: Change the incorrect startup entries can cause Windows to malfunction.
     
    Visit this link for more information on 'Introduction to the Boot Options':
    http://msdn.Microsoft.com/en-us/library/ms791478.aspx
     
    I hope this helps.
     
    Kind regards
    Syed
    Answers from Microsoft supports the engineer.
  • No Page 1 - how to reset the start page

    I deleted my page 1. I have reset the connection process to go to page 2 and reset the logout URL to go to page 2. Yet if I refer to the application without specifying the start page http://localhost: 8080/apex/f? p = 137, when I login it sends me on the first page and then gives me an error b/c there is no page 1. What I missed. TIA.

    Request Express 4.0.2.00.06
    Linux
    Oracle 11g R1
    PL/SQL gateway

    You need to make changes in two places

    In the process of "login" on page 101

    wwv_flow_custom_auth_std.login (
         P_UNAME =>: P101_USERNAME,
         P_PASSWORD =>: P101_PASSWORD,
         P_SESSION_ID => v ('APP_SESSION')
         P_FLOW_PAGE =>: APP_ID | | ': 7'
         );
    

    and also in the shared components > change the security attributes

    Home Link: f? P = & APP_ID.: 7: & SESSION.
    

    As you can see I am referring to page 7 instead of 1.

    I hope you will be useful

    concerning

    Gerard

  • no option to search in the starting area

    How to restore the search all programs in the stat box all I have now is for all programs

    How to restore the search all programs in the stat box all I have now is for all programs

    Hello

    This can occur if the Windows search feature has been disabled.

    Open Control Panel and select programs and features.

    In the left menu, click on turn Windows features ON or Off point.

    When the dialog window fills, scroll down and put a check mark in the point of Windows search.

    Click OK.

    This should allow the search box in the Start Menu.

    Concerning

  • Adobe Premiere CS6 date limit/crashes at the start of the project of new/old.

    Hello. I have some difficulty in the last number of weeks with Adobe where once I run the app and start a new/old project that will double almost immediately itself down. I looked most everywhere, but nobody else seems to have this specific problem and I'm looking for help.

    Hi Darren,

    What operating system do you use?

    Have you updated the program in 6.0.5

    Thank you

  • Reset the starting position of the mouse

    I'm working on a project where the content is another capture etc, more information, screenshot, information.
    The problem I have is that the mouse begins on the 2nd plug where it finished on the first capture.
    Is it possible to break the chain of the mouse so that it starts again in the Center?

    Hi there trinitybay9

    Yes. Just duplicate the slide where the mouse has stopped just before you want to reposition. Remove all objects but the mouse. Place your mouse at the new desired starting point. Now adjust the timing of the mouse and the diapositive.1 seconds.

    The net result should be that the mouse appears in the starting position so quickly, that he does not notice the user.

    See you soon... Rick

  • Need help with loading BSO cube with several data export files using the Regional service

    Hello

    We have BSO cubes that are huge and when I expoted data in files, it generated ABC.txt, ABC_1.txt, ABC_2.txt, like this.

    How to load this data in the Cube that sits on the other environments? We use Essbase 9.3.1.

    I can load the individual files using EAS data loading? If so, ABC_2.txt then ABC_1.txt and finally an ABC.txt would be the loading sequence back?

    Please suggest.

    As Essbase is written this block by block, each block will have its complete info if it is done as a single export or parallel export. You can easily prove this (and I have) If you export a database and load only files 2 or 3, it loads without error. don't forget that you load a file rules, the load fails when the first error. There is no error found, so a value of a complete block of information must be present. Also open export (large files can be opened with wordpad) and you will see a complete info for block exery

Maybe you are looking for