@christianriedl/media 1.0.107 → 1.0.108

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.107",
3
+ "version": "1.0.108",
4
4
  "description": "RIC media interfaces",
5
5
 
6
6
  "main": "dist/index.js",
@@ -121,7 +121,7 @@
121
121
  const video = item as IVideoFile;
122
122
  const as = mediaService.splitAudioStreams(video.AudioStreams);
123
123
  audioStreams.splice(0, audioStreams.length, ...as);
124
- paramsText.value = `${video.Width}x${video.Height}`;
124
+ paramsText.value = `${video.Width}x${video.Height} ${Math.floor(video.Bitrate / 1000)} kbit/s`;
125
125
  return;
126
126
  }
127
127
  const folder = item as IMediaFolder;
@@ -143,7 +143,7 @@
143
143
  }
144
144
  else {
145
145
  params = null;
146
- paramsText.value = `${video.Width}x${video.Height}`;
146
+ paramsText.value = `${video.Width}x${video.Height} ${Math.floor(video.Bitrate / 1000)} kbit/s`;
147
147
  }
148
148
  }
149
149
  function listBack() {