Will there be Chromecast Receiver Emulator or an alternate app that acts as a receiver for development?

StackOverflow https://stackoverflow.com/questions/17845596

  •  04-06-2022
  •  | 
  •  

Domanda

Will there be any sort of emulator for the Chromecast receiver itself? Or possibly a way I could run a secondary Chrome window on my laptop that behaves the same as the one on the receiver itself. This way developers can test their sender applications without actually having the physical receiver device on-hand.

È stato utile?

Soluzione

Update: Our latest effort is a complete chromecast v2 receiver, called YouMap Chromecast Receiver, works very well on Android devices, including FireTV: http://forum.xda-developers.com/hardware-hacking/chromecast/app-youmap-chromecast-receiver-android-t3161851

We just released a chromecast emulator on iOS, freely available from App Store:

https://itunes.apple.com/us/app/rplay/id692511073?mt=8

Spent a few days to emulate Chromecast inside rPlay, finally it can find the rPlay (on Raspberry Pi) as a chromecast device, and it can send youtube URL redirection. still long way to go, but seems possible.

Attached is a screenshot of Youtube on Nexus 7, the Chromecast button is shown, when clicked, it will show rPlay as the device. enter image description here

More info on rPlay: http://www.vmlite.com/index.php?option=com_kunena&Itemid=158&func=view&catid=23&id=10991

We will release chromecast emulators for windows/Linux/Mac/android/iOS in September.

Altri suggerimenti

This project is in early development. Youtube works, at least.

https://github.com/dz0ny/leapcast

There doesn't appear to be one provided, but it should be possible, perhaps as a Chrome extension.

Fun facts: a ChromeCast compatible receiver would need to respond to DIAL Service Discovery requests sent via SSDP. Assuming it identified itself correctly and responded to DIAL commands, it would also need to open a WebSocket and respond to commands sent from the sender which are serialized JSON arrays containing the application namespace string and an application-specific JSON object as the first and second array elements. The receiver would at minimum only need to respond to two application namespaces ("cm" and "ramp" for the MediaProtocolCommand) in order to be compatible with the SDKs.

Another one (in early stage though) is CheapCast.

CheapCast is an Android App (no root required) that aims to emulate the ChromeCast Dongle. It allows your Android Device to act as target (1st screen) for ChromeCast-enabled Applications (like YouTube, Google Music).

App: https://play.google.com/store/apps/details?id=at.maui.cheapcast
Demo: http://www.youtube.com/watch?v=2ktmrXgj9qQ
Source: https://github.com/mauimauer/cheapcast (not yet available)

You can run Chrome and install this Chromecast receiver emulator extension: https://chrome.google.com/webstore/detail/cr-cast/acmfmindblghbicdipoakcolegkcddbk

If you want to understand its workings, you can unpack the CRX and view the code.

Update 2015: CR-cast no longer works with current Chromecast API.

Here is the link: https://play.google.com/store/apps/details?id=com.softmedia.receiver.castapp&hl=en

I am using the CastReceiver application on android to receive Chromecast.

So for that, just you need an extra android device to run the application.

You can try this project https://github.com/vbaicu/mMusicCast

works great with youtube if you're like me and use the chromecast only to stream music.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top