@webex/internal-media-core
Advanced tools
Comparing version 1.33.0 to 1.33.1
@@ -14,3 +14,3 @@ import { EventMap } from 'typed-emitter'; | ||
VIDEO_SOURCES_COUNT_CHANGED = "videoSourcesCount:changed", | ||
AUDIO_SOURCES_COUNT_CHANGED = "videoSourcesCount:changed" | ||
AUDIO_SOURCES_COUNT_CHANGED = "audioSourcesCount:changed" | ||
} | ||
@@ -17,0 +17,0 @@ export interface ConnectionStateChangedEvent { |
@@ -0,1 +1,2 @@ | ||
import { TransceiverStats } from '@webex/web-client-media-engine'; | ||
import EventEmitter from './EventEmitter'; | ||
@@ -16,22 +17,2 @@ import { ConnectionState, MediaConnectionEvents } from './eventTypes'; | ||
} | ||
export interface TransceiverStats { | ||
audio: { | ||
localTrackLabel?: string; | ||
currentDirection?: RTCRtpTransceiverDirection; | ||
sender: RTCStatsReport; | ||
receiver: RTCStatsReport; | ||
}; | ||
video: { | ||
localTrackLabel?: string; | ||
currentDirection?: RTCRtpTransceiverDirection; | ||
sender: RTCStatsReport; | ||
receiver: RTCStatsReport; | ||
}; | ||
screenShareVideo: { | ||
localTrackLabel?: string; | ||
currentDirection?: RTCRtpTransceiverDirection; | ||
sender: RTCStatsReport; | ||
receiver: RTCStatsReport; | ||
}; | ||
} | ||
export declare class MediaConnection extends EventEmitter<MediaConnectionEvents> { | ||
@@ -38,0 +19,0 @@ private id?; |
/// <reference types="node" /> | ||
import EventEmitter from 'events'; | ||
import { MediaRequest, ReceiveSlot } from '@webex/web-client-media-engine'; | ||
import { MediaRequest, ReceiveSlot, TransceiverStats } from '@webex/web-client-media-engine'; | ||
import { MediaType } from '@webex/json-multistream'; | ||
@@ -28,2 +28,3 @@ import { ConnectionState, RoapMessage } from './eventTypes'; | ||
getStats(): Promise<RTCStatsReport>; | ||
getTransceiverStats(): Promise<TransceiverStats>; | ||
roapMessageReceived(roapMessage: RoapMessage): void; | ||
@@ -30,0 +31,0 @@ publishTrack(track: MediaStreamTrack, mediaContent: 'main' | 'slides'): Promise<void>; |
@@ -0,3 +1,4 @@ | ||
import { TransceiverStats } from '@webex/web-client-media-engine'; | ||
import EventEmitter from './EventEmitter'; | ||
import { LocalTracks, ReceiveOptions, TransceiverStats } from './MediaConnection'; | ||
import { LocalTracks, ReceiveOptions } from './MediaConnection'; | ||
import { AllEvents, ConnectionState, RoapMessage } from './eventTypes'; | ||
@@ -4,0 +5,0 @@ import { MediaConnectionConfig } from './config'; |
{ | ||
"name": "@webex/internal-media-core", | ||
"version": "1.33.0", | ||
"version": "1.33.1", | ||
"files": [ | ||
@@ -50,3 +50,3 @@ "dist/cjs", | ||
"@webex/ts-sdp": "1.3.0", | ||
"@webex/web-client-media-engine": "^1.36.1", | ||
"@webex/web-client-media-engine": "^1.36.3", | ||
"detectrtc": "^1.4.1", | ||
@@ -53,0 +53,0 @@ "events": "^3.3.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1773377
47214