tsc-core: media feature without backends, media-desktop with them

`media` uses whatever tsc-media backends are enabled (MediaCodec and a
registered capture source on Android); `media-desktop` adds tsc-media's
default backends (libvpx, OpenH264, X11, PipeWire). The default features
no longer include media, so crates that depend on tsc-core with defaults
do not pull libvpx into Android builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
Claude committed 2026-09-26 15:36:51 +00:00
1 parent 99eae558b8
commit d36d6102e9
5 files changed
+29 -19

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ tsc-query = { path = "../../crates/tsc-query" }
tsc-observer = { path = "../../crates/tsc-observer" }
tsc-audio = { path = "../../crates/tsc-audio", default-features = false }
# The stream media pipeline (capture, VP8, decoding), without audio devices.
tsc-core = { path = "../../crates/tsc-core", default-features = false, features = ["media"] }
tsc-core = { path = "../../crates/tsc-core", default-features = false, features = ["media-desktop"] }
tsc-stream = { path = "../../crates/tsc-stream" }
tokio-tungstenite = "0.30"
futures-util = "0.3.34"