streama icon indicating copy to clipboard operation
streama copied to clipboard

HLS Playback

Open cruurds opened this issue 3 years ago • 1 comments

Sources used :

  • (clone) https://github.com/cruurds/streama
  • https://github.com/video-dev/hls.js To integrate HLS.js into Streama:
  1. clone https://github.com/streamaserver/streama
  2. bower install
  3. bower install hls.js
  4. include hls.js dist file to (grails), the file is located in grails-app/assets/javascripts/streama/directives/streama-video-player-directive.js
  5. add upload types, file located, grails-app/conf/application.yml

cruurds avatar Feb 21 '22 14:02 cruurds

How did you resolve the conflicts between ES5 and ES6 at compiling the app?

  • If you get in cmd FAIL at compiling the app and make it .jar for VPS

Update:

The conflict is solved by not compiling the "org.webjars.bowergithub.video-dev:hls.js:0.10.1". If it's downloaded automaticaly as an external library you need to basicaly excluded.

So in build.gradle delete or comment this line compile "org.webjars.bowergithub.video-dev:hls.js:0.10.1" and add in the exluded groups this line exclude group: 'org.webjars.bowergithub.video-dev:hls.js:0.10.1'

tybylyk avatar Aug 31 '22 09:08 tybylyk