RELAY Realtime SDK 3.11.0
· 2 min read
We are happy to announce Realtime-API SDK 3.11.0.
Upgrading is straightforward with our release process, which adheres to Semantic Versioning. Minor versions are guaranteed to not have breaking changes, so you can upgrade with confidence.
Highlights
This new release of version 3.11 of the Realtime SDK introduces improvements and new additions to Voice and Video.
Additional Methods Added To CallRecording
- pause: Ability to pause an active recording on a call.
const recording = await call.recordingAudio({ direction: "both"});
...
await recording.pause();
- resume: Ability to resume a paused recording on a call.
const recording = await call.recordingAudio({ direction: "both"});
...
await recording.resume();
detectInterruptions
Addition
This allows the application to restart message delivery to the answering machine when speech activity is detected after the detector is in a READY
state.
// Start the detector
const detector = await call.amd({ detectInterruptions: true})
New Alias For Context: topic
Now context
or contexts
will have a valid alias of topic
or topics
.
import { Voice } from "@signalwire/realtime-api";
const client = new Voice.Client({
project: "<project-id>",
token: "<api-token>",
topics: ["office"],
});
Fixes
- Fix the new zoomed Video layouts to be appropriately centered.
- Improvements to Detector for AMD detections.