@live-change/peer-connection-frontend 0.8.70 → 0.8.72

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.
@@ -31,7 +31,7 @@
31
31
  </div>
32
32
  </div>
33
33
  <div class="flex flex-row gap-2 pt-2 justify-content-around">
34
- <div v-if="audioInputRequest !== 'none' && audioInputs.length > 1"
34
+ <div v-if="audioInputRequest !== 'none' && audioInputs.length > 0"
35
35
  class="flex flex-column align-items-stretch flex-grow-1">
36
36
  <div class="text-sm mb-1 pl-1">Microphone</div>
37
37
  <Dropdown v-model="model.audioInput" :options="audioInputs"
@@ -48,7 +48,7 @@
48
48
  </template>
49
49
  </Dropdown>
50
50
  </div>
51
- <div v-if="audioOutputRequest !== 'none' && audioOutputs.length > 1"
51
+ <div v-if="audioOutputRequest !== 'none' && audioOutputs.length > 0"
52
52
  class="flex flex-column align-items-stretch flex-grow-1">
53
53
  <div class="text-sm mb-1 pl-1">Audio output</div>
54
54
  <Dropdown v-model="model.audioOutput" :options="audioOutputs" optionLabel="label"
@@ -65,7 +65,7 @@
65
65
  </Dropdown>
66
66
  </div>
67
67
 
68
- <div v-if="videoInputRequest !== 'none' && videoInputs.length > 1"
68
+ <div v-if="videoInputRequest !== 'none' && videoInputs.length > 0"
69
69
  class="flex flex-column align-items-stretch flex-grow-1">
70
70
  <div class="text-sm mb-1 pl-1">Camera</div>
71
71
  <Dropdown v-model="model.videoInput" :options="videoInputs" optionLabel="label"
@@ -212,6 +212,10 @@ const createPeerConnection = (peer, to) => {
212
212
  } break;
213
213
  case "ice": {
214
214
  console.log("RECEIVED ICE! IN STATE", rtc.value.signalingState)
215
+ if(rtc.value.signalingState === "have-local-offer") {
216
+ console.log("IGNORE ICE IN THIS STATE")
217
+ return;
218
+ }
215
219
  let ice = message.data
216
220
  //if(ice && ice.candidate === "") break;
217
221
  if(ice && ice.candidate !== "") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/peer-connection-frontend",
3
- "version": "0.8.70",
3
+ "version": "0.8.72",
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.70",
26
- "@live-change/dao": "^0.8.70",
27
- "@live-change/dao-vue3": "^0.8.70",
28
- "@live-change/dao-websocket": "^0.8.70",
29
- "@live-change/framework": "^0.8.70",
30
- "@live-change/password-authentication-service": "^0.8.70",
31
- "@live-change/secret-code-service": "^0.8.70",
32
- "@live-change/secret-link-service": "^0.8.70",
33
- "@live-change/session-service": "^0.8.70",
34
- "@live-change/user-frontend": "^0.8.70",
35
- "@live-change/user-service": "^0.8.70",
36
- "@live-change/vue3-components": "^0.8.70",
37
- "@live-change/vue3-ssr": "^0.8.70",
25
+ "@live-change/cli": "^0.8.72",
26
+ "@live-change/dao": "^0.8.72",
27
+ "@live-change/dao-vue3": "^0.8.72",
28
+ "@live-change/dao-websocket": "^0.8.72",
29
+ "@live-change/framework": "^0.8.72",
30
+ "@live-change/password-authentication-service": "^0.8.72",
31
+ "@live-change/secret-code-service": "^0.8.72",
32
+ "@live-change/secret-link-service": "^0.8.72",
33
+ "@live-change/session-service": "^0.8.72",
34
+ "@live-change/user-frontend": "^0.8.72",
35
+ "@live-change/user-service": "^0.8.72",
36
+ "@live-change/vue3-components": "^0.8.72",
37
+ "@live-change/vue3-ssr": "^0.8.72",
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.70",
57
+ "@live-change/codeceptjs-helper": "^0.8.72",
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": "560679d86691f507c84a4ce951a567cfb3cc37aa"
68
+ "gitHead": "58800a29cbc31ab9292cfaeeb1cdf2eeee21244d"
69
69
  }