Skip to content

Commit 3d1e1a7

Browse files
committed
Added H2
Added H2 to include file
1 parent c23e8c8 commit 3d1e1a7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

articles/communication-services/how-tos/calling-sdk/includes/together-mode/together-mode-web.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: cnwankwo
88

99
[!INCLUDE [Install SDK](../install-sdk/install-sdk-web.md)]
1010

11-
11+
## Implement Together Mode
1212

1313
Together Mode is an extended feature of the core `Call` API. You first need to import calling Features from the Calling SDK:
1414

@@ -23,6 +23,7 @@ const togetherModeFeature = call.feature(Features.TogetherMode);
2323
```
2424

2525
### Receive events when Together Mode stream starts or updates
26+
2627
You can subscribe to the event `togetherModeStreamsUpdated` to receive notifications when Together Mode starts or updates. The event contains information about rendering the added video stream.
2728

2829
```js
@@ -35,6 +36,7 @@ togetherModeFeature.on('togetherModeStreamsUpdated', (event) => {
3536
```
3637

3738
### Get Together Mode stream
39+
3840
You can access Together Mode streams through the property `togetherModeStream`.
3941

4042
```js
@@ -49,15 +51,18 @@ const togetherModeStreams = togetherModeFeature.togetherModeStream;
4951
| `size` | Returns the Together Mode `StreamSize` with information about the width and height of the stream in pixels. |
5052

5153
### Start Together Mode for all participants
54+
5255
Microsoft 365 users with role organizer, co-organizer, or presenter can start Together Mode for everyone in the meeting. When Together Mode starts, all subscribers to the `togetherModeStreamsUpdated` event receive notification that enables participants to render Together Mode.
5356

5457
```js
5558
togetherModeFeature.start();
5659
```
5760
### End Together Mode
61+
5862
Together Mode automatically terminates for all participants if no video stream is detected from any participant for a duration of one minute. There's no API to end Together Mode.
5963

6064
### Get coordinates of participants in Together Mode
65+
6166
The property `togetherModeSeatingMap` provides coordinates for individual participants in the stream. Developers can use these coordinates to overlay participant info such as display name or visual features like spotlight, hand raised, and reactions on the stream.
6267

6368
```js
@@ -74,6 +79,7 @@ const seatingMap = togetherModeFeature.togetherModeSeatingMap;
7479
```
7580

7681
### Manage scene size
82+
7783
The `sceneSize` property specifies the dimensions (width and height) of the HTML container that houses the `togetherMode` video stream. The seating positions of participants are calculated based on the dimensions of the scene size. If scene size isn't provided, the calculation defaults to a width of 1,280 pixels and a height of 720 pixels.
7884

7985
```js

0 commit comments

Comments
 (0)