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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

How to update currently playing protected video from iOS app when casting to Chromecast?

I checked CastVideos-ios sample app and now using this code to switch current item when casting to Chromecast: let builder = GCKMediaInformationBuilder(contentURL: url) if let remoteMediaClient = ...
Roman Podymov's user avatar
0 votes
0 answers
27 views

How to get absolute current time for LIVE dash stream from chromecast?

I need to know the chromecast current position when playing a live dash stream. For testing I am using this akamai stream. I tried to use RemoteMediaClient.getApproximateStreamPosition() but it only ...
Rui Rodrigues's user avatar
0 votes
0 answers
33 views

How customize pairing method to cast on Google cast android tv built-in, so cannot see or listing to another user either on the same network?

Currently, i just try to customizing pairing method to cast to android tv chromecast built-in on my office. by default if we connect on the same network, all the device are listed before we cast. Also ...
Pakepolomo's user avatar
0 votes
0 answers
54 views

CastPlayer: How to pause at the end of a media item, not to proceed to the next

I am developing an Android app using Cast in media3 v1.1.0. The CastPlayer automatically moves to the next media item when the playback of the current media item finishes. When there is only one media ...
Malu's user avatar
  • 1
0 votes
0 answers
42 views

Google Cast SDK - iOS - Why can't I connect to a custom receiver?

My ap works fine with the default cast receiver app, but will not connect to my custom receiver app. The main thing I would like to find out is what is this log message: GCKCastDeviceMDNSScanner ...
oshevans's user avatar
  • 116
0 votes
0 answers
64 views

How to implement a DIAL launch on Android TVs and Google TVs?

Since we are struggling to get support for this (we tried Google Developer Support and the DIAL "Contact Us" Google Forms: http://www.dial-multiscreen.org/contact-us) I writing here in hope ...
MR Gui Quadros's user avatar
0 votes
0 answers
48 views

Flutter: How to implement different screencast orientations to TV on both Android and iOS

I am looking to do a flutter app that is locked into Portrait mode. It will need to play a video and also use the camera in half screens as a stack with various graphical outputs layered on top of the ...
richardj's user avatar
0 votes
0 answers
59 views

How to make a receiver on Android phone like AirReceiver or CastReceiver?

[ 0.000s] [cast.receiver.IpcChannel] Opening net websocket cast_receiver_framework.js:742 Lit is in dev mode. Not recommended for production! See https://lit.dev/msg/dev-mode for more information. ...
Seunghyun Lee's user avatar
0 votes
0 answers
27 views

Get media information being casted by SoundCloud or Spotify on android tv in iOS

I want to get the information of what is being casted on android tv by any application e.g SoundCloud, Spotify or Youtube. Also I want to add controls to change volume, previous/next, play/pause for ...
mansoor ali's user avatar
0 votes
0 answers
17 views

How to connect my IOS app to a chromecast that is being casted on by another device without overrwriting the current cast session

Title, my app is supposed to function as a controller, changing volume forward/back etc, but I can't seem connect to the chromecast without overwriting the cast session that is currently going on. Is ...
Jeremy Fouladian's user avatar
0 votes
0 answers
50 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 ...
Teemu Hokkanen's user avatar
0 votes
0 answers
50 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 ...
Fly Felix's user avatar
0 votes
0 answers
95 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. ...
Daniel Brown's user avatar
0 votes
1 answer
92 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 ...
Raghu Mudem's user avatar
  • 6,793
0 votes
0 answers
54 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 ...
Jaclyn Staples's user avatar
0 votes
1 answer
244 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": "...
Ptumster's user avatar
0 votes
0 answers
72 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 ...
Biscuit's user avatar
  • 4,850
1 vote
1 answer
382 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","...
Ptumster's user avatar
0 votes
0 answers
49 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....
Sepehr Keyhani's user avatar
0 votes
0 answers
59 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, ...
Michael Van Der Beek's user avatar
2 votes
0 answers
130 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 ...
Ptumster's user avatar
0 votes
0 answers
36 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 ...
Hedo Eccker's user avatar
0 votes
1 answer
75 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 ...
Mohammad Reza Khahani's user avatar
6 votes
0 answers
268 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 ...
Paul Frank Allan's user avatar
0 votes
2 answers
651 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 ...
Mohammad Reza Khahani's user avatar
0 votes
0 answers
191 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 ...
chirag05k's user avatar
1 vote
2 answers
404 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,...
CDK's user avatar
  • 11
0 votes
1 answer
105 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 ...
SOSparachuter1's user avatar
1 vote
1 answer
100 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 ...
SOSparachuter1's user avatar
0 votes
1 answer
113 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 ...
Dafne Casanueva's user avatar
1 vote
0 answers
37 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 ...
Aurelien's user avatar
  • 141
2 votes
0 answers
49 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 ...
Gor Grigoryan's user avatar
0 votes
1 answer
346 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.
Md Nehaluddin Haider's user avatar
0 votes
0 answers
150 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> ...
android_dev's user avatar
0 votes
0 answers
25 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. ...
enchantingbyholma's user avatar
0 votes
0 answers
82 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 ...
Alvey_oo5's user avatar
0 votes
0 answers
152 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. ...
mehran khan's user avatar
2 votes
0 answers
377 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 ...
hardik9850's user avatar
0 votes
0 answers
195 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 ...
Imprevisible's user avatar
0 votes
1 answer
136 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 ...
Matevz's user avatar
  • 3
0 votes
1 answer
470 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.
Jorgy's user avatar
  • 3
0 votes
1 answer
204 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 ...
Pedro Chamberlain's user avatar
1 vote
0 answers
115 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 ...
brettywhite's user avatar
1 vote
0 answers
644 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 ...
bypass112's user avatar
1 vote
0 answers
244 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 ...
bypass112's user avatar
0 votes
0 answers
247 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 ...
Алексей Обронов's user avatar
0 votes
1 answer
568 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 ...
Алексей Обронов's user avatar
0 votes
1 answer
210 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 ...
Ahmed Chaudry's user avatar
-1 votes
1 answer
175 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.
Bikash Nayak's user avatar

1
2 3 4 5
29