0.25.0 #177
dmotz
announced in
Announcements
0.25.0
#177
Replies: 1 comment
-
|
Congrats on the huge release @dmotz! FYI I've updated Chitchatter to use 0.25.0, in case anyone is looking for prior art for a migration: jeremyckahn/chitchatter@e591b5f |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Improvements
makeAction()now returns an action object withsend(),onMessage/onRequest,request(),requestMany(), and progress hooks depending on the action kind. Thanks to @Abdullah-Azbah for writing the initial request/response proposal.passiveroom mode for backup peers. Passive rooms stay dormant until they hear an active peer, avoid connecting to other passive peers, and deactivate again when active work is done. This should make standby/server-side peers much cheaper to keep around. You can use these peers for syncing persisted data. Thanks to @tionis for adding this.onJoinErrorwill now report cases where peers exchange SDP but cannot establish a WebRTC connection, which usually means TURN servers are needed or misconfigured.createTopicStrategy()that makes writing custom pub/sub signaling strategies even simpler.createStrategy()is still available as the lower-level API for protocols that need more control.room.makeAction()no longer returns[send, receive, progress]. It now returns an action object:Request/response actions can be created with kind: 'request':
Room event handlers are now nullable callback properties instead of registration functions:
Media targeting and metadata now use options objects:
The same shape applies to
removeStream(),addTrack(),removeTrack(), andreplaceTrack().This will require existing codebases to migrate syntax when upgrading to 0.25.0.
This discussion was created from the release 0.25.0.
Beta Was this translation helpful? Give feedback.
All reactions