File tree Expand file tree Collapse file tree 4 files changed +0
-184
lines changed
Expand file tree Collapse file tree 4 files changed +0
-184
lines changed Original file line number Diff line number Diff line change @@ -135,24 +135,6 @@ async def main():
135135 print (f " \t track id: { publication} " )
136136```
137137
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-
156138### RPC
157139
158140Perform your own predefined method calls from one participant to another.
Original file line number Diff line number Diff line change 3838from .audio_source import AudioSource
3939from .audio_stream import AudioFrameEvent , AudioStream , NoiseCancellationOptions
4040from .audio_filter import AudioFilter
41- from .chat import ChatManager , ChatMessage
4241from .e2ee import (
4342 E2EEManager ,
4443 E2EEOptions ,
149148 "VideoFrameEvent" ,
150149 "VideoSource" ,
151150 "VideoStream" ,
152- "ChatManager" ,
153- "ChatMessage" ,
154151 "AudioResampler" ,
155152 "AudioResamplerQuality" ,
156153 "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