Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add data stream support #347

Merged
merged 38 commits into from
Jan 27, 2025
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
a3aa0a0
Add data stream support
lukasIO Jan 15, 2025
b32ebc9
generated protobuf
github-actions[bot] Jan 15, 2025
f3dc6b6
return info on file send
lukasIO Jan 15, 2025
e04c6e3
expose stream_file
lukasIO Jan 15, 2025
0fa62f9
split written data into chunks
lukasIO Jan 15, 2025
758060a
intendation
lukasIO Jan 15, 2025
8db05c2
fix chunk size
lukasIO Jan 15, 2025
e311a53
fix imports
lukasIO Jan 15, 2025
61eb7fd
add write lock to file streams
lukasIO Jan 16, 2025
318b8d4
add send_file method
lukasIO Jan 16, 2025
15f100c
add explicit return types
lukasIO Jan 16, 2025
a506295
Add index to textstreamupdate
lukasIO Jan 16, 2025
ed2d981
add aiofiles to setup requirements
lukasIO Jan 16, 2025
585a220
fix protocol trailer implementation
lukasIO Jan 16, 2025
521179d
add read_all method for text streams
lukasIO Jan 16, 2025
df4de63
fix bugs and add text stream example
lukasIO Jan 17, 2025
0eeaa3f
generated protobuf
github-actions[bot] Jan 17, 2025
84f286c
update rust sdk
lukasIO Jan 17, 2025
6da1b83
fix proto
lukasIO Jan 17, 2025
3c2a980
generated protobuf
github-actions[bot] Jan 17, 2025
ff8aa7b
bump rust-ffi and split utf8 string properly
lukasIO Jan 17, 2025
8942fea
Merge branch 'lukas/data-streams' of https://github.com/livekit/pytho…
lukasIO Jan 17, 2025
b68d21a
Update naming
lukasIO Jan 22, 2025
e6c6576
generated protobuf
github-actions[bot] Jan 22, 2025
1b6f3a2
stream handlers and address comments
lukasIO Jan 22, 2025
5d16a05
Merge branch 'lukas/data-streams' of https://github.com/livekit/pytho…
lukasIO Jan 22, 2025
5ef54c8
fix interop
lukasIO Jan 22, 2025
cb8c32e
update lfs settings
lukasIO Jan 22, 2025
a3b34f6
add example asset
lukasIO Jan 22, 2025
bc5e695
point submodule to latest ffi release
lukasIO Jan 23, 2025
0989149
dedicated method to remove handlers
lukasIO Jan 23, 2025
464a6f8
Update livekit-rtc/livekit/rtc/data_stream.py
lukasIO Jan 24, 2025
ad21259
Update livekit-rtc/livekit/rtc/data_stream.py
lukasIO Jan 24, 2025
fde9e30
Update livekit-rtc/livekit/rtc/participant.py
lukasIO Jan 24, 2025
c5e6c3c
replace RingQueue with asyncio.Queue
lukasIO Jan 24, 2025
9e7974a
Merge branch 'lukas/data-streams' of https://github.com/livekit/pytho…
lukasIO Jan 24, 2025
b134299
update async stuff
lukasIO Jan 24, 2025
be8fa59
write to disk in example and fix asyncio bug
lukasIO Jan 27, 2025
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
Prev Previous commit
Next Next commit
Update livekit-rtc/livekit/rtc/data_stream.py
Co-authored-by: David Zhao <[email protected]>
lukasIO and davidzhao authored Jan 24, 2025
commit ad212599c63dee309d5ba89ffffb5148b37edcc3
1 change: 0 additions & 1 deletion livekit-rtc/livekit/rtc/data_stream.py
Original file line number Diff line number Diff line change
@@ -110,7 +110,6 @@ async def read_all(self) -> str:
@dataclass
class ByteStreamInfo(BaseStreamInfo):
name: str
pass


class ByteStreamReader: