Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Build - rust-toolchain.toml pins Rust 1.88, the minimum version of the Rust Video SDK. - Cargo.toml builds getstream._native from rustsrc/ against the SDK (stream-video-rust, branch fix/compatibility-fixes). - pyproject.toml uses maturin instead of hatchling, and uv cache keys make uv sync rebuild after Rust changes. - release-please also updates the version in Cargo.toml and Cargo.lock. - AGENTS.md lists the native build requirements. Binding - Client/Call: join, leave, session_id and calling_state as awaitables and properties; SDK errors raise Error and RtcError. join() waits until a cancelled join has finished its cleanup. - events() and tracks(): async iterators that end when the call ends; participants() and call_state(). - Media: RemoteTrack.next_pcm()/next_video_frame() return numpy arrays without a copy; LocalAudioTrack/LocalVideoTrack, publish_audio(), publish_video() and update_subscriptions(). Logging - SDK tracing events and third-party log records reach Python logging through a bounded queue and one forwarding thread, so a thread that logs never waits for the GIL. - configure_logging(logger, level, third_party_level=WARNING); records keep the time of the Rust event. - Client(log_bodies=True) logs redacted request and response bodies.
SDK logs are now visible in pytest runs
Fewer requests get sent to the backend this way
- Call.stop_publish_audio, stop_publish_video, stop_publish_screen_share - Call.publish_screen_share (VP8) - LocalAudioTrack(pcm_queue_capacity) in seconds - __repr__ for participants, events, remote tracks and frames - AGENTS.md: sdk_logs is for assertions on records
- Emit SFU events, coordinator custom events, connection state changes, call_ended, track_added and audio from the SDK event and track streams, with stream-py payload classes instead of protobuf. - Join with an API secret or a user token; apply subscription configs. - Publish aiortc audio and video tracks through AudioForwarder and VideoForwarder (VP9 video, mono audio, unpaced AudioStreamTrack option). - Key participants_state by session_id, include the local participant and refill it after lost events. - Add RemoteTrack.video_frames(): an independent latest-frame stream for each reader, in place of next_video_frame(). - Remove local recording. - Add migration.md with the breaking changes versus 4.1.0.
dangusev
force-pushed
the
feature/rust-sdk-video
branch
from
October 2, 2026 12:41
8805bd0 to
a17f9eb
Compare
Consumers import RemoteTrack, RemoteParticipant, TrackType, VideoFrameStream, VideoFrame and the emitted event classes from the public package instead of getstream._rust.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.