@livedigital/client 2.0.0 → 2.0.1

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
@@ -2,7 +2,7 @@
2
2
  "name": "@livedigital/client",
3
3
  "author": "vlprojects",
4
4
  "license": "MIT",
5
- "version": "2.0.0",
5
+ "version": "2.0.1",
6
6
  "private": false,
7
7
  "bugs": {
8
8
  "url": "https://github.com/vlprojects/livedigital-sdk/issues"
@@ -135,7 +135,7 @@ class Network {
135
135
  }
136
136
  });
137
137
 
138
- this.sendTransport.observer.on(MEDIASOUP_EVENTS.transportStateChange, (state: RTCPeerConnectionState) => {
138
+ this.sendTransport.on(MEDIASOUP_EVENTS.transportStateChange, (state: RTCPeerConnectionState) => {
139
139
  this.logger.debug('sendTransport.state', { state });
140
140
  if (state === 'failed') {
141
141
  if (this.sendTransport) {
@@ -178,7 +178,7 @@ class Network {
178
178
  }
179
179
  });
180
180
 
181
- this.receiveTransport.observer.on(MEDIASOUP_EVENTS.transportStateChange, (state: RTCPeerConnectionState) => {
181
+ this.receiveTransport.on(MEDIASOUP_EVENTS.transportStateChange, (state: RTCPeerConnectionState) => {
182
182
  this.logger.debug('receiveTransport.state', { state });
183
183
  if (state === 'failed') {
184
184
  if (this.receiveTransport) {