从发送器应用程序连接投射设备后如何放置自定义图像? (android 应用程序)

How to put custom image after cast device is connected from sender application? (android app)

我已经使用 Media Router 投射我的应用程序,我想在连接到 chromecast 设备后像 youtube 一样更改屏幕(参考)。我该如何实现?

i want like this image but that image will be my own

Now it shows this:

如果您选择使用 Cast SDK 进行投射,那么您可以编写自己的自定义接收器或使用 Styled Receiver 并提供主页图像和更多样式参数。