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.

Google Cast is a technology suite that brings TV's into the multi-screen era. In simpler words, Google Cast is a screen-sharing technology that lets a user send and control content like video from a small computing device like a phone, tablet, or laptop to a large display device like a television.

Developers will need to create a Receiver (a HTML5/JS/CSS3) app that runs on the Chromecast device. They also must create a Sender on their Chrome browser and / or iOS and Android devices.

1411 questions
6
votes
2 answers

Does Chromecast support the TS container format in MPEG-DASH manifest

In their developer documents, they say they support the following: • Containers: MP4/CENC, WebM, MPEG-DASH, SmoothStreaming However, MPEG-DASH and SmoothStreaming are streaming protocols that allow for various containers. The MPEG-DASH spec allows…
nick
  • 61
  • 4
6
votes
2 answers

How to check if a ChromeCast Session is already in progress

The use case is that a user starts playback from their iPhone, lets say, and then picks up their iPad (both running my app) and wants to contect to and control the running video from this other iOS device. On iOS, I do not see any way to determine…
greg
  • 61
  • 1
  • 3
6
votes
1 answer

Does the Google Cast extension for Google Chrome support 1080p?

In the Options for the Google Cast extension under 'Tab projection quality', there are three options: Extreme (720p high bitrate) High (720p) Standard (480p) 1080p is not listed. I assume if I play a 1080p video that it will work because it's…
Dov D.
  • 530
  • 3
  • 10
5
votes
0 answers

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 take? I have tried adding the cast implementation…
5
votes
2 answers

How to change `applicationID` in Google Cast dynamically? iOS SDK

I initialize Google Cast SDK in my application: didFinishLaunching like that: let criteria = GCKDiscoveryCriteria(applicationID: kGCKDefaultMediaReceiverApplicationID) let options = GCKCastOptions(discoveryCriteria:…
Aleksandr Honcharov
  • 2,343
  • 17
  • 30
5
votes
2 answers

Debugging Chromecast app displays error message

I have a custom Chromecast receiver that isn't working and I'm trying to figure out why. When I cast to it from Chrome on my desktop my app starts up on the Chromecast but the Chromecast dialog just says Connecting... And although my app does…
5
votes
0 answers

Chromecast Reciever App Error : '[goog.net.WebSocket] The WebSocket disconnected unexpectedly: undefined '

While creating a receiver application in chromecast we are getting a problem as : [goog.net.WebSocket] The WebSocket disconnected unexpectedly: undefined cast_receiver_framework.js:507 WebSocket connection to 'ws://localhost:8008/v2/ipc' failed:…
5
votes
1 answer

Angular 6 - Chrome in IOS - Router problem

I'm working on an Angular 6 web site and I face a weird problem only on Chrome in IOS (iPad, iPhone). Each page renders correctly when going directly to each link. But when I click on any of the links inside any page, it generates a NavigationError…
5
votes
0 answers

How to update Chromecast MediaMetadata during radio stream?

I recently added the ability to (chrome) cast a radio stream (audio/aac) from my Android radio app. The initial casting works as expected; the stream begins playing on the selected chromecast device and the MediaMetadata I provided is displayed in…
dr_sulli
  • 893
  • 10
  • 21
5
votes
1 answer

Chromecast cannot receive custom messages (CAF Receiver)

I am working with react native wrapper for Google Cast SDK and I couldn't send a message from the sender to receiver. I am able to cast media or pause and resume it. The problem is only about custom messages. My custom message listener is never…
tonder
  • 324
  • 3
  • 15
5
votes
3 answers

Start cast session for a cast device

I've got this use case: Detect cast devices and save their id, names and information; In automatic way, connect to predefined device and start cast session with some content. I've studied the Google Cast API v3 and it seems really hard. While with…
greywolf82
  • 21,813
  • 18
  • 54
  • 108
5
votes
1 answer

Cast session getting suspended due to "GCKConnectionSuspendReasonNetworkNotReachable"

Observed behavior: After starting the casting of music files, user enters the background. After a few minutes of playing the music file through cast, session gets suspended with the reason GCKConnectionSuspendReasonNetworkNotReachable, even though…
Vikas Dadheech
  • 1,672
  • 12
  • 23
5
votes
2 answers

How do I decode id3 metadata in a chromecast receiver app?

Using Host.processMetadata() to get ID3 tags in the video stream. It says that this comes as a Uint8Array but I can't figure out how to decode this properly. I am using: new TextDecoder("utf-8").decode(data); However that is not decoding the data…
Mike Mintz
  • 273
  • 1
  • 11
5
votes
1 answer

HTML5 / CSS GPU Performance optimization

I created a card game using HTML/CSS/JS. It moves animates cards around the screen and animates a scoreboard / messageboard. The performance on my chromecast is terrible though. Sometimes degrading to 4fps :(. When I debug the app it is using…
DanLatimer
  • 117
  • 8
5
votes
2 answers

How can I cast an HTML page with the Google Cast Chrome extension?

I'm building a simple web application that I want to be able to display on a TV screen using the Google Cast SDK, the Chrome browser and a Chromecast. I know with the Chromecast extension for Chrome Browser, I can cast a tab to a Chromecast device,…
user2719094
  • 1,611
  • 5
  • 26
  • 36