@midsummer-ai/sdk 0.1.0-staging.4749 → 0.1.0-staging.4910
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/calls/contract.d.mts +1 -1
- package/calls/index.d.mts +10 -1
- package/calls/index.mjs +1 -1532
- package/calls/protocol.d.mts +1 -1
- package/calls/react.d.mts +1 -1
- package/calls/react.mjs +1 -1
- package/calls/stand-in.d.mts +1 -1
- package/calls/stand-in.mjs +1 -1
- package/calls/ui.mjs +1 -1
- package/calls-CQQ0NnoP.mjs +1681 -0
- package/here-C2jhTheQ.mjs +1 -1
- package/package.json +1 -1
- package/{protocol-eCEy2GzD.d.mts → protocol-d_NS2wT_.d.mts} +10 -0
package/calls/contract.d.mts
CHANGED
package/calls/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as Json } from "../index-c616Dbux.mjs";
|
|
2
|
-
import { a as CallToken, c as Layer, d as TrackName, r as CallErrorCode } from "../protocol-
|
|
2
|
+
import { a as CallToken, c as Layer, d as TrackName, r as CallErrorCode } from "../protocol-d_NS2wT_.mjs";
|
|
3
3
|
//#region src/calls/index.d.ts
|
|
4
4
|
/** The most a message sent with `send` carries, as JSON. */
|
|
5
5
|
declare const MAX_MESSAGE_BYTES: number;
|
|
@@ -134,6 +134,15 @@ interface JoinOptions {
|
|
|
134
134
|
readonly rtc?: Rtc;
|
|
135
135
|
/** Receive others' videos as they publish them, up to 9 at the half layer: true unless you choose them with `receive`. */
|
|
136
136
|
readonly autoVideo?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* What to publish as the call joins, as `publish` takes it: the devices start while the join is on its way, and they
|
|
139
|
+
* go out with its first answer, a trip sooner than a `publish` after it. A device that won't start is said as an
|
|
140
|
+
* `error` event, and the call joins without it.
|
|
141
|
+
*/
|
|
142
|
+
readonly publish?: {
|
|
143
|
+
readonly mic?: boolean | MediaStreamTrack;
|
|
144
|
+
readonly camera?: boolean | MediaStreamTrack;
|
|
145
|
+
};
|
|
137
146
|
}
|
|
138
147
|
/** A call joined with `join`. */
|
|
139
148
|
interface Call {
|