You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/plugins.md
+8-78Lines changed: 8 additions & 78 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,32 +4,21 @@ Janus plugins provide specific functionality for different use cases. This libra
4
4
5
5
Plugins are the core components that implement specific WebRTC functionality. Each plugin corresponds to a server-side Janus plugin and provides a Python interface for interacting with it.
6
6
7
-
## Base Plugin Class
7
+
For detailed API documentation, see the [API Reference](reference.md#plugin-classes).
8
8
9
-
All plugins inherit from the base `JanusPlugin` class, which provides common functionality for plugin lifecycle management, message handling, and WebRTC signaling.
9
+
## Overview
10
10
11
-
::: janus_client.plugin_base.JanusPlugin
12
-
options:
13
-
show_root_heading: true
14
-
show_source: false
15
-
members_order: source
16
-
docstring_section_style: table
17
-
separate_signature: true
18
-
show_signature_annotations: true
11
+
All plugins inherit from the base `JanusPlugin` class, which provides common functionality for plugin lifecycle management, message handling, and WebRTC signaling. The library includes support for:
The TextRoom plugin enables text-based communication through WebRTC DataChannels. It supports multiple rooms, public and private messaging, room management, and message history.
Copy file name to clipboardExpand all lines: docs/session.md
+10-18Lines changed: 10 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,24 +4,16 @@ Create a session object that can be shared between plugin handles.
4
4
5
5
The session is the main entry point for communicating with a Janus WebRTC Gateway server. It manages the connection, handles message routing, and provides lifecycle management for plugins.
6
6
7
-
## JanusSession
8
-
9
-
::: janus_client.session.JanusSession
10
-
options:
11
-
show_root_heading: true
12
-
show_source: false
13
-
members_order: source
14
-
docstring_section_style: table
15
-
separate_signature: true
16
-
show_signature_annotations: true
17
-
18
-
## PluginAttachFail Exception
19
-
20
-
::: janus_client.session.PluginAttachFail
21
-
options:
22
-
show_root_heading: true
23
-
show_source: false
24
-
docstring_section_style: table
7
+
For detailed API documentation, see the [API Reference](reference.md#session-classes).
8
+
9
+
## Overview
10
+
11
+
A `JanusSession` represents a connection to a Janus WebRTC Gateway server. It:
12
+
13
+
- Manages the underlying transport (HTTP or WebSocket)
Copy file name to clipboardExpand all lines: docs/transport.md
+4-27Lines changed: 4 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,30 +2,16 @@
2
2
3
3
Transport classes handle the actual communication with the Janus server. The transport method is automatically detected using regex patterns on the base_url parameter passed to the Session object.
4
4
5
-
## Base Transport Class
5
+
For detailed API documentation, see the [API Reference](reference.md#transport-classes).
6
6
7
-
::: janus_client.transport.JanusTransport
8
-
options:
9
-
show_root_heading: true
10
-
show_source: false
11
-
members_order: source
12
-
docstring_section_style: table
13
-
separate_signature: true
14
-
show_signature_annotations: true
7
+
## Overview
8
+
9
+
The transport layer provides the communication mechanism between your application and the Janus WebRTC Gateway server. The library automatically selects the appropriate transport based on the URL scheme you provide.
15
10
16
11
## HTTP Transport
17
12
18
13
The HTTP transport implementation provides communication with Janus server over HTTP/HTTPS using long polling for receiving messages.
0 commit comments