Please see this web example: GitHub - Banuba/quickstart-web: Banuba SDK Web AR example application
Along with these two tutorials:
Mediastream input: Banuba SDK Web AR Common use-cases | Banuba SDK v1.8.1
Mediastream output: Banuba SDK Web AR Common use-cases | Banuba SDK v1.8.1