-
-
+
{videoEnabled ? 'Stop Video' : 'Start Video'}
diff --git a/frontend/app/components/Assist/ChatWindow/ChatWindow.tsx b/frontend/app/components/Assist/ChatWindow/ChatWindow.tsx
index 8af2e0614..8eb2a3620 100644
--- a/frontend/app/components/Assist/ChatWindow/ChatWindow.tsx
+++ b/frontend/app/components/Assist/ChatWindow/ChatWindow.tsx
@@ -1,7 +1,6 @@
//@ts-nocheck
import React, { useState, FC, useEffect } from 'react'
import VideoContainer from '../components/VideoContainer'
-import { Icon, Popup, Button } from 'UI'
import cn from 'classnames'
import Counter from 'App/components/shared/SessionItem/Counter'
import stl from './chatWindow.module.css'
diff --git a/frontend/app/components/Session/LivePlayer.js b/frontend/app/components/Session/LivePlayer.js
index 1106f6dfa..5793e2d52 100644
--- a/frontend/app/components/Session/LivePlayer.js
+++ b/frontend/app/components/Session/LivePlayer.js
@@ -25,7 +25,7 @@ const InitLoader = connectPlayer(state => ({
function LivePlayer ({ session, toggleFullscreen, closeBottomBlock, fullscreen, jwt, loadingCredentials, assistCredendials, request, isEnterprise, hasErrors }) {
useEffect(() => {
if (!loadingCredentials) {
- initPlayer(session, jwt, assistCredendials, true);
+ initPlayer(session, assistCredendials, true);
}
return () => cleanPlayer()
}, [ session.sessionId, loadingCredentials, assistCredendials ]);
diff --git a/frontend/app/player/singletone.js b/frontend/app/player/singletone.js
index 60b8cf8ce..f3a3d9b23 100644
--- a/frontend/app/player/singletone.js
+++ b/frontend/app/player/singletone.js
@@ -28,11 +28,11 @@ document.addEventListener("visibilitychange", function() {
}
});
-export function init(session, jwt, config, live = false) {
+export function init(session, config, live = false) {
// const live = session.live;
const endTime = !live && session.duration.valueOf();
- instance = new Player(session, jwt, config, live);
+ instance = new Player(session, config, live);
update({
initialized: true,
live,