Summary
Large VideoCodec.RAW frames sent over the byte-stream transport are not received within the test settle window. Two integration tests fail:
tests/integration/test_frame_video.py::test_large_frame_above_data_packet_cap (1280x720 RAW, ~2.7 MB)
tests/integration/test_frame_video_stress.py::test_4k_frame_roundtrip[raw] (3840x2160 RAW, ~24.9 MB)
The same 4K frame passes for PNG and MJPEG. Only the raw (uncompressed) path fails, which points to a transport or throughput issue specific to large raw payloads rather than a codec/decode bug.
Pre-existing
Found while building PR #58. Reproduces identically on unmodified main (verified by stashing the PR changes, rebuilding the cdylib, and rerunning the two tests). Not related to the role-split work.
Reproduce
LIVEKIT_URL=ws://localhost:7880 pytest \
"tests/integration/test_frame_video.py::test_large_frame_above_data_packet_cap" \
"tests/integration/test_frame_video_stress.py::test_4k_frame_roundtrip[raw]"
Both receive 0 frames within the window.
Notes
CI does not run integration tests (no server), so these do not show up as red in CI. They are only visible against a live LiveKit server. Worth deciding whether raw frames of this size are expected to work, or whether the tests should bound raw payload size.
Summary
Large
VideoCodec.RAWframes sent over the byte-stream transport are not received within the test settle window. Two integration tests fail:tests/integration/test_frame_video.py::test_large_frame_above_data_packet_cap(1280x720 RAW, ~2.7 MB)tests/integration/test_frame_video_stress.py::test_4k_frame_roundtrip[raw](3840x2160 RAW, ~24.9 MB)The same 4K frame passes for
PNGandMJPEG. Only the raw (uncompressed) path fails, which points to a transport or throughput issue specific to large raw payloads rather than a codec/decode bug.Pre-existing
Found while building PR #58. Reproduces identically on unmodified
main(verified by stashing the PR changes, rebuilding the cdylib, and rerunning the two tests). Not related to the role-split work.Reproduce
Both receive 0 frames within the window.
Notes
CI does not run integration tests (no server), so these do not show up as red in CI. They are only visible against a live LiveKit server. Worth deciding whether raw frames of this size are expected to work, or whether the tests should bound raw payload size.