From 504a66a3153ffe9af1f72a0e488800759ac8248a Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Fri, 30 Oct 2020 19:08:38 +0100 Subject: [PATCH] [cast] Add some comments --- src/outputs/cast.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/outputs/cast.c b/src/outputs/cast.c index aa89f62b..fc49bc9c 100644 --- a/src/outputs/cast.c +++ b/src/outputs/cast.c @@ -59,6 +59,16 @@ #include "cast_channel.pb-c.h" #endif +// This implementation of Chromecast uses the same mirroring app that Chromium +// uses. This app supports RTP-streaming, which has the advantage of quick +// startup and similarity with Airplay. However, I have not found much +// documentation for it, so the reference is Chromium itself. Here's how to +// start a Chromium mirroring session with verbose logging: +// +// 1) chromium --user-data-dir=~/chromium --enable-logging --v=1 ~/Music/test.mp3 +// 2) right-click, select Cast, select device +// 3) log will now be in ~/chromium/chrome_debug.log + // Number of bytes to request from TLS connection #define MAX_BUF 4096 // CA file location (not very portable...?)