-
Notifications
You must be signed in to change notification settings - Fork 104
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 webRTC video #919
Add webRTC video #919
Conversation
danielkaxis
commented
Feb 28, 2024
- Devices can send video over webRTC and media-stream-library-js has to support this.
- Add webRTC connection by using browser RTCPeerConnection to a specific target
- Add currently supported parameters.
- Add easy example player with a form to input credentials. For ease of use, these credentials are stored in localStorage.
Add documenation for webRTC
this.ws.close(1000, 're-initializing connection') | ||
} | ||
|
||
const baseUrl = `wss://signaling.${this.env}.webrtc.connect.axis.com/client` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this is hardcoded to Axis "internal" webrtc client?
Why not allow someone to use their own and let them specify a baseUrl?
I'm especially not fond of passing around environments and let that be the only thing someone can specify.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This whole PR seems to be very "internal" orientated and doesn't really seem to fit the bill of being open source.