-
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
OSMF: subclipping feature #9
Comments
Hi @mangui, Thanks. |
Hi @kalimba then you would have to pass these values to HLS OSMF traits (all traits dealing with playlist duration / media position / buffer size, they are here : https://github.com/mangui/flashls/tree/master/src/org/mangui/osmf/plugins/traits) and take these clipping parameters into account. having basic clipping working for VoD playlist should not be too complex, but handling live playlist (with sliding window) might be more difficult. |
Hi @mangui, i'm going to use only for VOD. It is impelented to osmf-hls-plugin. At https://github.com/denivip/osmf-hls-plugin/blob/cc2a21335835a25f929ec091fd0681294f0d92be/HLSPlugin/src/org/denivip/osmf/elements/m3u8Classes/M3U8PlaylistParser.as |
Hi @mangui , Thanks. |
no schedule |
Hi @mangui , Thanks. |
Hi @sathasivam11 according to https://github.com/theturtle32/OSMF-AppleHLS/blob/master/OSMF/org/osmf/net/StreamingURLResource.as#L86-L87, one way is to perform this conversion in the Traits (HLSNetStreamLoadTrait,HLSSeekTrait.as,HLSTimeTrait) the best solution would be to add this subclip functionality in flashls itself, and modify _hls.load() prototype (add 2 optional args, clipStartTime and clipEndTime). |
please note that subclipping has been implemented in FlashlsFlowplayer, refer to the last commits on https://github.com/mangui/flashls/commits/master/src/org/mangui/flowplayer/HLSStreamProvider.as |
Hi @mangui, Thanks |
Hi @mangui Should i focus there lines to implement it? flashls/src/org/mangui/osmf/plugins/loader/HLSLoaderBase.as flashls/src/org/mangui/osmf/plugins/loader/HLSLoaderBase.as Lines 91 to 131 in b4f4b2e
flashls/src/org/mangui/osmf/plugins/traits/HLSNetStreamLoadTrait.as flashls/src/org/mangui/osmf/plugins/traits/HLSNetStreamLoadTrait.as Lines 49 to 65 in b4f4b2e
Thanks |
add API to support subclipping feature
in OSMF it should be done using clipStartTime,clipEndTime :
https://github.com/theturtle32/OSMF-AppleHLS/blob/master/OSMF/org/osmf/net/StreamingURLResource.as#L86-L87
The text was updated successfully, but these errors were encountered: