> For the complete documentation index, see [llms.txt](https://documentation.sceenic.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.sceenic.co/watch-together-sdk/sscale-confluence-api-references/sscale-confluence-web-sdk-reference/wt-session.md).

# WT Session

Session is the real-time communication session between two or more browsers or devices using the WT SDK. During a session, audio, video, and data are transmitted between the participants.

* [connect(streamingToken, participantName, userConstraints, metadata)](/watch-together-sdk/sscale-confluence-api-references/sscale-confluence-web-sdk-reference/wt-session/wtsession.connect-stoken-pname-uc-m.md)
* [connectAsAViewer(streamingToken, participantName)](/watch-together-sdk/sscale-confluence-api-references/sscale-confluence-web-sdk-reference/wt-session/wtsession.connectasaviewer-stoken-pname.md)
* [WTSession.connectWithSharingScreen(sToken, pName)](/watch-together-sdk/sscale-confluence-api-references/sscale-confluence-web-sdk-reference/wt-session/wtsession.connectwithsharingscreen-stoken-pname.md)
* [WTSession.disconnect()](/watch-together-sdk/sscale-confluence-api-references/sscale-confluence-web-sdk-reference/wt-session/wtsession.disconnect.md)
* [WTSession.enableStats()](/watch-together-sdk/sscale-confluence-api-references/sscale-confluence-web-sdk-reference/wt-session/wtsession.enablestats.md)
* [WTSession.sendMessage(msg)](/watch-together-sdk/sscale-confluence-api-references/sscale-confluence-web-sdk-reference/wt-session/wtsession.sendmessage-msg.md)
* [WTSession.sendPlayerData(time)](/watch-together-sdk/sscale-confluence-api-references/sscale-confluence-web-sdk-reference/wt-session/wtsession.sendplayerdata-time.md)
* [async WTSession.getSessionState()](/watch-together-sdk/sscale-confluence-api-references/sscale-confluence-web-sdk-reference/wt-session/async-wtsession.getsessionstate.md)

{% hint style="warning" %}
Known issue:

When applying H264 codec in Safari v15.x feature of enable/disable camera can cause a crash. To prevent this kind of problem instead of enable/disable video track .stop() method applied. In such cases light indicator of camera stay enabled, but video stream is stopped.&#x20;
{% endhint %}
