Releases: michaelfig/mediasoup-broadcast-example
Update mediasoup-client on npm install
This is to help prevent problems caused by version skew when using a new mediasoup against an old mediasoup-client. We still only support MediaSoup v2.
Fix autoplay with Chrome
Newer Chrome browsers need the muted
attribute on the video tag in order for autoplay
to work. Without it, the subscriber receives data from mediasoup but the video tag is just black.
This release fixes that issue and adds a Muted checkbox to the subscriber.
Improve MJPEG support
- Better Fetch API error diagnostics
Have fun,
Michael.
MJPEG IP Camera Support
- Refine publisher UI to allow for split audio/video sources.
- Add MJPEG IP Camera publisher based on Cacao
- Add Sony IP Camera MJPEG support (DataLen header instead of Content-Length)
Have fun,
Michael.
Edge fixes
-
Don't use secure TURN (
turns:
) URLs for Edge, as it causes anInvalidAccessError
. -
Poll the video dimensions to keep the resolution display up-to-date.
Simulcast and some statistics.
The subscriber can choose the simulcast profile to use (high, medium, low), and the publisher and subscriber each show resolution and bandwidth usage.
Because the example uses H264, the simulcast options will only be available when the producer supports H264 simulcast. Currently, no released browsers do, but the option exists in libwebrtc behind a Field Trial:
// Enable H264 Simulcast field trial.
webrtc::field_trial::InitFieldTrialsFromString("WebRTC-H264Simulcast/Enabled/");
Have fun!
Michael.
Minor fixes.
This release fixes #1, where we would create invalid turnServers configuration (containing an empty string) if the TURN_SERVERS environment variable was not set.
Also, if a client understands multiple rooms per WebSocket, we send the channel name as part of the MS_NOTIFY packet.
Other minor cleanups.
Relative ingress paths, and Coturn TLS TURN server support
-
This version works properly for Kubernetes ingress paths other than
/
-
Add support for the
michaelfig/coturns
Docker image, a TLS-enabled TURN server running on port 443: https://hub.docker.com/r/michaelfig/coturns/
Enjoy!
Initial release
The first working release of the broadcast example.
Enjoy!