@whereby.com/media 1.3.3 → 1.3.4

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/dist/index.cjs CHANGED
@@ -5296,7 +5296,7 @@ class VegaRtcManager {
5296
5296
  this._webcamProducerPromise = (() => __awaiter(this, void 0, void 0, function* () {
5297
5297
  try {
5298
5298
  if (!this._webcamTrack ||
5299
- this._webcamTrack.readyState !== "live" ||
5299
+ this._webcamTrack.readyState === "ended" ||
5300
5300
  !this._sendTransport ||
5301
5301
  this._webcamProducer) {
5302
5302
  this._webcamProducerPromise = null;
package/dist/index.mjs CHANGED
@@ -5275,7 +5275,7 @@ class VegaRtcManager {
5275
5275
  this._webcamProducerPromise = (() => __awaiter(this, void 0, void 0, function* () {
5276
5276
  try {
5277
5277
  if (!this._webcamTrack ||
5278
- this._webcamTrack.readyState !== "live" ||
5278
+ this._webcamTrack.readyState === "ended" ||
5279
5279
  !this._sendTransport ||
5280
5280
  this._webcamProducer) {
5281
5281
  this._webcamProducerPromise = null;
@@ -5275,7 +5275,7 @@ class VegaRtcManager {
5275
5275
  this._webcamProducerPromise = (() => __awaiter(this, void 0, void 0, function* () {
5276
5276
  try {
5277
5277
  if (!this._webcamTrack ||
5278
- this._webcamTrack.readyState !== "live" ||
5278
+ this._webcamTrack.readyState === "ended" ||
5279
5279
  !this._sendTransport ||
5280
5280
  this._webcamProducer) {
5281
5281
  this._webcamProducerPromise = null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@whereby.com/media",
3
3
  "description": "Media library for Whereby",
4
- "version": "1.3.3",
4
+ "version": "1.3.4",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/whereby/sdk",
7
7
  "repository": {