Questions tagged [caf-receiver-sdk]
20 questions
11
votes
4 answers
Google Cast custom receiver timing out
Using the Google CAF Receiver SDK, how do we prevent the receiver from timing out and automatically killing the cast session when we're not using the receiver player?
The standard Google Cast use case is to send media from a device to the cast…

Elliott
- 4,598
- 1
- 24
- 39
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
1
vote
0 answers
Chromecast CAF freeze issue on Gen#1 devices
CAF receiver from Chromecast Gen#1 freeze while Chromecast Gen#2 is working just fine for the same piece of content.
Even chrome://inspect is not throwing any error. From the logs you can see, video is in progress and progress bar is spinning on the…

Nishant
- 101
- 10
1
vote
1 answer
Does the CAF receiver support Live DAI?
We have a custom CAF receiver that has both VOD and Live content. Currently our VOD content uses VMAP and we would like to use DAI for live content. I'm not finding much documentation on using DAI with the built in CAF ad functionality.
The CAF ad…

Allan Guigou
- 21
- 5
1
vote
1 answer
CAF Receiver: Error handling
We've created a custom CAF receiver with generic error listener based on cast.framework.events.EventType.ERROR event:
playerManager.addEventListener(cast.framework.events.EventType.ERROR, event => {
if (playerManager.getPlayerState() != "IDLE") {
…

FNC dev
- 11
- 4
1
vote
1 answer
What is the equivalent of cast.player.api.Player live stream options on CAF receiver?
Right now using the cast reference player I pass Infinity as the second parameter on cast.player.api.Player.load() when I want to play live content. How can I accomplish that with the CAF receiver?
Thanks.

casolorz
- 8,486
- 19
- 93
- 200
1
vote
1 answer
How can I enable verbose debug on Cast SDK3 and CAF receiver?
I'm converting to CAF receiver and Cast SDK 3. I'm having some issues with sending messages from the CAF receiver to the sender. I think the CAF part is working but to make sure I would like to enable verbose logs. How can I do that for both the…

casolorz
- 8,486
- 19
- 93
- 200
1
vote
0 answers
CAF basic application
I am trying to play a bit with CAF to create my own applciation with my own overlays like sponsors, logos, etc. (I guess this is possible?)
I started with CAF but there is very little information on it. So I created the basic application as per…

MichelReap
- 5,630
- 11
- 37
- 99
0
votes
1 answer
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 through the iOS sender app. I thought about 2 ideas,…

Matevz
- 3
- 2
0
votes
0 answers
CAF WEB RECEIVER - Can't hear Assistant voice from Nest HUB
I'm developing a CAF web receiver, but I can't hear the Google Assistant voice on the Nest HUB when an error is raised in the setMessageInterceptor for type "LOAD", instead it works for type "SEEK".
This is the code for…

Fabio
- 13
- 6
0
votes
2 answers
Is it possible to hide progress bar on Chromecast receiver side on live streams?
I would like to remove progress bar from CAF receiver while playing live stream

Nishant
- 101
- 10
0
votes
1 answer
How do I apply custom styling to custom google CAF receiver
documentation aint too clear on how to style custom CAF receiver(if at all possible). even when adding styling to head, styling is not applied. in chrome inspector, it is clear the styling is never applied.
const context =…

Fortune mccanker
- 41
- 4
0
votes
1 answer
cast.framework.media.ShakaPlayer issue in chromecast receiver while playing DRM content from web based sender
I am building a custom receiver which plays the DRM content by receiveing the custom metadata from sender.
But receiver is only able to play the first chunk and then disconnected from sender by showing following messages at chromecast…

Subash Shrestha
- 61
- 7
0
votes
1 answer
Chromecast receiver (CAF) multi audio issue
I create a new receiver for my iOS application.
I have a video (DRM) with a few audios and text tracks
If I change audio track nothing will happen.
IF I change it manually like audioTracksManager.setActiveById(event.activeTrackIds[1]); - audio…

Igor Zinchenko
- 305
- 3
- 13
0
votes
0 answers
Switch video element in Chromecast CAF Receiver
I want to implement a custom CAF receiver that does the following:
Plays a pre-roll ad video using an external ad SDK.
Plays a DASH or HLS live stream.
The features work fine on their own. It is when I am playing a live stream after an ad that the…

McFarlane
- 1,777
- 2
- 22
- 39