@deadair/sdk 0.85.1 → 0.85.3
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/dist/index.js +34 -0
- package/dist/index.js.map +1 -1
- package/dist/playout/playout.client.d.ts +16 -1
- package/dist/playout/playout.client.d.ts.map +1 -1
- package/dist/playout/types/playout.types.d.ts +40 -0
- package/dist/playout/types/playout.types.d.ts.map +1 -1
- package/dist/schedule/types/schedule.types.d.ts +6 -0
- package/dist/schedule/types/schedule.types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3889,6 +3889,40 @@ var PlayoutClient = class {
|
|
|
3889
3889
|
});
|
|
3890
3890
|
return await parseJson(result);
|
|
3891
3891
|
}
|
|
3892
|
+
/**
|
|
3893
|
+
* @name Arm the live input
|
|
3894
|
+
* @description Arms the live input. From here, real signal from an encoder connected to it starts a short countdown, and then the presenter is on the air above the station's own programme. Arming an input that is already armed or on the air only replaces the title
|
|
3895
|
+
*/
|
|
3896
|
+
async armTheLiveInput(body) {
|
|
3897
|
+
const result = await this.fetch(`/playout/live/arm`, {
|
|
3898
|
+
method: "POST",
|
|
3899
|
+
headers: {
|
|
3900
|
+
"Content-Type": "application/json"
|
|
3901
|
+
},
|
|
3902
|
+
body: JSON.stringify(body, bigIntReplacer)
|
|
3903
|
+
});
|
|
3904
|
+
return await parseJson(result);
|
|
3905
|
+
}
|
|
3906
|
+
/**
|
|
3907
|
+
* @name Disarm the live input
|
|
3908
|
+
* @description Disarms the live input. A presenter on the air is handed back to the station at once
|
|
3909
|
+
*/
|
|
3910
|
+
async disarmTheLiveInput() {
|
|
3911
|
+
const result = await this.fetch(`/playout/live/disarm`, {
|
|
3912
|
+
method: "POST"
|
|
3913
|
+
});
|
|
3914
|
+
return await parseJson(result);
|
|
3915
|
+
}
|
|
3916
|
+
/**
|
|
3917
|
+
* @name Get the live input connection
|
|
3918
|
+
* @description What an encoder needs to connect to the live input: the port, the mount, the user and the password
|
|
3919
|
+
*/
|
|
3920
|
+
async getTheLiveInputConnection() {
|
|
3921
|
+
const result = await this.fetch(`/playout/live/connection`, {
|
|
3922
|
+
method: "GET"
|
|
3923
|
+
});
|
|
3924
|
+
return await parseJson(result);
|
|
3925
|
+
}
|
|
3892
3926
|
};
|
|
3893
3927
|
|
|
3894
3928
|
// src/plugins/types/plugins.types.ts
|