@microsoft/live-share-media 1.0.0-preview.8 → 1.0.0-preview.9

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.
Files changed (2) hide show
  1. package/README.md +7 -5
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -50,15 +50,16 @@ This will use lerna to hoist and build all dependencies.
50
50
  ```
51
51
 
52
52
  ```javascript
53
- import * as microsoftTeams from "@microsoft/teams-js";
54
- import { TeamsFluidClient } from "@microsoft/live-share";
53
+ import { app, LiveShareHost } from "@microsoft/teams-js";
54
+ import { LiveShareClient } from "@microsoft/live-share";
55
55
  import { LiveMediaSession } from "@microsoft/live-share-media";
56
56
 
57
57
  // Initialize the Teams Client SDK
58
58
  await microsoftTeams.app.initialize();
59
59
 
60
60
  // Setup the Fluid container
61
- const client = new TeamsFluidClient();
61
+ const host = LiveShareHost.create();
62
+ const client = new LiveShareClient(host);
62
63
  const schema = {
63
64
  initialObjects: {
64
65
  mediaSession: LiveMediaSession,
@@ -114,7 +115,8 @@ The Live Share SDK contains dependencies for [@microsoft/teams-js](https://www.n
114
115
 
115
116
  | @microsoft/live-share | @microsoft/teams-js | fluid-framework | @microsoft/live-share-\* | @fluidframework/azure-client | @microsoft/TeamsFx | @microsoft/TeamsFx-react |
116
117
  | --------------------- | -------------------- | --------------- | -------------------------- | ---------------------------- | ------------------------------- | ------------------------------- |
117
- | 1.0.0-preview.8 | ^2.5.0 | ~1.2.3 | 1.0.0-preview.8 (optional) | ~1.0.2 (optional) | ^2.5.0 (optional) | ^2.5.0 (optional) |
118
+ | 1.0.0-preview.9 | ^2.10.1 | ~1.2.3 | 1.0.0-preview.9 (optional) | ~1.0.2 (optional) | ^2.5.0 (optional) | ^2.5.0 (optional) |
119
+ | 1.0.0-preview.8 | ^2.5.0 | ~1.2.3 | 1.0.0-preview.9 (optional) | ~1.0.2 (optional) | ^2.5.0 (optional) | ^2.5.0 (optional) |
118
120
  | 1.0.0-preview.3 | 2.0.0-experimental.1 | ~1.2.3 | 1.0.0-preview.3 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) |
119
121
  | ~0.5.1 | 2.0.0-experimental.1 | ~1.2.3 | ~0.5.1 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) |
120
122
  | ~0.3.1 | 2.0.0-experimental.0 | ~0.59.0 | ~0.3.1 (optional) | ~0.59.0 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) |
@@ -132,7 +134,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
132
134
 
133
135
  ## Reporting Security Issues
134
136
 
135
- Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) at secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the [MSRC PGP](https://technet.microsoft.com/en-us/security/dn606155) key, can be found in the [Security TechCenter](https://technet.microsoft.com/en-us/security/default).
137
+ Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) at secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the [MSRC PGP](https://technet.microsoft.com/security/dn606155) key, can be found in the [Security TechCenter](https://technet.microsoft.com/security/default).
136
138
 
137
139
  Copyright (c) Microsoft Corporation. All rights reserved.
138
140
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/live-share-media",
3
- "version": "1.0.0-preview.8",
3
+ "version": "1.0.0-preview.9",
4
4
  "description": "Live Share classes that synchronize media playback across clients.",
5
5
  "author": "Microsoft",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -14,7 +14,7 @@
14
14
  "test:coverage": "nyc --reporter=html --reporter=text --reporter=text-summary npm test"
15
15
  },
16
16
  "dependencies": {
17
- "@microsoft/live-share": "1.0.0-preview.8",
17
+ "@microsoft/live-share": "1.0.0-preview.9",
18
18
  "fluid-framework": "~1.2.3"
19
19
  },
20
20
  "devDependencies": {