Questions tagged [castcompanionlibrary]

29 questions
3
votes
1 answer

Disconnecting from ChromeCast doesn't stop the video playback

My users are complaining that when they click the disconnect after playing a video, it does not stop the video. Is that something the CastCompanionLibrary should be doing or do I need to trap the disconnect and do it myself? I thought maybe by the…
casolorz
  • 8,486
  • 19
  • 93
  • 200
2
votes
0 answers

Android v3 Cast SDK crashes

I recently upgraded our app to use the v3 Cast SDK provided through google play services. I now get the following exception on devices with google play services that are under 9.1.0 at java.lang.reflect.Method.invoke(Method.java:525)  at…
2
votes
2 answers

How to change theme on Dialog Cast Companion Library android

I'm using Cast Companion Library android. I want to change some color like text color, play, pause button to Dark. Right now is in Light color. Any suggestion to do this? This is the screenshot image Thanks
Eric Wijaya
  • 291
  • 3
  • 12
2
votes
1 answer

Android Chromecast Companion Library - subtitle toggle button

I'm using the Companion library for casting video from my app to the Chromecast. Is there any way ho I can add the subtitles / closed captions toggle button so the user will be able to turn them on and off? I'm reading their documentation where I…
2
votes
2 answers

Pushing a "playlist" to Chromecast using CastCompanionLibrary

Using the CastCompanionLibrary, it is simple to send a MediaInfo to the Chromecast API to play it. MediaInfo.Builder media = new MediaInfo.Builder("http://url.to/video.mp4"); VideoCastManager cast =…
Knossos
  • 15,802
  • 10
  • 54
  • 91
2
votes
1 answer

Is it possible to customize VideoCastControllerActivity?

I am using the Cast Companion Library (because it makes implementing some of the design guidelines easier). I do not want to use the VideoCastControllerActivity when playing video and instead want to use my own activity. Does CCL facilitate this…
startoftext
  • 3,846
  • 7
  • 40
  • 49
2
votes
2 answers

I can't get the Cast Companion Library notification to work

I am using the Cast Companion Library and it is mostly working fine, I get the mini player, and also the lock screen controls and the activity for playing content, but I can never get the notification screen to show. I am doing the following when…
casolorz
  • 8,486
  • 19
  • 93
  • 200
1
vote
0 answers

cast.player.api.Host error: cast.player.api.ErrorCode.NETWORK/3018

I have an app which plays Live Channels over Chrome Cast. While most of the channels are played successfully on some channels I get cast.player.api.Host error: cast.player.api.ErrorCode.NETWORK/3018 I've looked around the web and wasn't able to…
Abbas
  • 3,529
  • 5
  • 36
  • 64
1
vote
0 answers

Any way to open googlecast minicontroller seekbar?

As you know while mini controller is open we can click and it opens the popup which includes seekbar. I have used the Cast Companion Library and other features works well. CastConfiguration options = new…
Yusufu
  • 105
  • 1
  • 12
1
vote
0 answers

how do i change the applicationId dynamically for chromecast android

I want to change the applicationId, for the baseCastManager after it's been initialized? Is there a preferred way to do this? mApplicationId. @alinaddaff where are you :) I was just going to use a setApplicationId(String applicationid) method on an…
reidisaki
  • 1,525
  • 16
  • 29
1
vote
3 answers

Get media current position before disconnecting from cast

Is it possible to get current playing media from VideoCastManager before disconnecting from the cast? I want to save the last progress of current media when the user manually disconnects from cast. I used VideoCastCosumer method onDisconnected()…
parohy
  • 2,070
  • 2
  • 22
  • 38
1
vote
0 answers

Cast Companion Library MiniController rendering error

The MiniController button from the companion library works fine and does exactly what it needs to do, but in our project there is always a rendering error in the preview pane (in XML mode) in every layout where we implement the MiniController…
Bmuig
  • 1,059
  • 7
  • 12
1
vote
1 answer

Issues adding Chromecast support to Android App

I am attempting to integrate Google Cast into my app. I am using the CastCompanionLibrary. Integrating it is simple. ActionBar is updated with the Cast Icon. I can connect to my Chromecast devices. However, when I attempt to invoke playback, I get…
dmfrey
  • 1,230
  • 1
  • 17
  • 33
1
vote
0 answers

How to force caption support using Chromecast Companion Library

I am revamping my chromecast implementation to use the Companion Library (https://github.com/googlecast/CastCompanionLibrary-android) Currently the only way to have the caption button visible on post KITKAT is to have the users enable captions…
Darussian
  • 1,573
  • 1
  • 16
  • 28
1
vote
0 answers

Not able to be notified when casting menu item is clicked using Cast Companion Library

I'm using Cast Companion Library version 2.7.0, I'll update soon to the latest (2.7.4) ;) My problem is I am not able to be notified when casting menu item is clicked. My code: @Override public boolean onCreateOptionsMenu(Menu menu)…
1
2