streamlinevideo / streamline

A reference system for end to end live streaming video. Capture, encode, package, uplink, origin, CDN, and player.
MIT License
758 stars 88 forks source link

Decouple Client HTML from Video Asset #17

Closed vaage closed 5 years ago

vaage commented 5 years ago

Before the client HTML was heavily coupled to the video asset that was being served. This required the HTML to be generated each time.

In this change, the JavaScript that starts playback has been changed to read the asset resource from the url params. This allows the same client code to be used regardless of asset.

As part of this decoupling, the HTML, CSS, and JavaScript have been broken-up and moved to a client directory. This was to help them be viewable in isolation.

vaage commented 5 years ago

@colleenkhenry would you be able to verify this change? I was able to verify the client portion in isolation, but not the post to server or end-to-end.

colleenkhenry commented 5 years ago

I'll take a look :)

colleenkhenry commented 5 years ago

Sorry that I'm behind on this. I'll try to get to it before the end of the year with some other updates I am working on :)

colleenkhenry commented 5 years ago

Hey @vaage I'm going to add this into the next version!