Skip to content

Commit

Permalink
reliable
Browse files Browse the repository at this point in the history
  • Loading branch information
keepingitneil committed Jul 12, 2024
1 parent cb748b8 commit fdf64bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions livekit-rtc/livekit/rtc/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async def send_message(self, message: str) -> "ChatMessage":
)
await self._lp.publish_data(
payload=json.dumps(msg.asjsondict()),
kind=DataPacketKind.KIND_RELIABLE,
reliable=True,
topic=_CHAT_TOPIC,
)
return msg
Expand All @@ -74,7 +74,7 @@ async def update_message(self, message: "ChatMessage"):
"""
await self._lp.publish_data(
payload=json.dumps(message.asjsondict()),
kind=DataPacketKind.KIND_RELIABLE,
reliable=True,
topic=_CHAT_UPDATE_TOPIC,
)

Expand Down

0 comments on commit fdf64bf

Please sign in to comment.