Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,24 +135,6 @@ async def main():
print(f"\ttrack id: {publication}")
```

### Sending and receiving chat

```python

room = rtc.Room()
...

chat = rtc.ChatManager(room)

# receiving chat
@chat.on("message_received")
def on_message_received(msg: rtc.ChatMessage):
print(f"message received: {msg.participant.identity}: {msg.message}")

# sending chat
await chat.send_message("hello world")
```

### RPC

Perform your own predefined method calls from one participant to another.
Expand Down
3 changes: 0 additions & 3 deletions livekit-rtc/livekit/rtc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
from .audio_source import AudioSource
from .audio_stream import AudioFrameEvent, AudioStream, NoiseCancellationOptions
from .audio_filter import AudioFilter
from .chat import ChatManager, ChatMessage
from .e2ee import (
E2EEManager,
E2EEOptions,
Expand Down Expand Up @@ -149,8 +148,6 @@
"VideoFrameEvent",
"VideoSource",
"VideoStream",
"ChatManager",
"ChatMessage",
"AudioResampler",
"AudioResamplerQuality",
"RpcError",
Expand Down
131 changes: 0 additions & 131 deletions livekit-rtc/livekit/rtc/chat.py

This file was deleted.

32 changes: 0 additions & 32 deletions livekit-rtc/tests/test_chat.py

This file was deleted.

Loading