videojs-osmf icon indicating copy to clipboard operation
videojs-osmf copied to clipboard

hds/hls integrated in video-js-swf using the flash interface.

Open aldfeu opened this issue 10 years ago • 2 comments
trafficstars

Hi,

I have integrated parts of your project directly as a provider in video-js-swf. https://github.com/dacast/video-js-swf I use the flash interface (media/flash.js). So no need to load an external osmf.js with video.js

It works fine. You can stop/unload/reload backend, play live/vod/playlist and use mbr dynamic/manual switching. I just have 1 question. Maybe you can help me.

  • the function getLevels() in the provider (com/videojs/providers/hdsprovider.as) never returns me width and height of all levels of the video. It puzzles me. I tried many resources (streamingurlresources, http resosurces and even the akamai plugin with httpdynamicresource... I don't get dmensions. Do you know how I can get width and height on an hds stream? I tried with jw or flow, no problem they get the information (I tried on same streams of course)

I have also reused the hls provider of mangui. Very cool project. So now, the flash backend plays rtmp/mp4/hls/hds.

We can also integrated dash very easely now. The backend is 150k instead of 50k with hds. BIgger but not that big.

Thanks

aldfeu avatar Dec 15 '14 12:12 aldfeu

Thanks for the info @dacast. I believe the way we're looking at this is the OSMF version is a good place to add features while videojs-swf we're trying to keep rather light-weight. But overall we're still trying to decide the best strategy moving forward with the main video.js swf.

@seniorflexdeveloper It sounds like there's an additional question about retrieving the video dimensions using the OSMF plugin. I think that would match up to the videoWidth/videoHeight APIs of the player. Any thoughts on that?

heff avatar Dec 23 '14 17:12 heff

@heff Me too, I prefer keeping video-js.swf the lightest. My next step is to implement an external load (videojs-osmf.swf, videojs-hls.swf) if it requires a third party provider.

@seniorflexdeveloper yes we are talking about videoHeight/videoWidth. A quality menu with just the bitrates is outdated now. Everybody expect to see videoHeight+' p' instead.

aldfeu avatar Dec 23 '14 19:12 aldfeu