Questions tagged [custom-receiver]
50 questions
10
votes
1 answer
DRM WideVine video not playing from android cast sender application
I am using the following cast receiver
When I connect my android sender to chromecast device, it show a black screen and never plays video.
https://github.com/googlecast/CastReferencePlayer
I'm setting licenseUrl for widevine in receiver as…

Ibrahim Iqbal
- 600
- 3
- 23
8
votes
2 answers
Chromecast receiver application cannot play widevine drm protected content from Android sender application
I'm using receiver application from Expressplay's site for chromecast. https://www.expressplay.com/developer/test-apps/#ccplayer.
I've tested it from the browser by passing license URL along with the widevine stream path. It played the video, means…

Ibrahim Iqbal
- 600
- 3
- 23
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:…

Subash Shrestha
- 61
- 7
4
votes
1 answer
Spark streaming parallel processing for multiple receivers
I'm using Spark Streaming for multiple custom receivers (2 receivers for different UDP data sockets, 1 for HTTP data) in my app. Receiver's transformations don't have any resource in common.
When count of input data was increased, I found that these…

Alexander Ryasnyanskiy
- 101
- 1
- 8
3
votes
2 answers
CAF Receiver, shutdown handling
i'm trying to add logic to the shutdown event on my receiver app but every time the sender disconnects, debugger just closes and no logic is executed (like sending some HttpRequests).
My piece of code:
this.context.addEventListener(
…

Kici
- 170
- 3
- 14
3
votes
1 answer
Spark Streaming : Custom Receiver : Data source : Websphere Message Queue
I am trying to implement Customer receiver for WSMQ data source in Spark streaming. I followed the example provided here.
Later I followed example at this Github repository.
I am getting three issues:
1: Error (This error comes after the program…

Hadoop-worker
- 196
- 11
2
votes
0 answers
Chromecast reciever with WebRtc PeerConnection crashes after 30sec
I wrote a screen mirror client app in javascript with html ui, and ran it in chrome browser.
I took same app and deployed as chromecast receiver app, it streams & plays audio/video on chromecast for few seconds and then crashes. I don't see any log…

Hakeem
- 95
- 9
2
votes
0 answers
Chromecast does not resume after pause with error 2100
I recently updated my application from the old CastCompanionLibrary to Chromecast SDK3 and although play and seek work normally, I can't resume playback after pause. I am logging the error as follows
player.play().setResultCallback(new…

Katerina A.
- 1,268
- 10
- 24
2
votes
1 answer
Send Base64 encoded image as string to Chromecast
The problem is to send local image from phone as encoded Base64 string to Chromecast. And decode it using my Custom Receiver. I was following this guide which is based on this project sample.
I suggest the problem might be in:
Custom Receiver is…

AnZ
- 1,040
- 24
- 54
2
votes
0 answers
Chromecast duplicate connection when one sender connects to custom receiver
I've recently started encountering an issue where 2 sender connection events are firing every time only 1 sender connects to my custom receiver. I'm getting the following error in the receiver debug console.
cast_receiver.js:37 [ 2.456s]…

Casper Smith
- 21
- 1
2
votes
1 answer
Google Cast - Sample Android app not showing Cast icon if I change App ID
I'm working with the CastHelloText-android project from Googlecast Github because I want to understand how the messages between the Sender and the (Chrome)cast Receiver works.
I registered my device (Console says Ready for Testing).
I checked out…

Joaquin Iurchuk
- 5,499
- 2
- 48
- 64
1
vote
0 answers
How to hide CAF notification
I am developing an app and using a custom Chromecast Receiver CAF v3. I have managed to show a notification when playing media on the Chromecast receiver. And I can also update the notification by setting data such as title and image by calling…

Jonas
- 21
- 3
1
vote
0 answers
Buffering percentage in CAF v3 Receiver
How do I get the buffering load percentage from the Chromecast Receiver CAF v3?
I am developing a custom receiver and would like to be able to show a percentage when buffering a stream, so the user is able to see how close the stream is to starting…

Jonas
- 21
- 3
1
vote
1 answer
Custom CAF Receiver and built-in slideshow issues
We are currently working on a Custom CAF Receiver App. We would like to promote some of our contents using the built-in slideshow feature (see : https://developers.google.com/cast/docs/caf_receiver_features#slideshow). However, when the Receiver is…
1
vote
2 answers
CAF Receiver, shutdown handling to http requests
Some background reading at first :) what is shutdown handling
I'm doing a custom receiver with CAF SDK.
With the similar shutdown handling, I try to dispatch some http requests within the callback like:
receiver.addEventListener(
…

Francis zhao
- 11
- 4