@stream-io/video-client 0.5.7 → 0.5.8

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [0.5.8](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.5.7...@stream-io/video-client-0.5.8) (2024-02-06)
6
+
7
+
8
+ ### Features
9
+
10
+ * external storage for recordings ([#1260](https://github.com/GetStream/stream-video-js/issues/1260)) ([50a45fc](https://github.com/GetStream/stream-video-js/commit/50a45fc6b87865f16301d6a9173c59e4774a3b31))
11
+
5
12
  ### [0.5.7](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.5.6...@stream-io/video-client-0.5.7) (2024-01-29)
6
13
 
7
14
 
@@ -12117,8 +12117,8 @@ class Call {
12117
12117
  /**
12118
12118
  * Starts recording the call
12119
12119
  */
12120
- this.startRecording = async () => {
12121
- return this.streamClient.post(`${this.streamClientBasePath}/start_recording`, {});
12120
+ this.startRecording = async (request) => {
12121
+ return this.streamClient.post(`${this.streamClientBasePath}/start_recording`, request ? request : {});
12122
12122
  };
12123
12123
  /**
12124
12124
  * Stops recording the call
@@ -14241,7 +14241,7 @@ class StreamClient {
14241
14241
  });
14242
14242
  };
14243
14243
  this.getUserAgent = () => {
14244
- const version = "0.5.7" ;
14244
+ const version = "0.5.8" ;
14245
14245
  return (this.userAgent ||
14246
14246
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
14247
14247
  };
@@ -14764,6 +14764,21 @@ class StreamVideoServerClient extends StreamVideoClient {
14764
14764
  this.updateCallType = (name, data) => {
14765
14765
  return this.streamClient.put(`/calltypes/${name}`, data);
14766
14766
  };
14767
+ this.listExternalStorage = () => {
14768
+ return this.streamClient.get('/external_storage');
14769
+ };
14770
+ this.createExternalStorage = (request) => {
14771
+ return this.streamClient.post('/external_storage', request);
14772
+ };
14773
+ this.deleteExternalStorage = (name) => {
14774
+ return this.streamClient.delete(`/external_storage/${name}`);
14775
+ };
14776
+ this.updateExternalStorage = (name, request) => {
14777
+ return this.streamClient.put(`/external_storage/${name}`, request);
14778
+ };
14779
+ this.checkExternalStorage = (name) => {
14780
+ return this.streamClient.get(`/external_storage/${name}/check`);
14781
+ };
14767
14782
  }
14768
14783
  /**
14769
14784
  * createToken - Creates a token to authenticate this user. This function is used server side.