@tencentcloud/trtc-cloud-wx 0.0.15 → 0.0.16
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 +1 -1
- package/trtc-cloud-wx.js +2 -2
package/package.json
CHANGED
package/trtc-cloud-wx.js
CHANGED
|
@@ -814,7 +814,7 @@ var Logger = /*#__PURE__*/function () {
|
|
|
814
814
|
var logger = new Logger();
|
|
815
815
|
|
|
816
816
|
var name = "@tencentcloud/trtc-cloud-wx";
|
|
817
|
-
var version = "0.0.
|
|
817
|
+
var version = "0.0.15";
|
|
818
818
|
var description = "";
|
|
819
819
|
var main = "dist/trtc-cloud-wx.js";
|
|
820
820
|
var module$1 = "dist/trtc-cloud-wx.js";
|
|
@@ -1516,7 +1516,7 @@ var TRTCCloud = /*#__PURE__*/function () {
|
|
|
1516
1516
|
var _a;
|
|
1517
1517
|
logger.info('setTRTCPlayerAttributes with options: ', streamId, options);
|
|
1518
1518
|
this.trtc.setPlayerAttributes(streamId, options);
|
|
1519
|
-
return (_a = this.trtc.getPlayerInstance(streamId)) === null || _a === void 0 ? void 0 : _a.playerAttributes;
|
|
1519
|
+
return ((_a = this.trtc.getPlayerInstance(streamId)) === null || _a === void 0 ? void 0 : _a.playerAttributes) || {};
|
|
1520
1520
|
}
|
|
1521
1521
|
}, {
|
|
1522
1522
|
key: "setVideoEncoderParam",
|