@live-change/peer-connection-frontend 0.8.60 → 0.8.62
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.
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<CameraButton v-model="model" @disabled-video-click="handleDisabledVideoClick" />
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
|
-
<div class="absolute top-0 right-0">
|
|
27
|
+
<div class="absolute top-0 right-0" v-if="userMedia">
|
|
28
28
|
<div class="m-3">
|
|
29
29
|
<VolumeIndicator :stream="userMedia" />
|
|
30
30
|
</div>
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
userMedia.value.getAudioTracks().forEach(track => track.enabled = !model.value.audioMuted)
|
|
298
298
|
userMedia.value.getVideoTracks().forEach(track => track.enabled = !model.value.videoMuted)
|
|
299
299
|
}
|
|
300
|
-
}
|
|
300
|
+
})
|
|
301
301
|
|
|
302
302
|
|
|
303
303
|
const permissionsDialog = ref({ })
|
|
@@ -27,24 +27,24 @@ const createPeer = async ({
|
|
|
27
27
|
|
|
28
28
|
if(!instance) instance = window.__WINDOW_ID__ + '.' + (++lastInstanceId)
|
|
29
29
|
|
|
30
|
-
const api = useApi()
|
|
30
|
+
const api = useApi(appContext)
|
|
31
31
|
|
|
32
32
|
const peerId = [channelType, channel, api.client.value.session, instance].join(':')
|
|
33
33
|
|
|
34
34
|
console.log("CREATE PEER!")
|
|
35
35
|
|
|
36
|
-
const path = usePath()
|
|
36
|
+
const path = usePath(appContext)
|
|
37
37
|
const [
|
|
38
38
|
peers,
|
|
39
39
|
peerOnline,
|
|
40
40
|
turnConfiguration
|
|
41
41
|
] = await Promise.all([
|
|
42
|
-
live(path.peerConnection.peers({ channelType, channel }
|
|
42
|
+
live(path.peerConnection.peers({ channelType, channel })
|
|
43
43
|
.with(peer => path.peerConnection.peerState({ peer: peer.id }).bind('peerState'))
|
|
44
44
|
.with(peer => path.user.sessionUser({ session: peer.session }).bind('user'))
|
|
45
|
-
),
|
|
46
|
-
live(path.online.session({ group: 'peer', peer: peerId }), appContext),
|
|
47
|
-
live(path.peerConnection.turnConfiguration({ peer: peerId }), appContext)
|
|
45
|
+
, appContext, onUnmountedCb),
|
|
46
|
+
live(path.online.session({ group: 'peer', peer: peerId }), appContext, onUnmountedCb),
|
|
47
|
+
live(path.peerConnection.turnConfiguration({ peer: peerId }), appContext, onUnmountedCb)
|
|
48
48
|
])
|
|
49
49
|
|
|
50
50
|
const localPeerState = ref(null)
|
package/front/src/router.js
CHANGED
|
@@ -11,7 +11,7 @@ export function peerConnectionRoutes(config = {}) {
|
|
|
11
11
|
return [
|
|
12
12
|
|
|
13
13
|
route({
|
|
14
|
-
name: 'peer-connection:debugger', path: prefix + '/debugger/:channelType/:channel', meta: { },
|
|
14
|
+
name: 'peer-connection:debugger', path: prefix + '/debugger/:channelType/:channel/', meta: { },
|
|
15
15
|
component: () => import("./components/Debugger.vue"),
|
|
16
16
|
props: true
|
|
17
17
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/peer-connection-frontend",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.62",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"memDev": "dotenvx run -- node server/start.js memDev --enableSessions --initScript ./init.js --dbAccess",
|
|
6
6
|
"localDevInit": "rm tmp.db; dotenvx run -- node server/start.js localDev --enableSessions --initScript ./init.js",
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
},
|
|
23
23
|
"type": "module",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@live-change/cli": "^0.8.
|
|
26
|
-
"@live-change/dao": "^0.8.
|
|
27
|
-
"@live-change/dao-vue3": "^0.8.
|
|
28
|
-
"@live-change/dao-websocket": "^0.8.
|
|
29
|
-
"@live-change/framework": "^0.8.
|
|
30
|
-
"@live-change/password-authentication-service": "^0.8.
|
|
31
|
-
"@live-change/secret-code-service": "^0.8.
|
|
32
|
-
"@live-change/secret-link-service": "^0.8.
|
|
33
|
-
"@live-change/session-service": "^0.8.
|
|
34
|
-
"@live-change/user-frontend": "^0.8.
|
|
35
|
-
"@live-change/user-service": "^0.8.
|
|
36
|
-
"@live-change/vue3-components": "^0.8.
|
|
37
|
-
"@live-change/vue3-ssr": "^0.8.
|
|
25
|
+
"@live-change/cli": "^0.8.62",
|
|
26
|
+
"@live-change/dao": "^0.8.62",
|
|
27
|
+
"@live-change/dao-vue3": "^0.8.62",
|
|
28
|
+
"@live-change/dao-websocket": "^0.8.62",
|
|
29
|
+
"@live-change/framework": "^0.8.62",
|
|
30
|
+
"@live-change/password-authentication-service": "^0.8.62",
|
|
31
|
+
"@live-change/secret-code-service": "^0.8.62",
|
|
32
|
+
"@live-change/secret-link-service": "^0.8.62",
|
|
33
|
+
"@live-change/session-service": "^0.8.62",
|
|
34
|
+
"@live-change/user-frontend": "^0.8.62",
|
|
35
|
+
"@live-change/user-service": "^0.8.62",
|
|
36
|
+
"@live-change/vue3-components": "^0.8.62",
|
|
37
|
+
"@live-change/vue3-ssr": "^0.8.62",
|
|
38
38
|
"@vueuse/core": "^10.11.0",
|
|
39
39
|
"boxicons": "^2.1.4",
|
|
40
40
|
"codeceptjs-assert": "^0.0.5",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"vue3-scroll-border": "0.1.6"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@live-change/codeceptjs-helper": "^0.8.
|
|
57
|
+
"@live-change/codeceptjs-helper": "^0.8.62",
|
|
58
58
|
"codeceptjs": "^3.6.5",
|
|
59
59
|
"generate-password": "1.7.1",
|
|
60
60
|
"playwright": "^1.41.2",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"author": "Michał Łaszczewski <michal@laszczewski.pl>",
|
|
66
66
|
"license": "BSD-3-Clause",
|
|
67
67
|
"description": "",
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "063d94e3e0a751ada8568b5b1913744c8879ea0e"
|
|
69
69
|
}
|