@vkontakte/calls-sdk 2.7.2-beta.1 → 2.7.2-beta.2

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": "@vkontakte/calls-sdk",
3
- "version": "2.7.2-beta.1",
3
+ "version": "2.7.2-beta.2",
4
4
  "author": "vk.com",
5
5
  "description": "Library for video calls based on the vk.com platform",
6
6
  "homepage": "https://vk.com",
@@ -93,6 +93,13 @@ declare namespace WebRTCUtils {
93
93
  * @param deviceId ID устройства
94
94
  */
95
95
  function getUserAudio(deviceId?: string): Promise<MediaStream>;
96
+ /**
97
+ * Устанавливает размер видео в стриме
98
+ *
99
+ * @param stream
100
+ * @param resolution
101
+ */
102
+ function setResolution(stream: MediaStream, resolution: IVideoDimentions): Promise<void>;
96
103
  /**
97
104
  * Запоминает выбранное устройство
98
105
  */