OpenVidu 2.19 - Custom Layout not working

Hello everyone,

I’m updating from an old version of OpenVidu to the latest one.

However, custom layout is not working in version 2.19.

In .env file has the following variables set:

OPENVIDU_RECORDING_CUSTOM_LAYOUT=/media/recording/files/layout/
OPENVIDU_RECORDING_COMPOSED_URL=https://test.server.com.br

The directory /media/recording/files/layout/ contains the following:

/media/recording/files/layout/
└── sample
    ├── assets
    │   └── logo.png
    ├── css
    │   └── style.css
    ├── index.html
    ├── js
        ├── main.js
        └── openvidu-browser.js

But, the custom layout isn’t loaded properly on recording:

Does anyone has any ideia the solution for this problem?

Thanks

I think this message belongs here: Set GARBAGE_INTERVAL on 2.12 version - #6 by vitalino

The nginx container running by our deployment serves custom layouts in /opt/openvidu/custom-layout.

From what I can see in your previous posts, you’re locating layout files in /media/recording/files/layout/ and configuring some env variables.

Probably you would not require apache if you put the files in /opt/openvidu/custom-layout and you delete these two environent variables:

  • OPENVIDU_RECORDING_CUSTOM_LAYOUT
  • OPENVIDU_RECORDING_COMPOSED_URL

Anyways if it is working for you, there is no need to check it. But it is just a suggestion.

1 Like

https://docs.openvidu.io/en/2.19.0/advanced-features/recording/#configuring-multiple-custom-layouts

1 Like

I’ll test and report here, thanks for your answer!

1 Like