Questions tagged [custom-receiver]

50 questions
0
votes
1 answer

Is there a limit on the size of chromecast custom receiver application?

I have chromecast custom receiver application that just show photo. When I use photo size 2 mb it works, when photo 20 mb, custom receiver is crashes. I use chromecast ultra. Addition: Actually it depends on image resolution, not size. If resolution…
user1884872
  • 197
  • 1
  • 3
  • 14
0
votes
0 answers

Google Cast Video Player becomes unresponsive after network error

I am working on a Chromecast custom receiver app, built on top of the sample app provided by Google (sampleplayer.CastPlayer) The app manages a playlist, I would like the player to move on to the next item in the list after a video fails to play for…
Hugo
  • 974
  • 9
  • 21
0
votes
1 answer

Chromecast custom receiver send custom metadata

I have chromecast custom receiver. I know how to send the common key values through mediaMetadata.putString(MediaMetadata.KEY_TITLE, "Something"); and capture them in the receiver. I am wondering if there is a way to send custom fields as metadata.…
0
votes
1 answer

How can we read data from all 65536 registers using MODBUS protocol using Spark Streaming?

I have a specific condition where I want to read data from MODBUS protocol. But it only allows me to read 120 registers at once.If I increase this count it gives me ERROR CODE=3 I am using JAMOD for this. Is there a way in which I can read data…
0
votes
2 answers

Spark Streaming: how not to restart receiver after receiver's failure

We are using a custom spark receiver that reads streamed data from a provided http link. If the provided http link is incorrect, the receiver fails. The problem is that spark will continuously restart the receiver, and the application will never…
0
votes
1 answer

How do you mitigate man in the middle attacks against a Chromecast?

I'm working on a Chromecast custom receiver that shows private information on the TV. After building a prototype, we realized the client (web, phone, whatever) could connect to a rogue device acting as a Chromecast and intercept anything intended to…
psayre23
  • 2,766
  • 2
  • 16
  • 10
0
votes
1 answer

How can I get Chromecast correctly display unicode characters using custom receiver?

I've setup a custom receiver application using CastHelloText-android as a base, and I'm trying to get it to correctly display certain unicode characters, however it is just displaying a blank space instead where the characters should be.
0
votes
0 answers

Android Sender App getting timeout when trying to connect to Chromecast

I am writing an Android App which is playing YouTube videos. I am working on adding Chromecast support to my app. I learnt from various questions posted on Stack Overflow that YouTube SDK does not provide direct APIs to cast videos from your own…
Keya
  • 859
  • 3
  • 9
  • 17
0
votes
1 answer

Continuous playback in chromecast receiver

I need to implement continuous playback in my google cast custom receiver. For that I am handling the video event 'ended' after playing my first content, and I have to make an API call there to get the next content's media url. And now I am…
Anna
  • 973
  • 4
  • 13
  • 26
0
votes
1 answer

Mixed content blocking in chrome cast receiver app

I am trying to play a DRM protected content using Chromecast custom receiver. I am following this doc https://developers.google.com/cast/docs/custom_receiver. But it is not working for me. It gives the following error log. Mixed Content: The page at…
Anna
  • 973
  • 4
  • 13
  • 26
0
votes
0 answers

Update Media Metadata from the Receiver

I am playing a video on my Custom Receiver via the Media Player Library. In my receiver, I want to update the video Metadata to set the Title of the currently playing media. What is the best way to do this? Currently, I am updating the Media…
Ryan
  • 160
  • 12
0
votes
2 answers

COAP as a Streaming Source

I am currently working on IOT Coap protocol.I accessed server on local host through copper firefox plugin. Then i Added resouce having "GET" functionality in server. After that i made its client as a streaming source. Here is the code of client…
Sadaf
  • 247
  • 5
  • 16
0
votes
1 answer

Chromecast Custom Receiver Show Different Content by Language

I wrote a sender in android and wrote a custom receiver, I have a problem that how can I know to show different language content from receiver when sender connected
Eagle
  • 451
  • 2
  • 5
  • 14
0
votes
1 answer

How to change namespace when broadcasting status to Sender

After media starts playing, I am broadcasting the status to the sender using the broadcastStatus() method like this: mediaManager.broadcastStatus(true); In my log, I see that the namespace is generated by default and is:…
Ally R
  • 11
  • 2
0
votes
3 answers

Chromecast cast HTML object using custom receiver

I am developing an Android app and I need to send a PDF file to Chromecast so I decided to use a PDF decoding library which return a HTML object. //Load Images: private void pdfLoadImages(final byte[] data) { try { // run async …