-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stage #152
Comments
yes, I was thinking of making Stage an arg of HLS constructor |
I got this error for VOD: Error: Playback failed,hls.stage not set, cannot parse TS data !!!,Playback failed |
@NicolasSiver about moving Stage initialization in a more important method, like for example as arg of Hls constructor ... HLS instantiation is performed here: https://github.com/mangui/flashls/blob/dev/src/org/mangui/osmf/plugins/loader/HLSLoaderBase.as#L79 as you can see there is no reference to a DisplayObject available in HLSLoaderBase. |
@mangui I am using latest master (zip download) but I got this error. |
@aydink you should use dev branch instead, or any recent release |
Yes, from program architecture point of view. I think you can easily throw Error if stage isn't set at some point? For example, when very first load is requested? Also stage is a good source of ENTER_FRAME. I saw somewhere in sources timer with zero delay. |
Hello Guillaume,
First of all, thank you for your work.
I have question/proposition about Stage object. HLS class is very depended on Stage, but It's just a setter.
I recommend to move Stage initialization in more important method. Anyway, with current implementation, library doesn't work without Stage. Or check for
Stage
could be earlier, before HTTP request to manifest.The text was updated successfully, but these errors were encountered: