Skip to content
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

how to use with scalelite? #39

Closed
mohammad362 opened this issue Sep 13, 2021 · 3 comments
Closed

how to use with scalelite? #39

mohammad362 opened this issue Sep 13, 2021 · 3 comments

Comments

@mohammad362
Copy link

How to use bbb-mp4 with scalelite?

@mohammad362 mohammad362 changed the title how to use with scalelite how to use with scalelite? Sep 13, 2021
@arun-hel
Copy link
Collaborator

Hi @mohammad362

  • Install bbb-mp4 on each bbb-server
  • Make sure all bbb-mp4 will keep mp4 at one common place ( You can use nfs mounting ). change COPY_TO_LOCATION in .env
    for example COPY_TO_LOCATION=/mnt/scalelite-recordings/var/bigbluebutton/mp4
  • Copy index.html and download-button.js from any bbb server where you have bbb-mp4 installed to scalelite server
    index.html location in bbb server : /var/bigbluebutton/playback/presentation/2.3/index.html
    download-button.js location in bbb server : /var/bigbluebutton/playback/presentation/2.3/download-button.js
  • Create a file mp4_recording.nginx on scalelite server with below code,
location /mp4 {
    root   /var/www/bigbluebutton-default;
    index  index.html index.htm;
    expires 1m;
}
  • Mount all those files and mp4 folder to scalelite nginx container
    Add below lines to nginx container's volume section (please change the files locations as per your setup)
   
        # Mp4 files mounting to  nginx container 
        - /mnt/scalelite-recordings/var/bigbluebutton/mp4/:/var/www/bigbluebutton-default/mp4/
        # mp4 playback support
        - ./bbb-mp4/mp4_recording.nginx:/etc/bigbluebutton/nginx/mp4_recording.nginx
        - ./bbb-mp4/playback/index.html:/var/bigbluebutton/playback/presentation/2.3/index.html
        - ./bbb-mp4/playback/download-button.js:/var/bigbluebutton/playback/presentation/2.3/download-button.js


@mohammad362
Copy link
Author

Hi @mohammad362

* Install bbb-mp4 on each bbb-server

* Make sure all bbb-mp4  will keep mp4 at one common place ( You can use nfs mounting ). change COPY_TO_LOCATION in .env
  for example COPY_TO_LOCATION=`/mnt/scalelite-recordings/var/bigbluebutton/mp4`

* Copy index.html and download-button.js  from any bbb server where you have bbb-mp4 installed  to scalelite server
  index.html location in bbb server :` /var/bigbluebutton/playback/presentation/2.3/index.html`
  download-button.js location in bbb server  : `/var/bigbluebutton/playback/presentation/2.3/download-button.js`

* Create a file mp4_recording.nginx on scalelite server with below code,
location /mp4 {
    root   /var/www/bigbluebutton-default;
    index  index.html index.htm;
    expires 1m;
}
* Mount all those files and mp4 folder to scalelite nginx container
  Add below lines  to nginx container's volume section (please change the files locations as per your setup)
   
        # Mp4 files mounting to  nginx container 
        - /mnt/scalelite-recordings/var/bigbluebutton/mp4/:/var/www/bigbluebutton-default/mp4/
        # mp4 playback support
        - ./bbb-mp4/mp4_recording.nginx:/etc/bigbluebutton/nginx/mp4_recording.nginx
        - ./bbb-mp4/playback/index.html:/var/bigbluebutton/playback/presentation/2.3/index.html
        - ./bbb-mp4/playback/download-button.js:/var/bigbluebutton/playback/presentation/2.3/download-button.js

thanks, i test and report

@mohammad362
Copy link
Author

Thanks, Worked Perfectly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants