Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit d5d496e

Browse files
jianjunzlzhai
authored andcommitted
Add a section for conference mode. (#303)
1 parent b42a414 commit d5d496e

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

docs/mdfiles/index.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,25 @@ Signaling channel is an implementation to transmit signaling data for creating a
6868

6969
In the customized signaling channel, you need to implement `connect`, `disconnect` and `send`, invoke `onMessage` when a new message arrives, and invoke `onServerDisconnected` when the connection is lost. Then include your customized `sc.*.js` into the HTML page.
7070

71-
# 5 Events
71+
# 5 Conference mode
7272

73-
The JavaScript objects fires events using `Ics.Base.EventDispatchers`. For more detailed events, please refer to the specific class description page.
73+
Conference mode is designed for applications with multiple participants. The JavaScript SDK includes a demo application for this.
7474

75-
# 6 Privacy and security
75+
Please refer to [media server user guide](https://software.intel.com/sites/products/documentation/webrtc/conference) for detailed server side features.
76+
77+
To initialize your HTML code, copy and paste the following code into the head section of your HTML document:
78+
~~~~~~{.js}
79+
<script type="text/javascript" src="socket.io.js"></script>
80+
<script type="text/javascript" src="adapter.js"></script>
81+
<script type="text/javascript" src="owt.js"></script>
82+
~~~~~~
83+
After a room and a token are created, the token can then be sent to a client to join the conference using JavaScript APIs.
84+
85+
# 6 Events
86+
87+
The JavaScript objects fires events using `Owt.Base.EventDispatchers`. For more detailed events, please refer to the specific class description page.
88+
89+
# 7 Privacy and security
7690
SDK will send operation system's name and version, browser name, version and abilities, SDK name and version to conference server and P2P endpoints it tries to make connection. SDK does not store this information on disk.
7791

7892
**Note:** \* Other names and brands may be claimed as the property of others.

0 commit comments

Comments
 (0)