@kokimoki/app 0.0.8 → 0.0.9
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/kokimoki-client.js +1 -6
- package/package.json +1 -1
package/dist/kokimoki-client.js
CHANGED
|
@@ -131,12 +131,7 @@ export class KokimokiClient extends EventEmitter {
|
|
|
131
131
|
if (!this._stream) {
|
|
132
132
|
return;
|
|
133
133
|
}
|
|
134
|
-
|
|
135
|
-
this.emit("media-stream", {
|
|
136
|
-
error: null,
|
|
137
|
-
facingMode: this._facingMode,
|
|
138
|
-
stream: null,
|
|
139
|
-
});
|
|
134
|
+
this.emit("media-stream", null, this._facingMode, null);
|
|
140
135
|
this._stream.getTracks().forEach((track) => track.stop());
|
|
141
136
|
this._stream = null;
|
|
142
137
|
}
|