Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ShareScreenButton and ShareCameraButton for janus adapter #34

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

vincentfretin
Copy link
Member

This is my ShareScreenButton, ShareCameraButton and video system I use with janus adapter.
For now I duplicated index.html to janus.html, you can compare easily the two files.
The example uses video-texture-target and media-frame components from gltf-model-plus, see c-frame/aframe-gltf-model-plus#16

More work to be done to be compatible with easyrtc adapter.

@vincentfretin
Copy link
Member Author

vincentfretin commented Mar 28, 2024

If you want to test locally:

cd janus-plugin-sfu/docker
docker compose up

cd naf-valid-avatars
npm run dev2 # on port 8080

cd naf-janus-adapter
npm start # so it is on 8081

go to https://192.168.1.15:8080/janus.html

@vincentfretin
Copy link
Member Author

For prod, you don't need to run any nodejs server (so no npm start or npm run dev2 command), just use a static build (npm run build) and nginx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant