File tree 4 files changed +0
-184
lines changed
4 files changed +0
-184
lines changed Original file line number Diff line number Diff line change @@ -135,24 +135,6 @@ async def main():
135
135
print (f " \t track id: { publication} " )
136
136
```
137
137
138
- ### Sending and receiving chat
139
-
140
- ``` python
141
-
142
- room = rtc.Room()
143
- ...
144
-
145
- chat = rtc.ChatManager(room)
146
-
147
- # receiving chat
148
- @chat.on (" message_received" )
149
- def on_message_received (msg : rtc.ChatMessage):
150
- print (f " message received: { msg.participant.identity} : { msg.message} " )
151
-
152
- # sending chat
153
- await chat.send_message(" hello world" )
154
- ```
155
-
156
138
### RPC
157
139
158
140
Perform your own predefined method calls from one participant to another.
Original file line number Diff line number Diff line change 38
38
from .audio_source import AudioSource
39
39
from .audio_stream import AudioFrameEvent , AudioStream , NoiseCancellationOptions
40
40
from .audio_filter import AudioFilter
41
- from .chat import ChatManager , ChatMessage
42
41
from .e2ee import (
43
42
E2EEManager ,
44
43
E2EEOptions ,
149
148
"VideoFrameEvent" ,
150
149
"VideoSource" ,
151
150
"VideoStream" ,
152
- "ChatManager" ,
153
- "ChatMessage" ,
154
151
"AudioResampler" ,
155
152
"AudioResamplerQuality" ,
156
153
"RpcError" ,
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments