Questions tagged [google-cast]
Questions related to the Google Cast screen-sharing technology. Includes questions about creating a Receiver (a HTML5/JS/CSS3) app that runs on the Chromecast device, and about creating a Sender on their Chrome browser and / or iOS and Android devices.
1,410
questions
0
votes
0
answers
18
views
How to keep senders media session id in sync when receiver loads ads itself causing the media session id to change?
I am rewriting old Chromecast implementation (web sender + web receiver) from scratch using CAF and I have to use specific external ad library that provides only 1 option for how to implement ads with ...
0
votes
0
answers
16
views
Running Cast Receiver (H5 application) on Win10 Chrome cannot receive casting from Youtube on Android phone?
My problem: I am following Google Cast Sample Application Documentation to develop a Cast Receiver default receiver application (I have not registered App ID, so I didn’t use a personalized or custom ...
0
votes
0
answers
25
views
Receiving ID3 metadata with HLS streams
How do I get ID3 metadata using a web cast receiver? I have registered event listeners for TIMED_METADATA_CHANGED and ID3 events but they aren't fired when ID3 tags are inserted into the HLS stream.
...
0
votes
0
answers
33
views
Flutter how to read the device capabilities?
Flutter application, I am using Bonsoir 2.0.0 to fetch the available devices. I use service type as _googlecast._tcp. I am able to detect devices but I would like to filter the devices based on device ...
0
votes
0
answers
29
views
CAF Receiver - removeSupportedMediaCommands - Understanding of Usage
Hello fellow Chromecast devs!
I've got a Chromecast question, on expectation of a method in the PlayerManager (at the bottom).
I have a Chromecast receiver that is provided both VOD and Live video ...
0
votes
1
answer
100
views
Widevine license format expected by Chromecast receiver
For video assets protected with Widevine DRM, my CDN's license server returns a base64-encoded license in this form:
{
"getWidevineLicenseResponse": {
"license": "...
0
votes
0
answers
39
views
Cast Video not restarting
I have made a simple castPlayer but when the video ends I cannot press play again as opposed to when I'm using exoPlayer. Did I miss something ?
import android.os.Bundle
import android.view.Menu
...
1
vote
1
answer
207
views
Cast: Intercepting (and adjusting) response from Widevine license proxy
I'm trying to get DRM-protected content to cast to my Chromecast device via my custom receiver, and I keep getting this error:
[ERROR] Event detected: {"type":"ERROR","...
0
votes
0
answers
37
views
Google Cast issue, not presenting permission window
I've added this into my info.plist file:
<key>NSBonjourServices</key>
<array>
<string>_googlecast._tcp</string>
<string>_4GGQVVZPNW._googlecast....
0
votes
0
answers
32
views
Chrome cast status that shows wifi strength
Months ago, I came across some article about how to get chromecast device status which shows things like signal(wifi) strength.
I can't find that article anymore. Can anybody point me to it?
Regards,
...
1
vote
0
answers
74
views
Creating a Custom Receiver - my App ID doesn't work with Cactool v.2
I'm following the https://developers.google.com/cast/codelabs/cast-receiver tutorial, but after registering my basic receiver with my own App ID, my app isn't castable in the Cactool v.2 sender ...
0
votes
0
answers
31
views
Connection controller image aspect fill on iOS GoogleCast SDK
Is there a way on the GoogleCast SDK to make this header image scale to fill the width of the screen? I wasn't able to do it using the styling properties available on the SDK.
I tried setting values ...
0
votes
1
answer
56
views
How to stop casting immediately on Android?
I need to stop casting after the user enabled it inside my app.
The app listened to MediaRouter.Callback as below:
private val mediaRouterCallback = object : MediaRouter.Callback() {
override fun ...
3
votes
0
answers
118
views
Has anyone successfully implemented Google cast sdk with Jetpack Compose? What approach did you take?
I am currently trying to add Google cast sdk to a pure Compose app.
I have hit several issues with various approaches. I am wondering if anyone else has achieved this and if so what approach did they ...
0
votes
2
answers
273
views
On Android, how to check the phone screen is casting?
I need to check if the Android phone my app runs on is using casting which is enabled outside of my app.
It seems CastSession or SessionManager can provide the session related to my app which is not ...
0
votes
0
answers
150
views
How to end / stop the casting session with chrome-cast or TV once user kills the application?
I am using google-cast-SDK for the casting feature the issue I am facing is that once I kill the application I want to stop / End the current ongoing session with the chrome-cast or TV.
I have tried ...
1
vote
1
answer
279
views
How can I resolve Task is not yet complete exception when implementing Google Cast into project?
I've been working on this for weeks no joke but I'm really stumped at this one part. So I'm in the process of implementing Google Cast into a poorly constructed codebase that I inherited.
Specifically,...
0
votes
1
answer
85
views
Is WebM live streaming supported on Chromecast?
WebM is listed as a supported format on Chromecast, but does that include live webm files? I.e. a camera that generates a WebM file. Does it need to be formatted in a certain way, or is a custom ...
1
vote
1
answer
85
views
Could a custom receiver support other streaming protocols?
The documentation outlines HLS and MPEG-Dash (among others) that are supported. From an Android sender, I'd like to stream a low latency protocol like WebRTC or RTP, could a custom reciever be made to ...
0
votes
1
answer
79
views
Is there a way to disable the seeking bar of the google home app when casting?
When casting, google home app takes the session and acts as a controller. I need to disable or block or hide the seeking bar, so the user can't seek from google home app
Element to disable in google ...
0
votes
0
answers
25
views
How to detect when the user sets an active tracks
I need my iOS sender app to be aware of any changes made by the user regarding the active tracks but I cannot find any way to do so.
When the app is registered as a GCKMediaController delegate, it is ...
2
votes
0
answers
46
views
Android TV cast - Senders count limit
What is the right way to set limit on senders count to only 1 user at a time. Should it be sender or receiver that disconnects previous session? or is there any right way to do it?
Tried sending ...
0
votes
1
answer
236
views
How to include google cast sdk into AOSP. What are the essential requirements. We want to build custom AOSP for TV that has cast enabled
Unable to find the solution for Google cast on AOSP
We have gone through documentation, did not do any implementation yet.
0
votes
0
answers
109
views
Not able to connect to TV using chromecast
I've been trying to implement chromecast to my android app.
Even after following the documentation i am not able to establish a connection.
SessionManagerListener<CastSession> ...
0
votes
0
answers
23
views
Chromecast option unavailable with styledMediaReceiver ID in deployed web app
I have a deployed web app where I added the styled media receiver ID using the silvermine plugin. I have published the application in the SDK console and enabled listing.
No casting option appears. ...
0
votes
0
answers
73
views
Multiple receiver app on single cast console. Undiscoverable after publishing one app
I have developed a chromecast app for our streaming website. in our cast console we had registered multiple apps and all were discoverable , but after publishing one app , other apps are undetectable ...
0
votes
0
answers
117
views
Connect-SDK : Failed to connect to Google Cast device (Chromcast)
I am developing a TV Remote control application. I am only discovering CastService and DIALService devices. After getting the devices list. I select a device and try to connect it with the below code.
...
2
votes
0
answers
263
views
How can I add In-app screen mirroring option
I want to add an in-app screen mirroring option that would cast only the app's surface view/ layout/screen to cast-enable TV(Android TV). I tried different approaches but couldn't reach any concrete ...
0
votes
0
answers
160
views
Can I cast files over HTTP with Silvermine/videojs-chromecast
actually I can cast my video file over HTTPS with this videoJS plugin. But I also want to use it on my local network, and in my local network I can't access to the website with https. So is there an ...
0
votes
1
answer
104
views
How to securely store key in a Custom Google Cast Web Receiver app?
In my Custom Web Receiver Google Cast app I need some security key which enables application to function properly. This key should never be exposed to any user. Users will start and use the app ...
0
votes
0
answers
83
views
How to correctly notify the sender about the operation of the Google CAF receiver?
In playerManager.setMessageInterceptor (cast.framework.messages.MessageType.LOAD) I intercept the message and start the player.
Here comes the problem.
The sender drops the connection after about 5 ...
0
votes
0
answers
95
views
How to get vastAdsRequest response no ad or error from CAF SDK (Custom Web Receiver)
I am trying to implement CAF Receiver with VAST-ad (https://developers.google.com/cast/codelabs/cast-ads-receiver#0)
I am follow codelab to implement ad break like below
const addVASTBreaksToMedia = (...
0
votes
1
answer
370
views
How to handle ClearKey DRM content on a custom receiver (Chromecast)?
I'm trying to create a custom chromecast receiver that is able to play clearkey protected content. How can i use the clearkey from the receiver side to achieve that.
0
votes
0
answers
49
views
Are there any Chromecast solutions for multiple displays using macOS?
I am trying to find a Chromecast solution, whether I write it myself in macOS/Swift, or there is something already in the works. I came across the Chromecast SDK, but I see it only support Android ...
0
votes
0
answers
477
views
Google cast doesn't work with API 32 or API 33 on Android Studio
According to the d/m screenshots the Google cast function is unable to scan available devices although this function works properly with API 30 (x86 ABI only x64 doesn't)
How can I get it to work with ...
0
votes
0
answers
107
views
How can I handle embed text tracks on chromecast
I'm trying to play a live stream which is .m3u8 file and using embed text tracks in it. (I mean the text track is wrapped with video segment in the same .ts file) It works well on videoElement since I ...
0
votes
1
answer
157
views
Chromecast – How to differentiate main and alternate media tracks from HLS medias?
I'm currently facing an issue in Chromecast related to the management of alternate audio and text tracks.
I'm trying to differentiate media tracks (both audio and text) with the same language, but ...
1
vote
0
answers
99
views
Google Cast audio mirroring
I am looking into Google Cast for my Android app as I use AirPlay for my iOS app. Overall, the setup seems overly complicated. I happen to use Exoplayer, but in a bit off-label manner with multiple ...
0
votes
0
answers
81
views
How to know when input TV changed from HDMI1 to HDMI2 programmatically?
I am developing an app for "GoogleTV" and "Chromecase with GoogleTV". My app needs to know when HDMI input changed to pause the video stream. I have found the following information ...
1
vote
0
answers
495
views
Flutter iOS Chromecast doesn't request for NSLocalNetworkUsageDescription
I have a problem with a flutter app, whenever I call GCKCastContext.sharedInstance().presentCastDialog() the cast device popup shows, it says to check settings to make sure that Local Network Access ...
1
vote
0
answers
193
views
Android Chromecast Sender won't update title and images
I've followed the instruction from Google on how to cast media metadata to chromecast, the initial loading is fine, it will show the title, image and play the stream, but my problem is that I am ...
0
votes
0
answers
185
views
DRM videos not working with Google Cast (CAF)
There is a problem with launching video from DRM via CAF (cast receiver)
It is noticed that one of the channels with drm starts up for me, but the video is not shown. Only audio works.
Other channels ...
0
votes
1
answer
464
views
DRM video doesn`t in google cast web receiver (CAF)
I am experiencing a problem when working with CAST web receiver. DRM Video does not start on the TV (Android TV). Preloader works endlessly. How to solve this problem?
The title and description in the ...
0
votes
1
answer
170
views
On start, display a page on chromecast instead of default image slideshow
I have a problem. As far as my understanding of chromecast goes, it connects to the local home wifi and allows anyone connected to the same wifi to cast to it. Now the problem is that in a business ...
-1
votes
1
answer
117
views
How to provide another user to manage Google Cast SDK Developer Console?
Need to provide Google Cast SDK Developer Console to other user to manage this. As the we can't share the root google account credentials.
0
votes
0
answers
38
views
how to make cast built in streamer
i have a audio streaming device with integrated amplifier i use to make audio on outdoor speakers. It has already got airplay and spotify connect. Can i also write the SW to make it google cast ...
0
votes
1
answer
511
views
Cast app, android cast app does need both sender and receiver?
I just want to know is that. For creating the cast application we have to develop or provide both functionality sender and receiver. I mean as the user downloads the Cast app in mobile, user also have ...
0
votes
1
answer
297
views
How to cast Local Video using google cast sdk on iOS Sender
searched for similar issues in this forum, and in the previous replies, someone suggested to embed a webService in iOS platform to implement it, but last year someone suggested to use MediaStore (but ...
3
votes
1
answer
335
views
Build a basic Cast Receiver: Casting button does not show
I am following the instructions in the tutorial "Build a basic Cast Receiver". I have registered my app following the instruction in stage 4 (Custom Receiver selected, input the URL from ...