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
@@ -2,7 +2,7 @@
//! server (dev/docker-compose.yml): one session streams the test pattern
//! (VP8 + Opus), another decodes it. Runs only with `TSC_LIVE=1`.
#![cfg(feature = "media")]
#![cfg(feature = "media-desktop")]
use std::sync::Arc;
use std::sync::mpsc as std_mpsc;