Javascript API and Janus Video Room Plugin

Hi all. I have been using janus to create a video conferencing app in flutter. The video conferencing feature is actually handled in webview and I uses the Javascript API to connect to the janus server and attach the video room plugin. However, I was wondering if there was any option to allow users to switch between rear and front camera in Javascript. Thank you in advance.

You need to use replaceTrack. There’s an example in the Devices demo.

1 Like

Noted. I checked already and managed to do it. Thank you