You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add MqttDriver for signaling using MQTT over WebSockets.
Add CentrifugeDriver for signaling using a Centrifuge-based backend.
Add ackTimeout option to SocketIoDriver to specify the timeout for acknowledgments from the server.
Add iceCandidateDebounce option to Peer to specify the debounce time for sending ICE candidates via signaling.
Add example code snippets showing how to run some backends locally for testing using Docker.
Changed
Rename dispatch method to publish in the Driver interface for better clarity and consistency with common messaging terminology.
Rename publish and unpublish methods in the Peer and RemotePeer classes to share and unshare respectively to avoid confusion with the publish method in the Driver interface.
The SseDriver uses a Mercure-compatible endpoint by default (/.well-known/mercure).
The Driver class sets the active accessor to false by default.
The room property is escaped when namespace hashing is disabled.
Most drivers use peer or room identifiers as event names instead of concatenating them, which simplifies implementation and shortens event names.
Some drivers use empty prefixes by default, so if you want to use a prefix, you need to specify one in the options.
Some drivers with a prefix property add an additional string to the beginning of the event name without any separators, so if you want to separate the prefix from the event name, you need to include a separator in the prefix.
Use a Protobuf-like format for signaling messages instead of a custom binary format.