We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e8cfc3 commit ac9f3faCopy full SHA for ac9f3fa
1 file changed
livekit-rtc/livekit/rtc/data_stream.py
@@ -340,13 +340,13 @@ async def write(self, data: bytes):
340
]
341
342
for chunk in chunked_data:
343
- self._next_chunk_index += 1
344
chunk_msg = proto_DataStream.Chunk(
345
stream_id=self._header.stream_id,
346
chunk_index=self._next_chunk_index,
347
content=chunk,
348
)
349
await self._send_chunk(chunk_msg)
+ self._next_chunk_index += 1
350
351
@property
352
def info(self) -> ByteStreamInfo:
0 commit comments