aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-android/app/build.gradle.kts
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-03 09:03:34 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-03 14:24:54 +0200
commit57758895bc7b0f7f21497194e81172f43d634852 (patch)
treea4a3c71f9aafbc65199e140b7111ee04163fa295 /packages/meshbay-android/app/build.gradle.kts
parentd8f5005ba2c9a249ce5ce8976d9c3754a3a7458e (diff)
downloadmeshbay-57758895bc7b0f7f21497194e81172f43d634852.tar.gz
feat(android): casting through a LAN relay and the platform cast SDK
A port of cast-relay.js (backlog also bounded in bytes), discovery and control with the default media receiver, relay calls kept in order, and a foreground service plus a WebView kept visible so a cast survives the screen going off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-android/app/build.gradle.kts')
-rw-r--r--packages/meshbay-android/app/build.gradle.kts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/meshbay-android/app/build.gradle.kts b/packages/meshbay-android/app/build.gradle.kts
index 7f52abe..b26acf3 100644
--- a/packages/meshbay-android/app/build.gradle.kts
+++ b/packages/meshbay-android/app/build.gradle.kts
@@ -35,6 +35,11 @@ dependencies {
// Ed25519, X25519, HKDF and Argon2id, identical on the JVM and every
// Android version: the platform has no Argon2 and its Ed25519 is recent.
implementation("org.bouncycastle:bcprov-jdk18on:1.86")
+ // Casting: discovery through MediaRouter, control through the cast sender
+ // SDK and the default media receiver. Needs the vendor's play services at
+ // run time; where they are absent the page is offered no cast at all.
+ implementation("com.google.android.gms:play-services-cast-framework:22.3.1")
+ implementation("androidx.mediarouter:mediarouter:1.8.1")
testImplementation("junit:junit:4.13.2")
// Android's org.json is a stub on the JVM; the unit tests need the real one.
testImplementation("org.json:json:20260814")