flat
April 23, 2021, 7:46am
1
Hi all,
I’m developing an application that makes calls via Nextcloud talk using the API. Although there is an API description available, it is a bit unclear which steps need to be taken and in which order, to setup/start/make the call.
Can anybody help me shine a light on this?
Thanks!
flat
April 23, 2021, 2:48pm
3
Thanks, I’m already in the room.
So I do:
ocs/v2.php/apps/spreed/api/v2/signaling/settings ← retrieves the turn servers, tickets, etc
ocs/v2.php/apps/spreed/api/v3/room/65iy5qiq/participants/active ← retrieves the users in the room
ocs/v2.php/apps/spreed/api/v2/signaling/room ← returns failure
ocs/v2.php/apps/spreed/api/v3/call/room ← status 200 but no call is taking place
So I guess I’m missing something / doing something wrong here.
flat
April 24, 2021, 6:40pm
4
So I’ve tried with the web client and sniffed the traffic. I redid all the requests with curl to see what happens and where it fails.
My call to:
/ocs/v2.php/apps/spreed/api/v2/signaling/{room}
/ocs/v2.php/apps/spreed/api/v3/room/{room}
Both seem to fail with the following message:
“ocs”:{“meta”:{“status”:“failure”,“statuscode”:404,“message”:null},“data”:[{“type”:“usersInRoom”,“data”:[]}]}}
Anybody any idea why?
BMerz
January 8, 2023, 6:18pm
5
Did anyone manage to do this? I was trying the same scenario but couldn’t succeed.
Thanks!