@deeptrekker/api-channels 0.1.4 → 0.3.0
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/constants/index.d.ts +2 -0
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +3 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HubConnection, LogLevel } from "@microsoft/signalr";
|
|
1
2
|
/**
|
|
2
3
|
* Answer Event
|
|
3
4
|
*
|
|
@@ -72,6 +73,7 @@ export interface ConnectionSettings {
|
|
|
72
73
|
connectionState?: ConnectionState;
|
|
73
74
|
onConnectionStateChange?: (newState: ConnectionState) => void;
|
|
74
75
|
onDeviceError?: (deviceError: boolean) => void;
|
|
76
|
+
onSocketConnected?: (socket: HubConnection) => void;
|
|
75
77
|
}
|
|
76
78
|
/**
|
|
77
79
|
* WebRTC Options
|
|
@@ -102,6 +104,7 @@ export interface ConfigProperties {
|
|
|
102
104
|
defaultAddress?: string;
|
|
103
105
|
defaultConnectionString?: string;
|
|
104
106
|
clientId?: string;
|
|
107
|
+
socketLogging?: LogLevel;
|
|
105
108
|
}
|
|
106
109
|
export type RTCVideoTrackInfo = {
|
|
107
110
|
trackEvent: RTCTrackEvent;
|