Menu

#83 playState not accurate enough/incorrect

CVS
closed-fixed
Plugin (92)
5
2006-01-11
2005-11-27
No

The plugin attemps to provide the playState attribute
for use in javascripts, which is neat.
The attribute "playState" is currently not very
accurate, or one might even say incorrect.

Playing an .asx (wmv) stream will only provide me with
2 playstate changes (I have a 500 ms timer that checks
for playstate changes):
Chronologically:
- Buffering (6) (when the plugin also visually says
"Buffering" - but this state is quickly over)
- Playing (3) (everything after buffering)

Playstate 3 (Playing) currently covers
"Connecting/Connected" and "Playing".

Playstate 0 (Unknown) currently covers media change
through the filename attribute.

It would great if these states were more like the WMP
SDK states.

When a media change is underway or the media is being
"prepared" it should be 9 (Transitioning).

When the current URL is ready to be played is should be
10 (Ready).

When waiting for the server to send initial data after
connecting it should be 7 (Waiting).

If you don't have the Reference Manual from the SDK for
WMP I can provide it for you, or just the playstates list.

If the idea is not to simulate WMPs playstates then i'm
sorry for trouble :)

Thank you

Discussion

  • Seph Soliman

    Seph Soliman - 2005-11-27
    • labels: --> Plugin
     
  • Seph Soliman

    Seph Soliman - 2005-11-27
    • milestone: --> CVS
     
  • Kevin DeKorte

    Kevin DeKorte - 2005-11-27

    Logged In: YES
    user_id=685413

    CVS has been updated to try and get these states a little
    closer to what is expected.

     
  • Seph Soliman

    Seph Soliman - 2005-12-02

    Logged In: YES
    user_id=831311

    I tried CVS a while ago (the same/next day you answered -
    and i havn't updated to recent CVS since then)

    It's much better now ;)

    Thank you :)

     
  • Kevin DeKorte

    Kevin DeKorte - 2005-12-02
    • status: open --> closed-fixed
     
  • Kevin DeKorte

    Kevin DeKorte - 2006-01-11
    • assigned_to: nobody --> kdekorte
     

Log in to post a comment.