Update nickname programatically

Using OV-Videoconference, how can I programmatically update the nickname? I’ve already set the participantName property, but the nickname is set by default in the OpenVidu_User## form. I’m using openvidu-angular 2.25 with Angular 14.

Thanks.

Using participantName attribute from ov-videconference: OpenVidu Angular Documentation

Hello, I’m already using paticipantName, but I’m also using the preJoin page, and I’d like to use a custom nickname there instead of the generated one.

Tested right now. It works, I don’t understand your problem.


Please see the attached image; the userName has a value (galanblancom). Then stream.participant.nickname has the OpenVidu_User18 form.

Testing it on openvidu components tutorial (custom-stream) works like a charm…