@deeptrekker/api-channels 0.1.2 → 0.1.3

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.
@@ -88,7 +88,7 @@ export interface ConnectionSettings {
88
88
  */
89
89
  export interface WebRtcOptions {
90
90
  onDataChannel: (dataChannel: RTCDataChannelEvent) => void;
91
- onTrackEvent: (trackEvent: RTCTrackEvent) => void;
91
+ onTrackEvent: (trackEvent: RTCVideoTrackInfo) => void;
92
92
  onSessionList: (sessionList: SessionInfo[], callback: (sessionId: string) => void) => void;
93
93
  onJoinSession: (sessionId: string) => void;
94
94
  onSessionClose: () => void;
@@ -103,3 +103,7 @@ export interface ConfigProperties {
103
103
  defaultConnectionString?: string;
104
104
  clientId?: string;
105
105
  }
106
+ export type RTCVideoTrackInfo = {
107
+ trackEvent: RTCTrackEvent;
108
+ label: string;
109
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deeptrekker/api-channels",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",