You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -372,5 +478,41 @@ Removes the current user from the room's session (not the room itself). This als
372
478
- **Request**: `/ovTeachingApi/room/roomA/user`
373
479
Username: teacher
374
480
Password: pass
481
+
- **Response**:
482
+
200OK
483
+
484
+
### Send signal ###
485
+
Send an OpenVidu signal from the backend. Intended for moderators only. Users who are subscribed to the signal get the `from` field as undefined (that's how they know the signal came from the backend).
486
+
- **URL**
487
+
`/ovTeachingApi/room/{roomName}/signal/{type}`
488
+
- **Method**
489
+
`POST`
490
+
- **Required role**:
491
+
System: User
492
+
Room: Moderator
493
+
- **Data Params**
494
+
Path Variables:
495
+
* String roomName
496
+
* String type: The type of the OpenVidu signal. Users must be subscribed to `signal:{type}`\
497
+
Body:
498
+
~~~~ json
499
+
{
500
+
"to": string[],
501
+
"data": any
502
+
}
503
+
~~~~
504
+
* to: The array of connectionId of the users who will receive the signal
0 commit comments