Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/api/callWSConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Client } from 'webitel-sdk';

const { hostname, protocol } = window.location;
const origin = (`${protocol}//${hostname}`).replace(/^http/, 'ws');
const BASE_URL = import.meta.env.PROD ? `${origin}/ws` : 'wss://dev.webitel.com/ws';
const BASE_URL = import.meta.env.PROD ? `${origin}/ws` : 'wss://test.webitel.me/ws';
// const BASE_URL = 'ws://10.10.10.25:10025';

let cliInstance = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,18 @@
>{{ $t('pages.card.callAgent') }}
</wt-button>
</div>
<!-- <video v-if="mediaStream"
:srcObject="mediaStream"
width="200" height="200"
autoplay playsinline muted style="border: 1px solid red;"
></video> -->

<div
v-if="mediaStream"
>
<wt-vidstack-player
v-for="session in cli?.spyScreenSessions" :key="`screen-${session.id}`"
:stream="mediaStream"
:stream="session.stream"
:session="session"
:screenshot-status="screenshotStatus"
:screenshot-is-loading="screenshotIsLoading"
Expand All @@ -88,6 +93,7 @@
import { computed, onMounted, onUnmounted } from 'vue';
import { useStore } from 'vuex';
import { useRouter } from 'vue-router';
import {WtVidstackPlayer} from '@webitel/ui-sdk/components';
import AgentStatusSelect from '@webitel/ui-sdk/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue';
import getNamespacedState from '@webitel/ui-sdk/src/store/helpers/getNamespacedState';

Expand Down
Loading