openvidu icon indicating copy to clipboard operation
openvidu copied to clipboard

add token role to participant event (CDR and webhook)

Open mihailj opened this issue 2 years ago • 2 comments

Hello,

I've found extremely useful to have the participant role information in the participantJoined event.

Since it's a 'one-liner' (well technically 3 lines including the webhook integration test) I don't think that it needs more explanations. :smile:

Regards, Mihail

mihailj avatar May 04 '22 11:05 mihailj

Thanks for your suggestion && PR @mihailj :smile: . @pabloFuente . What do you think of this?

We support in OpenVidu PRO/ENTERPRISE an API to change the role of a connection. I am not sure how consistent it is to add this to the webhook event.

cruizba avatar Jun 09 '22 15:06 cruizba

We support in OpenVidu PRO/ENTERPRISE an API to change the role of a connection. I am not sure how consistent it is to add this to the webhook event.

Good point about that! It will probably also need a new participantRoleChanged CDR Event...

mihailj avatar Jun 09 '22 15:06 mihailj