@whereby.com/media 3.1.0 → 3.1.1
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/index.d.cts +1 -10
- package/dist/index.d.mts +1 -10
- package/dist/index.d.ts +1 -10
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1149,16 +1149,7 @@ declare function stopStreamTracks(stream: MediaStream, only?: "audio" | "video"
|
|
|
1149
1149
|
declare function replaceTracksInStream(stream: MediaStream, newStream: MediaStream, only: "audio" | "video" | false): MediaStreamTrack[];
|
|
1150
1150
|
declare function getStream(constraintOpt: any, { replaceStream, fallback }?: GetStreamOptions): Promise<GetStreamResult>;
|
|
1151
1151
|
declare function hasGetDisplayMedia(): boolean;
|
|
1152
|
-
declare function getDisplayMedia(constraints?:
|
|
1153
|
-
video: {
|
|
1154
|
-
width: {
|
|
1155
|
-
max: number;
|
|
1156
|
-
};
|
|
1157
|
-
height: {
|
|
1158
|
-
max: number;
|
|
1159
|
-
};
|
|
1160
|
-
};
|
|
1161
|
-
}, contentHint?: string): Promise<MediaStream>;
|
|
1152
|
+
declare function getDisplayMedia(constraints?: DisplayMediaStreamOptions, contentHint?: string): Promise<MediaStream>;
|
|
1162
1153
|
declare function compareLocalDevices(before: MediaDeviceInfo[], after: MediaDeviceInfo[]): any;
|
|
1163
1154
|
declare function getUpdatedDevices({ oldDevices, newDevices, currentAudioId, currentVideoId, currentSpeakerId, }: {
|
|
1164
1155
|
oldDevices: MediaDeviceInfo[];
|
package/dist/index.d.mts
CHANGED
|
@@ -1149,16 +1149,7 @@ declare function stopStreamTracks(stream: MediaStream, only?: "audio" | "video"
|
|
|
1149
1149
|
declare function replaceTracksInStream(stream: MediaStream, newStream: MediaStream, only: "audio" | "video" | false): MediaStreamTrack[];
|
|
1150
1150
|
declare function getStream(constraintOpt: any, { replaceStream, fallback }?: GetStreamOptions): Promise<GetStreamResult>;
|
|
1151
1151
|
declare function hasGetDisplayMedia(): boolean;
|
|
1152
|
-
declare function getDisplayMedia(constraints?:
|
|
1153
|
-
video: {
|
|
1154
|
-
width: {
|
|
1155
|
-
max: number;
|
|
1156
|
-
};
|
|
1157
|
-
height: {
|
|
1158
|
-
max: number;
|
|
1159
|
-
};
|
|
1160
|
-
};
|
|
1161
|
-
}, contentHint?: string): Promise<MediaStream>;
|
|
1152
|
+
declare function getDisplayMedia(constraints?: DisplayMediaStreamOptions, contentHint?: string): Promise<MediaStream>;
|
|
1162
1153
|
declare function compareLocalDevices(before: MediaDeviceInfo[], after: MediaDeviceInfo[]): any;
|
|
1163
1154
|
declare function getUpdatedDevices({ oldDevices, newDevices, currentAudioId, currentVideoId, currentSpeakerId, }: {
|
|
1164
1155
|
oldDevices: MediaDeviceInfo[];
|
package/dist/index.d.ts
CHANGED
|
@@ -1149,16 +1149,7 @@ declare function stopStreamTracks(stream: MediaStream, only?: "audio" | "video"
|
|
|
1149
1149
|
declare function replaceTracksInStream(stream: MediaStream, newStream: MediaStream, only: "audio" | "video" | false): MediaStreamTrack[];
|
|
1150
1150
|
declare function getStream(constraintOpt: any, { replaceStream, fallback }?: GetStreamOptions): Promise<GetStreamResult>;
|
|
1151
1151
|
declare function hasGetDisplayMedia(): boolean;
|
|
1152
|
-
declare function getDisplayMedia(constraints?:
|
|
1153
|
-
video: {
|
|
1154
|
-
width: {
|
|
1155
|
-
max: number;
|
|
1156
|
-
};
|
|
1157
|
-
height: {
|
|
1158
|
-
max: number;
|
|
1159
|
-
};
|
|
1160
|
-
};
|
|
1161
|
-
}, contentHint?: string): Promise<MediaStream>;
|
|
1152
|
+
declare function getDisplayMedia(constraints?: DisplayMediaStreamOptions, contentHint?: string): Promise<MediaStream>;
|
|
1162
1153
|
declare function compareLocalDevices(before: MediaDeviceInfo[], after: MediaDeviceInfo[]): any;
|
|
1163
1154
|
declare function getUpdatedDevices({ oldDevices, newDevices, currentAudioId, currentVideoId, currentSpeakerId, }: {
|
|
1164
1155
|
oldDevices: MediaDeviceInfo[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whereby.com/media",
|
|
3
3
|
"description": "Media library for Whereby",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/whereby/sdk",
|
|
7
7
|
"repository": {
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"process": "^0.11.10",
|
|
63
63
|
"typescript": "^5.8.3",
|
|
64
64
|
"@whereby.com/eslint-config": "0.1.0",
|
|
65
|
-
"@whereby.com/rollup-config": "0.1.1",
|
|
66
|
-
"@whereby.com/tsconfig": "0.1.0",
|
|
67
65
|
"@whereby.com/jest-config": "0.1.0",
|
|
68
|
-
"@whereby.com/prettier-config": "0.1.0"
|
|
66
|
+
"@whereby.com/prettier-config": "0.1.0",
|
|
67
|
+
"@whereby.com/rollup-config": "0.1.1",
|
|
68
|
+
"@whereby.com/tsconfig": "0.1.0"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=16.0.0"
|