I am looking to use OpenVidu version 3 with v2compatibility. I have an Angular frontend using openvidu-browser, and a Spring Boot backend.
As indicated in the documentation, I updated the libraries to openvidu-java-client-v2compatibility and openvidu-browser-v2compatibility (JS). On the server side, I cloned openvidu-local-deployment and started the Pro version Docker Compose.
My issue is on the Spring Boot side. When generating the token with:
return session.generateToken(tokenOptions);
the request is sent to:
http://localhost:4443/openvidu/api/tokens
but this endpoint returns a 405 error. It looks like this route does not exist. I don’t understand how this could work out of the box without it, as the token now seems to be provided by LiveKit.
I would like to know if I can still use v2 compatibility with OpenVidu 3, or if I should plan for a migration to v3.
Thank you for your help.