UNPKG

@nethesis/phone-island

Version:
3 lines (2 loc) 989 B
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../node_modules/tslib/tslib.es6.js"),t=require("../node_modules/@rematch/core/dist/core.esm.js").createModel()({state:{INACTIVE_DEADLINE_TIME:27e5,CHECK_INTERVAL_TIME:3e6,janusInstance:null,sipcall:null,jsepGlobal:null,remoteAudioStream:null,localAudioStream:null,localVideoStream:null,remoteVideoStream:null,lastActivity:null,registered:!1,isDetached:!1,destroyed:!1,isAnswering:!1},reducers:{updateWebRTC:function(t,r){return e.__assign(e.__assign({},t),r)},updateRemoteAudioStream:function(t,r){return e.__assign(e.__assign({},t),{remoteAudioStream:r})},updateLocalAudioStream:function(e,t){return e.localAudioStream=t,e},updateLastActivity:function(t,r){return e.__assign(e.__assign({},t),{lastActivity:r})},updateLocalVideoStream:function(e,t){return e.localVideoStream=t,e},updateRemoteVideoStream:function(e,t){return e.remoteVideoStream=t,e}}});exports.webrtc=t; //# sourceMappingURL=webrtc.js.map