warpr 1.0.17 → 1.0.18
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
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "warpr",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "Warper is a WebRTC based ultra-low latency video streaming library.",
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@angular/common": "^17.3.0",
|
|
8
|
-
"@angular/core": "^17.3.0"
|
|
8
|
+
"@angular/core": "^17.3.0",
|
|
9
|
+
"uuid": "^11.1.0"
|
|
9
10
|
},
|
|
10
11
|
"dependencies": {
|
|
11
12
|
"tslib": "^2.3.0"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Injectable } from '@angular/core';
|
|
2
2
|
import { WebSocketClient } from '../networking/web-socket-client';
|
|
3
3
|
import { WarprSignalingMessage, ConnectionRequest } from '../data/signaling-messages';
|
|
4
|
+
import { v4 as uuid } from 'uuid';
|
|
4
5
|
|
|
5
6
|
@Injectable({
|
|
6
7
|
providedIn: 'root'
|
|
@@ -8,7 +9,7 @@ import { WarprSignalingMessage, ConnectionRequest } from '../data/signaling-mess
|
|
|
8
9
|
export class MessagingService extends WebSocketClient<WarprSignalingMessage> {
|
|
9
10
|
|
|
10
11
|
private static readonly _connectionUri = 'api/sinks/connect';
|
|
11
|
-
private readonly _sessionId =
|
|
12
|
+
private readonly _sessionId = uuid();
|
|
12
13
|
|
|
13
14
|
constructor() {
|
|
14
15
|
const uri = MessagingService.GetServerUri();
|
package/warpr-1.0.18.tgz
ADDED
|
Binary file
|
package/warpr-1.0.17.tgz
DELETED
|
Binary file
|