@christianriedl/media 1.0.163 → 1.0.164

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@christianriedl/media",
3
- "version": "1.0.163",
3
+ "version": "1.0.164",
4
4
  "description": "RIC media interfaces",
5
5
 
6
6
  "main": "dist/index.js",
@@ -98,7 +98,7 @@
98
98
  selected.value = item;
99
99
  computeListHeight();
100
100
  if (mediaAppConfig.useSatIp) {
101
- audioStreams.splice(0, audioStreams.count);
101
+ audioStreams.splice(0, audioStreams.length);
102
102
  audioStream.value = null;
103
103
  await getActiveStreams();
104
104
  }
@@ -130,7 +130,7 @@
130
130
  }
131
131
  const mediaInfo = await mediaService.getSatIpProbe(channel, url);
132
132
  if (mediaInfo) {
133
- numActiveStreams.value = `${mediaInfo.numActiveStreams}`;
133
+ numActiveStreams.value = `${mediaInfo.numActiveStreams} active streams`;
134
134
  if (mediaInfo.audioStreams) {
135
135
  const as = MediaHelper.getAudioStreams(mediaInfo);
136
136
  audioStreams.splice(0, audioStreams.length, ...as);