Questions tagged [castcompanionlibrary]
29 questions
1
vote
1 answer
Android Chromecast Seeking behavior - Restarts Video from begining
I am trying to implement a custom seek (forward/rewind) functionality on top of Google's CastCompanionLibrary-android. I'm noticing a strange behavior where despite the user seeking to a non-zero seekBar position, the video playing on the cast is…

kip2
- 6,473
- 4
- 55
- 72
1
vote
0 answers
Registering the app to cast developer console using Styled Media Reciever
I have registered my app with Styled Media Receiver and received my app Id. Also for this, in the app I am using Cast Companion Library. I have already done the testing using the same id of Cast-Videos tutorial of github and works fine. But when i…

A_rmas
- 784
- 2
- 10
- 26
0
votes
2 answers
Android app automatically casting without user interaction (CastCompanionLibrary)
I have an Android app using the CastCompanionLibrary v2.9.1, modified to use play-services-cast:10.0.1 (just a simple change to the gradle dependencies).
Short version: The app is attempting to automatically connect to the ChromeCast device, without…

Tim Malseed
- 6,003
- 6
- 48
- 66
0
votes
1 answer
Is it possible to add buttons to MiniController and ExtendedController?
I'm using the Companion library for casting video from my app to the Chromecast.
Is there any way to add STOP button to MiniController and ExpandedController? Currently there's only a Play/Pause button.

Dmytro Turkov
- 880
- 9
- 12
0
votes
1 answer
VideoCastControllerActivity: ActivityNotFoundException
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.newco.cooltv.qa/com.google.android.libraries.cast.companionlibrary.cast.player.VideoCastControllerActivity}; have you declared this activity in your…

RQube
- 954
- 3
- 13
- 28
0
votes
0 answers
Unable to stop casting on Chromecast after wifi interruption
I am implementing Chromecast feature with CastCompanionLibrary-android for an Android video app. And I found this bug at the final test: I am not able to stop casting after reconnecting to wifi and recovering the same session.
To reproduce the…

user3335072
- 1
- 1
0
votes
1 answer
VideoCastManager crashes Android app on Phone boot
I created simple app, which uses CastCompanionLibrary to stream video files to Google ChromeCast device. Everything seems to work fine, except I found that app crashes when booting phone without internet connection. I tried catch error on ADB…

Sapnix
- 55
- 1
- 8
0
votes
0 answers
CastCompanionLibrary: listener on start/stop button
I successfully included the CastCompanionLibrary in my media app. I use the VideoCastManager class. Now I want to put a listener on the VideoCastManager's play/stop button to catch the stop event to do something on my main screen.
Is there a…

user4500
- 667
- 2
- 9
- 21
0
votes
2 answers
Chromecast receiver timeout in Android
I'm using castcompanionlibrary on android to cast videos to a chromecast receiver. I use youtube iframe on the receiver side.
I used to call cast.receiver.CastReceiverManager.getInstance.start() in the html header before initializing youtube iframe…

user1165560
- 331
- 4
- 21
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.

kee23
- 148
- 10
0
votes
1 answer
Android Chromecast Companion Library - set TextTrackStyle error 2103
I'm using CastCompanionLibrary-Android and I'm trying to set custom TextTrackStyle for the captions.
I'm setting this TexTextStyle to the MediaInfo while I'm creating it:
// set CC style
TextTrackStyle textTrackStyle…

Stepan Sanda
- 2,322
- 7
- 31
- 55
0
votes
1 answer
How to get access to the chromecast icon programaticailly
I am trying to get a reference to the MediaRouteButton which is the cast icon and I am getting a null value all the time. Just wanted to see if anyone knows how to get a reference to this button. I am using a onGlobalLayoutListener to get…

ronnie173
- 207
- 1
- 3
- 10
0
votes
1 answer
How can I pass other custom data to my custom VideoCastControllerActivity in Cast Companion library?
I am using CCL to implement cast functionality in my android app. CCL has a target activity (the default is VideoCastControllerActivity) that it will launch when the user clicks on the mini player or on notifications. If I have other data that I…

startoftext
- 3,846
- 7
- 40
- 49
0
votes
1 answer
How can I customize the mini-Controller from Cast Companion Library?
I would like to customize the mini controller that sits at the bottom of the screen but I am not exactly sure how to replace or customize that without modifying Cast Companion Library (CCL).

startoftext
- 3,846
- 7
- 40
- 49