@livedigital/client 2.35.0-extend-media-params.1 → 2.35.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/engine/media/index.d.ts +3 -3
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/common.d.ts +0 -1
- package/package.json +1 -1
- package/src/engine/index.ts +15 -5
- package/src/engine/media/index.ts +5 -4
- package/src/types/common.ts +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Device } from 'mediasoup-client';
|
|
2
2
|
import { RtpCapabilities, RtpCodecCapability } from 'mediasoup-client/lib/RtpParameters';
|
|
3
|
-
import {
|
|
3
|
+
import { CreateCameraVideoTrackOptions, CreateScreenMediaOptions, CreateVideoTrackParams, Track, TransformParams } from '../../types/common';
|
|
4
4
|
import { CreateMediaParams } from '../../types/engine';
|
|
5
5
|
declare class Media {
|
|
6
6
|
#private;
|
|
@@ -18,7 +18,7 @@ declare class Media {
|
|
|
18
18
|
getAllTracks(): Track[];
|
|
19
19
|
clearTracks(): Promise<void>;
|
|
20
20
|
static getVideoTrackTransformParams(track: MediaStreamTrack): TransformParams;
|
|
21
|
-
static getScreenVideoTrackParams(options?:
|
|
22
|
-
static getCameraVideoTrackParams(options?:
|
|
21
|
+
static getScreenVideoTrackParams(options?: CreateScreenMediaOptions): CreateVideoTrackParams;
|
|
22
|
+
static getCameraVideoTrackParams(options?: CreateCameraVideoTrackOptions): CreateVideoTrackParams;
|
|
23
23
|
}
|
|
24
24
|
export default Media;
|