Real Time Communication
Video rooms for consultation
Patients and doctors are connected via WebRTC based video calls. Video is established based on the concept of rooms via a web-based URL. For each appointment, a video room is created with a unique 'room Id'.
Video Room
To join the room open the below URL with 'roomId' and 'userId' as parameters.
https://rtc.demo.medeintegra.app/video/room?roomId=<<ROOM_ID>>&userId=<<USER_ID>>The URL can be opened in the browser (Chrome is Recommended). In case the video room is opened from Android, Chrome Custom Tabs are recommended.
Update Notifications
If the video room is configured with a webhook URL, notifications are received whenever a participant joins or leaves the room.
Participant Joined
{
"eventType": "RTC_ROOM_PARTICIPANT_JOINED",
"eventData": {
"appointmentId": "medeAppointment_ba2c5a30-ff69-41c1-b1ac-7827c651302c",
"roomId": "medeRoom_ba2c5a30-ff69-41c1-b1ac-7827c651302c"
"participantId": "medeUid_ba2c5a30-ff69-41c1-b1ac-7827c651302c"
}
}Participant Disconnected
Last updated
Was this helpful?