@christianriedl/media 1.0.165 → 1.0.166

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.165",
3
+ "version": "1.0.166",
4
4
  "description": "RIC media interfaces",
5
5
 
6
6
  "main": "dist/index.js",
@@ -103,14 +103,12 @@
103
103
  audioStream.value = null;
104
104
  await getActiveStreams();
105
105
  }
106
- const video = item as IVideoFile;
107
- paramsText.value = `${video.width}x${video.height}`;
108
- return;
106
+ onQualityChange();
109
107
  }
110
108
  }
111
109
  function onQualityChange() {
112
110
  const video = selected.value as IVideoFile;
113
- if (quality.value > 0) {
111
+ if (quality.value > 0 || !mediaAppConfig.useSatIp) {
114
112
  params = MediaHelper.getTranscodeParams(mediaAppConfig.useSatIp, video.width, video.height, window.innerWidth, quality.value);
115
113
  paramsText.value = params.text;
116
114
  }