@wireapp/avs 10.0.48 → 10.1.4
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/avs_core.js +5 -2
- package/dist/avs_pc.js +0 -1
- package/dist/avs_wcall.d.ts +1 -0
- package/dist/avs_wcall.js +3 -0
- package/package.json +1 -1
package/dist/avs_pc.js
CHANGED
|
@@ -224,7 +224,6 @@ function replace_track(pc, newTrack) {
|
|
|
224
224
|
}
|
|
225
225
|
else {
|
|
226
226
|
var enabled_1 = oldTrack.enabled;
|
|
227
|
-
// newTrack.enabled = enabled;
|
|
228
227
|
sender.replaceTrack(newTrack).then(function () {
|
|
229
228
|
if (!!sender && !!sender.track) {
|
|
230
229
|
sender.track.enabled = enabled_1;
|
package/dist/avs_wcall.d.ts
CHANGED
|
@@ -171,6 +171,7 @@ export declare class Wcall {
|
|
|
171
171
|
setActiveSpeakerHandler(wuser: number, activeh: WcallActiveSpeakerHandler): void;
|
|
172
172
|
requestVideoStreams(wuser: number, convid: string, mode: number, json: string): number;
|
|
173
173
|
processNotifications(wuser: number, processing: number): number;
|
|
174
|
+
audioRecord(wuser: number, path: string): number;
|
|
174
175
|
poll(): void;
|
|
175
176
|
setupEx(flags: number): number;
|
|
176
177
|
setMode(mode: number): void;
|
package/dist/avs_wcall.js
CHANGED
|
@@ -594,6 +594,9 @@ var Wcall = /** @class */ (function () {
|
|
|
594
594
|
Wcall.prototype.processNotifications = function (wuser, processing) {
|
|
595
595
|
return this.em_module.ccall("wcall_process_notifications", "number", ["number", "number"], [wuser, processing]);
|
|
596
596
|
};
|
|
597
|
+
Wcall.prototype.audioRecord = function (wuser, path) {
|
|
598
|
+
return this.em_module.ccall("wcall_audio_record", "number", ["number", "string"], [wuser, path]);
|
|
599
|
+
};
|
|
597
600
|
Wcall.prototype.poll = function () {
|
|
598
601
|
this.em_module.ccall("wcall_poll", "null", [], []);
|
|
599
602
|
};
|
package/package.json
CHANGED