@microsoft/teams-js 2.15.0-beta.3 → 2.16.0-beta.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/README.md +4 -4
- package/dist/MicrosoftTeams.d.ts +6 -2
- package/dist/MicrosoftTeams.js +266 -213
- package/dist/MicrosoftTeams.js.map +1 -1
- package/dist/MicrosoftTeams.min.js +1 -1
- package/dist/MicrosoftTeams.min.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -24,7 +24,7 @@ To install the stable [version](https://learn.microsoft.com/javascript/api/overv
|
|
24
24
|
|
25
25
|
### Production
|
26
26
|
|
27
|
-
You can reference these files directly [from here](https://res.cdn.office.net/teams-js/2.
|
27
|
+
You can reference these files directly [from here](https://res.cdn.office.net/teams-js/2.15.0/js/MicrosoftTeams.min.js) or point your package manager at them.
|
28
28
|
|
29
29
|
## Usage
|
30
30
|
|
@@ -45,13 +45,13 @@ Reference the library inside of your `.html` page using:
|
|
45
45
|
```html
|
46
46
|
<!-- Microsoft Teams JavaScript API (via CDN) -->
|
47
47
|
<script
|
48
|
-
src="https://res.cdn.office.net/teams-js/2.
|
49
|
-
integrity="sha384
|
48
|
+
src="https://res.cdn.office.net/teams-js/2.15.0/js/MicrosoftTeams.min.js"
|
49
|
+
integrity="sha384-fTDbgjG+RKtC2IyKV3r1o0xdxY4oV1v53uPHwPJTmTddvDm2ats9JWRAbtouZx4C"
|
50
50
|
crossorigin="anonymous"
|
51
51
|
></script>
|
52
52
|
|
53
53
|
<!-- Microsoft Teams JavaScript API (via npm) -->
|
54
|
-
<script src="node_modules/@microsoft/teams-js@2.
|
54
|
+
<script src="node_modules/@microsoft/teams-js@2.15.0/dist/MicrosoftTeams.min.js"></script>
|
55
55
|
|
56
56
|
<!-- Microsoft Teams JavaScript API (via local) -->
|
57
57
|
<script src="MicrosoftTeams.min.js"></script>
|
package/dist/MicrosoftTeams.d.ts
CHANGED
@@ -2705,6 +2705,10 @@ export enum HostName {
|
|
2705
2705
|
* Microsoft-internal test Host
|
2706
2706
|
*/
|
2707
2707
|
orange = "Orange",
|
2708
|
+
/**
|
2709
|
+
* Microsoft connected workplace platform
|
2710
|
+
*/
|
2711
|
+
places = "Places",
|
2708
2712
|
/**
|
2709
2713
|
* Teams
|
2710
2714
|
*/
|
@@ -8678,7 +8682,7 @@ export namespace marketplace {
|
|
8678
8682
|
* @hidden
|
8679
8683
|
* Create a MediaStreamTrack from the media stream with the given streamId and processed by videoFrameHandler.
|
8680
8684
|
*/
|
8681
|
-
export function processMediaStream(streamId: string, videoFrameHandler: video.VideoFrameHandler, notifyError: (string: any) => void, videoPerformanceMonitor?: VideoPerformanceMonitor): Promise<
|
8685
|
+
export function processMediaStream(streamId: string, videoFrameHandler: video.VideoFrameHandler, notifyError: (string: any) => void, videoPerformanceMonitor?: VideoPerformanceMonitor): Promise<void>;
|
8682
8686
|
/**
|
8683
8687
|
* @hidden
|
8684
8688
|
* Create a MediaStreamTrack from the media stream with the given streamId and processed by videoFrameHandler.
|
@@ -8687,7 +8691,7 @@ export function processMediaStream(streamId: string, videoFrameHandler: video.Vi
|
|
8687
8691
|
* @internal
|
8688
8692
|
* Limited to Microsoft-internal use
|
8689
8693
|
*/
|
8690
|
-
export function processMediaStreamWithMetadata(streamId: string, videoFrameHandler: videoEx.VideoFrameHandler, notifyError: (string: any) => void, videoPerformanceMonitor?: VideoPerformanceMonitor): Promise<
|
8694
|
+
export function processMediaStreamWithMetadata(streamId: string, videoFrameHandler: videoEx.VideoFrameHandler, notifyError: (string: any) => void, videoPerformanceMonitor?: VideoPerformanceMonitor): Promise<void>;
|
8691
8695
|
/**
|
8692
8696
|
* @hidden
|
8693
8697
|
* Video effect change call back function definition
|