M
M
Maxim Chornopolsky2021-08-18 13:50:49
API
Maxim Chornopolsky, 2021-08-18 13:50:49

How to create videoroom via API in janus?

I can’t enter the rest api of Janus

https://janus.conf.meetecho.com/docs/videoroom.html
here they say to send Create like this https://i.imgur.com/ObFkNVL.png
but, I guess, from above it should be wrapped in something like this
https://i.imgur.com/5ZQMRKo.png
I don't understand what should be nested, can anyone tell me?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Chornopolsky, 2021-08-18
@Voiddancer

{"janus":"message_plugin","transaction":"Q3ohu2pi2I4L","admin_secret":"dsadasdsadasds","plugin":"janus.plugin.videoroom","request":{"request":"create","room":312312231,"permanent":false,"is_private":false}}

and send it to :7889/admin POST.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question