When I use the Face AR SDK on Web, I want to get a mediastream to push the stream to my server

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