I currently have the openvidu server open, and it works fine when I test it at https://localhost:4443/api/sessions with postman.
Postman result
I write the code as shown in the picture and test it, but the following error occurs.
Spring Boot Code
400 Error
Even if I create a default session ID without a custom session ID, the same thing happens.
The default created object was:
{“mediaMode”:”ROUTED”,”recordingMode”:”MANUAL”,”defaultRecordingProperties”:{“name”:””,”hasAudio”:true,”hasVideo”:true,”outputMode”:”COMPOSED”,”recordingLayout”:”BEST_FIT”,”resolution”:”1280×720″,”frameRate”:25,”shmSize”:536870912},”customSessionId”:””,”forcedVideoCodec”:”MEDIA_SERVER_PREFERRED”,”allowTranscoding”:false}
I can’t find a solution. Thank you for your help.
유재혁 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.