@byteplus/react-native-live-pull 1.1.2-rc.2 → 1.1.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.
@@ -6729,38 +6729,6 @@ var VeLivePlayerStatistics = function () {
6729
6729
  enumerable: false,
6730
6730
  configurable: true
6731
6731
  });
6732
- Object.defineProperty(VeLivePlayerStatistics_1.prototype, "format", {
6733
- /** {zh}
6734
- * @brief 当前播放的视频格式。
6735
- *
6736
- */
6737
- /** {en}
6738
- * @brief The video format.
6739
- *
6740
- */
6741
- get: function () {
6742
- // TODO: implement
6743
- throw new Error("not implement 'format'");
6744
- },
6745
- enumerable: false,
6746
- configurable: true
6747
- });
6748
- Object.defineProperty(VeLivePlayerStatistics_1.prototype, "protocol", {
6749
- /** {zh}
6750
- * @brief 当前播放的传输协议。
6751
- *
6752
- */
6753
- /** {en}
6754
- * @brief The transmission protocol of the live stream.
6755
- *
6756
- */
6757
- get: function () {
6758
- // TODO: implement
6759
- throw new Error("not implement 'protocol'");
6760
- },
6761
- enumerable: false,
6762
- configurable: true
6763
- });
6764
6732
  Object.defineProperty(VeLivePlayerStatistics_1.prototype, "url", {
6765
6733
  /** {zh}
6766
6734
  * @brief 当前直播的播放地址。
@@ -6727,38 +6727,6 @@ var VeLivePlayerStatistics = function () {
6727
6727
  enumerable: false,
6728
6728
  configurable: true
6729
6729
  });
6730
- Object.defineProperty(VeLivePlayerStatistics_1.prototype, "format", {
6731
- /** {zh}
6732
- * @brief 当前播放的视频格式。
6733
- *
6734
- */
6735
- /** {en}
6736
- * @brief The video format.
6737
- *
6738
- */
6739
- get: function () {
6740
- // TODO: implement
6741
- throw new Error("not implement 'format'");
6742
- },
6743
- enumerable: false,
6744
- configurable: true
6745
- });
6746
- Object.defineProperty(VeLivePlayerStatistics_1.prototype, "protocol", {
6747
- /** {zh}
6748
- * @brief 当前播放的传输协议。
6749
- *
6750
- */
6751
- /** {en}
6752
- * @brief The transmission protocol of the live stream.
6753
- *
6754
- */
6755
- get: function () {
6756
- // TODO: implement
6757
- throw new Error("not implement 'protocol'");
6758
- },
6759
- enumerable: false,
6760
- configurable: true
6761
- });
6762
6730
  Object.defineProperty(VeLivePlayerStatistics_1.prototype, "url", {
6763
6731
  /** {zh}
6764
6732
  * @brief 当前直播的播放地址。
@@ -111,18 +111,6 @@ export declare class VeLivePlayerStatistics {
111
111
  */
112
112
  get isHardwareDecode(): boolean;
113
113
 
114
- /** {en}
115
- * @brief The video format.
116
- *
117
- */
118
- get format(): void;
119
-
120
- /** {en}
121
- * @brief The transmission protocol of the live stream.
122
- *
123
- */
124
- get protocol(): void;
125
-
126
114
  /** {en}
127
115
  * @brief The current pull stream address.
128
116
  *
@@ -1 +1,17 @@
1
+ declare module '../codegen/pack/keytype' {
2
+ interface VeLivePlayerStatistics {
3
+
4
+ /** {en}
5
+ * @brief The video format.
6
+ *
7
+ */
8
+ format: VeLivePlayerFormat;
9
+
10
+ /** {en}
11
+ * @brief The transmission protocol of the live stream.
12
+ *
13
+ */
14
+ protocol: VeLivePlayerProtocol;
15
+ }
16
+ }
1
17
  export { VeLivePlayerAudioBufferType, VeLivePlayerAudioFrame, VeLivePlayerConfiguration, VeLivePlayerFillMode, VeLivePlayerFormat, VeLivePlayerLogLevel, VeLivePlayerMirror, VeLivePlayerPixelFormat, VeLivePlayerProtocol, VeLivePlayerResolution, VeLivePlayerResolutionSwitchReason, VeLivePlayerRotation, VeLivePlayerStatistics, VeLivePlayerStatus, VeLivePlayerStream, VeLivePlayerStreamData, VeLivePlayerStreamType, VeLivePlayerVideoBufferType, VeLivePlayerVideoFrame, } from '../codegen/pack/keytype';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteplus/react-native-live-pull",
3
- "version": "1.1.2-rc.2",
3
+ "version": "1.1.2",
4
4
  "peerDependencies": {
5
5
  "react": "*",
6
6
  "react-native": "*"