It's CheapCast.
mauimauer / cheapcast Goto Github PK
View Code? Open in Web Editor NEWIt's CheapCast.
License: Apache License 2.0
It's CheapCast.
License: Apache License 2.0
After updating the program stop working on my samsung galaxy tab 10.1. It shows the name of the youtube video but don't start the video. I will try the older version again but i think the modification done in Aug 21, 2013 that is problem. I will investigate further.
Not working with Infinitec Pocket TV with latest stable firmware. Android 4.04
Hi I am trying to use this on the above decide but can't get it to stream. The other way round from PTv to my Note II works.
Just shows a big black square where the waiting icon should be spinning but not.
https://dl.dropboxusercontent.com/u/15906865/Photos/20130813_221438.jpg
I posted on the Infinitec forum as well to see if there are any help avail. The dev there is Derek.
http://infinitec.com/forum/viewtopic.php?f=4&t=663&sid=d27e7b83c46305523af853a53d6981c0
Appreciate your work and help to look into this. Tq
Hi, I'm trying to cast youtube videos from my jiayu g4 to my notion ink adam (piece of shit) since the very first version, but unfortunately all I get is grey screen. Sometimes I get the message "cast is taking too long..." on the phone screen. It is working with jiayu g4 + visture v10 chinese tablet though so tje phone should not be the problem. Please let me know if you need some more info.
Great job, thank you very much and please keep it up!
UPDATE:
Running Cheapcast on a Minix Neo X5 Mini under 4.2.2
Output, video and audio, is via HDMI and works OK on other aps.
Youtube video via cheapcast is OK but NO SOUND
Volume levels on android box and TV are all OK.
Has anyone had any luck with getting multiple devices to connect to a single app session?
The issue I am experiencing is that cheapcast always launches a new browser session when I attempt to connect to an existing session with a new device.
I am trying to get the tic-tac-toe example working:
https://github.com/googlecast/cast-android-tictactoe
(fyi, I synced the tic-tac-toe example to an earlier revision as the recent changes have made it a bit unstable - I used revision c53bf69e8a648cb36baebc4e7351b1c47ec67861).
Any insight into this issue would be greatly appreciated.
It's not currently possible to cast from Allcast to Cheapcast.
Hi,
i've tried to use AirCast with CheapCast but it doesn't work. Here's logcat:
D/JS-CastActivity(15508): [ 0.062s] [cv.receiver.WebSocketChannelFactory] [INFO] Initializing WebSocketChannelFactory...
D/JS-CastActivity(15508): , 6090
I/Web Console(15508): [ 0.062s] [cv.receiver.WebSocketChannelFactory] [INFO] Initializing WebSocketChannelFactory...
I/Web Console(15508): at https://www.gstatic.com/cv/versions/release-d4fa0a24f89ec5ba83f7bf3324282c8d046bf612/receiver.html?v=release-d4fa0a24f89ec5ba83f7bf3324282c8d046bf612&id=local%3A2&idle=windowclose:6090
D/CheapCastService(15524): GET /apps: Redirecting to ChromeCast
W/System.err(15524): 2013-08-19 15:24:44.242:WARN:oejs.AbstractHttpConnection:/apps
W/System.err(15524): java.lang.NullPointerException
W/System.err(15524): at at.maui.cheapcast.service.CheapCastService$3.handle(CheapCastService.java:437)
W/System.err(15524): at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
W/System.err(15524): at org.eclipse.jetty.websocket.WebSocketHandler.handle(WebSocketHandler.java:48)
W/System.err(15524): at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
W/System.err(15524): at org.eclipse.jetty.server.Server.handle(Server.java:370)
W/System.err(15524): at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
W/System.err(15524): at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
W/System.err(15524): at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
W/System.err(15524): at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
W/System.err(15524): at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
W/System.err(15524): at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
W/System.err(15524): at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
W/System.err(15524): at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
W/System.err(15524): at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
W/System.err(15524): at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
W/System.err(15524): at java.lang.Thread.run(Thread.java:841)
D/JS-CastActivity(15508): [ 0.091s] [browser] [SEVERE] Error: Uncaught AssertionError: Assertion failed: This browser does not support WebSocket (https://www.gstatic.com/cv/versions/release-d4fa0a24f89ec5ba83f7bf3324282c8d046bf612/receiver.html?v=release-d4fa0a24f89ec5ba83f7bf3324282c8d046bf612&id=local%3A2&idle=windowclose @ Line: 210)
D/JS-CastActivity(15508): , 6090
E/Web Console(15508): [ 0.091s] [browser] [SEVERE] Error: Uncaught AssertionError: Assertion failed: This browser does not support WebSocket (https://www.gstatic.com/cv/versions/release-d4fa0a24f89ec5ba83f7bf3324282c8d046bf612/receiver.html?v=release-d4fa0a24f89ec5ba83f7bf3324282c8d046bf612&id=local%3A2&idle=windowclose @ Line: 210)
E/Web Console(15508): at https://www.gstatic.com/cv/versions/release-d4fa0a24f89ec5ba83f7bf3324282c8d046bf612/receiver.html?v=release-d4fa0a24f89ec5ba83f7bf3324282c8d046bf612&id=local%3A2&idle=windowclose:6090
D/CastActivity(15508): https://www.gstatic.com/cv/versions/release-d4fa0a24f89ec5ba83f7bf3324282c8d046bf612/receiver.html?v=release-d4fa0a24f89ec5ba83f7bf3324282c8d046bf612&id=local%3A2&idle=windowclose finished
Hope this can help you! thanks for your amazing work.
I suspect this is a broader issue with Wired devices in general. Cheapcast does not appear to be visible when connected to a LAN with a wire instead of wifi.
It said "Playing your video on GT-I9300 is taking an usually long time". GT-N7000 no problem. Using CM 10.2 and Samsung stock.
The application installs just fine, and the device is detected in YouTube. So I can press the Cast button on the smartphone, and CheapCast apps will show up with video information at the top, but the video will not start playing.
If there is no stream playing, it should display home page, right?
for chromecast device it is:
Hi,
I installed the app on my Barnes and Noble HD+ and when attempting to start the service, the app would report that the service would crash. I've sent a bug repot through the Google reporting service, but was wondering anything I could do to help debug this. Cool app concept.
Installed it today on my LG G2x running Android version 2.3.4.
Error message was:
The application CheapCast (process at.maui.cheapcast) has stopped unexpectedly. Please try again.
I rebooted and tried again, but no change.
This is my old phone and has wifi only service (no working SIM card).
Thanks,
John
I installed Cheapcast on my Ouya (via ethernet) and it worked fine for a while, then all of the sudden, it stopped working. My computer and devices will recognize it was a casting device, but when I send a youtube video to it, it brings it up on the screen, and just hangs with a grey background. I tried from multiple devices with the same problem.
Also, I tried installing cheapcast on my phone and tablet and none of my computers even recognize them as casting devices. They don't show up on the list.
Is this a known issue? I'm guessing its something wrong with my network as a whole, but I'm not sure.
I tried running cast android sample ( sender app using Chrome cast SDK ) on cheap cast. It is able to detect the cheap cast server. But its not able to launch any URL's. Meanwhile i have registered my app and http:apps/my app shows up my app. I don't have a chrome cast device so i did not whitelist my app. So is there a work around to run sender app to play non YouTube Videos on cheap cast without whitelisting ?
When casting to Google Music, it seems that only one device can gain control for a given instance of the server.
Steps to reproduce:
The end result is either that the Cheapcast server disappears from Device 2 (no cast selector in Google Music app) or no casting can be done from Device 2.
Device 1 - Nexus 4, Android 4.3
Device 2 - Galaxy Nexus, Android 4.2.2
Cheapcast server - Nexus Q, CM 10.1.2
Are there any logs that would be helpful for debugging this?
Attempting to stream a page from desktop (with https://chrome.google.com/webstore/detail/google-cast/boadgeojelhgndaghljhdicfkmllpafd) to Nexus 7 (2012) results in a black screen on the device, and results in this error on the chrome extension:
"Unable to cast to CheapCast"
An unexpected error occurred. Please try the following:
Try to cast again
Verify your network connectivity'
I was unable to find logging on either side, if someone can point me in the right direction I will also post those.
Essentially doesn't work on the droid x as far as I can tell. I make my virtual name, press the play button, but cannot locate cheapcast on my iOS devices.
So far so good, but it's not much of an open source project without the source :)
Will donate when I can compile myself and install :)
Clicking the Start Service button crashes the app with a stacktrace:
java.lang.NullPointerException
at at.maui.cheapcast.Utils.getLocalV4Address(Utils.java:70)
at at.maui.cheapcast.ssdp.SSDP.run(SSDP.java:84)
That's really all there is. Excellent app otherwise.
Samsung 10.1 tablet : Will only receive youtube cast. Once cast is provided it does not play but open youtube and shows title with a black screen. It actually froze the device and had to hard rest. Netflix app dosent even see "cheapcast" Edit: Casted youtube again from Note 2 to Samsung 10.1 after reboot and video started but is not handled well.Very choppy and stuttering.
MK808 Android Stick : Device received youtube cast but very jumpy video and no volume control. Looks like when a dvd is not cleaned properly and repeats a scene. Netflix still does not show up to cast to this device either. Casted from MK808 to Samsung 10.1 and this time it started but quickly started getting choppy and stopped. Audio continued but not video. I went out of the youtube app and the audio continued. Had to force close Youtube app.
Everything is on the same network. Fast internet connection. Original Chromecast is visible. Any other questions or testing just let me know. So no netflix and youtube video keeps freezing and very choppy.
Hi it work nice on my Nexus 7,
i try too use my old 2.3.5 china tablet with HDMI on my TV.
but the app gets an error see below.
the funny is wen i not close the error the casting is work but the error in front of is a bad thing. wen i close the error message the cast stop working.
hope this can be fixed.
Nice App keep going.
D/WifiService( 947): ACTION_BATTERY_CHANGED pluggedType: 3
I/MNotifyService3( 1508): On!!!Startcommand received!
I/MNotifyService3( 1508): Startcommand received!
I/BroadcastReceiver_ACTION_BATTERY_CHANGED:( 1508): Received by Service
V/android ( 947): android USBCONNECT
D/WifiService( 947): ACTION_BATTERY_CHANGED pluggedType: 3
I/MNotifyService3( 1508): On!!!Startcommand received!
I/MNotifyService3( 1508): Startcommand received!
I/BroadcastReceiver_ACTION_BATTERY_CHANGED:( 1508): Received by Service
I/ActivityManager( 947): Start proc at.maui.cheapcast:server for service at.maui.cheapcast/.service.CheapCastService: pid=15664 uid=10044 gids={3003}
E/dalvikvm(15664): Could not find class 'android.app.Notification$Builder', referenced from method at.maui.cheapcast.service.CheapCastService.onStartCommand
W/dalvikvm(15664): VFY: unable to resolve new-instance 32 (Landroid/app/Notification$Builder;) in Lat/maui/cheapcast/service/CheapCastService;
D/dalvikvm(15664): VFY: replacing opcode 0x22 at 0x000e
D/dalvikvm(15664): VFY: dead code 0x0010-007b in Lat/maui/cheapcast/service/CheapCastService;.onStartCommand (Landroid/content/Intent;II)I
I/dalvikvm(15664): Could not find method org.slf4j.LoggerFactory.getLogger, referenced from method org.eclipse.jetty.util.log.Slf4jLog.<init>
W/dalvikvm(15664): VFY: unable to resolve static method 20475: Lorg/slf4j/LoggerFactory;.getLogger (Ljava/lang/String;)Lorg/slf4j/Logger;
D/dalvikvm(15664): VFY: replacing opcode 0x71 at 0x0003
D/dalvikvm(15664): VFY: dead code 0x0006-0017 in Lorg/eclipse/jetty/util/log/Slf4jLog;.<init> (Ljava/lang/String;)V
I/dalvikvm(15664): Could not find method org.slf4j.Logger.debug, referenced from method org.eclipse.jetty.util.log.Slf4jLog.debug
W/dalvikvm(15664): VFY: unable to resolve interface method 20467: Lorg/slf4j/Logger;.debug (Ljava/lang/String;Ljava/lang/Throwable;)V
D/dalvikvm(15664): VFY: replacing opcode 0x72 at 0x0002
D/dalvikvm(15664): VFY: dead code 0x0005-0005 in Lorg/eclipse/jetty/util/log/Slf4jLog;.debug (Ljava/lang/String;Ljava/lang/Throwable;)V
I/dalvikvm(15664): Could not find method org.slf4j.Logger.debug, referenced from method org.eclipse.jetty.util.log.Slf4jLog.debug
W/dalvikvm(15664): VFY: unable to resolve interface method 20468: Lorg/slf4j/Logger;.debug (Ljava/lang/String;[Ljava/lang/Object;)V
D/dalvikvm(15664): VFY: replacing opcode 0x72 at 0x0002
D/dalvikvm(15664): VFY: dead code 0x0005-0005 in Lorg/eclipse/jetty/util/log/Slf4jLog;.debug (Ljava/lang/String;[Ljava/lang/Object;)V
I/dalvikvm(15664): Could not find method org.slf4j.Logger.getName, referenced from method org.eclipse.jetty.util.log.Slf4jLog.getName
W/dalvikvm(15664): VFY: unable to resolve interface method 20469: Lorg/slf4j/Logger;.getName ()Ljava/lang/String;
D/dalvikvm(15664): VFY: replacing opcode 0x72 at 0x0002
D/dalvikvm(15664): VFY: dead code 0x0005-0006 in Lorg/eclipse/jetty/util/log/Slf4jLog;.getName ()Ljava/lang/String;
I/dalvikvm(15664): Could not find method org.slf4j.Logger.info, referenced from method org.eclipse.jetty.util.log.Slf4jLog.info
W/dalvikvm(15664): VFY: unable to resolve interface method 20470: Lorg/slf4j/Logger;.info (Ljava/lang/String;Ljava/lang/Throwable;)V
D/dalvikvm(15664): VFY: replacing opcode 0x72 at 0x0002
D/dalvikvm(15664): VFY: dead code 0x0005-0005 in Lorg/eclipse/jetty/util/log/Slf4jLog;.info (Ljava/lang/String;Ljava/lang/Throwable;)V
I/dalvikvm(15664): Could not find method org.slf4j.Logger.info, referenced from method org.eclipse.jetty.util.log.Slf4jLog.info
W/dalvikvm(15664): VFY: unable to resolve interface method 20471: Lorg/slf4j/Logger;.info (Ljava/lang/String;[Ljava/lang/Object;)V
D/dalvikvm(15664): VFY: replacing opcode 0x72 at 0x0002
D/dalvikvm(15664): VFY: dead code 0x0005-0005 in Lorg/eclipse/jetty/util/log/Slf4jLog;.info (Ljava/lang/String;[Ljava/lang/Object;)V
I/dalvikvm(15664): Could not find method org.slf4j.Logger.isDebugEnabled, referenced from method org.eclipse.jetty.util.log.Slf4jLog.isDebugEnabled
W/dalvikvm(15664): VFY: unable to resolve interface method 20472: Lorg/slf4j/Logger;.isDebugEnabled ()Z
D/dalvikvm(15664): VFY: replacing opcode 0x72 at 0x0002
D/dalvikvm(15664): VFY: dead code 0x0005-0006 in Lorg/eclipse/jetty/util/log/Slf4jLog;.isDebugEnabled ()Z
I/dalvikvm(15664): Could not find method org.slf4j.Logger.warn, referenced from method org.eclipse.jetty.util.log.Slf4jLog.warn
W/dalvikvm(15664): VFY: unable to resolve interface method 20473: Lorg/slf4j/Logger;.warn (Ljava/lang/String;Ljava/lang/Throwable;)V
D/dalvikvm(15664): VFY: replacing opcode 0x72 at 0x0002
D/dalvikvm(15664): VFY: dead code 0x0005-0005 in Lorg/eclipse/jetty/util/log/Slf4jLog;.warn (Ljava/lang/String;Ljava/lang/Throwable;)V
I/dalvikvm(15664): Could not find method org.slf4j.Logger.warn, referenced from method org.eclipse.jetty.util.log.Slf4jLog.warn
W/dalvikvm(15664): VFY: unable to resolve interface method 20474: Lorg/slf4j/Logger;.warn (Ljava/lang/String;[Ljava/lang/Object;)V
D/dalvikvm(15664): VFY: replacing opcode 0x72 at 0x0002
D/dalvikvm(15664): VFY: dead code 0x0005-0005 in Lorg/eclipse/jetty/util/log/Slf4jLog;.warn (Ljava/lang/String;[Ljava/lang/Object;)V
D/CheapCastService(15664): onCreate()
D/CheapCastService(15664): Registered app: ChromeCast
D/CheapCastService(15664): Registered app: YouTube
D/CheapCastService(15664): Registered app: PlayMovies
D/CheapCastService(15664): Registered app: GoogleMusic
D/CheapCastService(15664): Registered app: GoogleCastSampleApp
D/CheapCastService(15664): Registered app: GoogleCastPlayer
D/CheapCastService(15664): Registered app: Fling
D/CheapCastService(15664): Registered app: TicTacToe
D/PreferenceActivity(10728): Connected to CheapCastService
D/CheapCastService(15664): onStartCommand()
W/ActivityManager( 947): Error showing notification for service
W/ActivityManager( 947): java.lang.IllegalArgumentException: contentIntent required: pkg=at.maui.cheapcast id=1337 notification=Notification(vibrate=null,sound=null,defaults=0x0,flags=0x42)
W/ActivityManager( 947): at com.android.server.NotificationManagerService.enqueueNotificationInternal(NotificationManagerService.java:724)
W/ActivityManager( 947): at com.android.server.am.ServiceRecord$1.run(ServiceRecord.java:342)
W/ActivityManager( 947): at android.os.Handler.handleCallback(Handler.java:587)
W/ActivityManager( 947): at android.os.Handler.dispatchMessage(Handler.java:92)
W/ActivityManager( 947): at android.os.Looper.loop(Looper.java:130)
W/ActivityManager( 947): at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1336)
W/System.err(15664): 2013-08-12 21:21:09.513:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
W/System.err(15664): 2013-08-12 21:21:09.540:INFO:oejs.AbstractConnector:Started [email protected]:8008
D/CheapCastService(15664): Initialized HTTP/WS Server
D/CheapCastService(15664): Initialized SSDP/DIAL Discovery
D/AndroidRuntime(15664): Shutting down VM
W/dalvikvm(15664): threadid=1: thread exiting with uncaught exception (group=0x40015560)
W/GAV2 (15664): Thread[main,5,main]: dispatch call queued. Need to call GAServiceManager.getInstance().initialize().
E/AndroidRuntime(15664): FATAL EXCEPTION: main
E/AndroidRuntime(15664): android.app.RemoteServiceException: Bad notification for startForeground: java.lang.IllegalArgumentException: contentIntent required: pkg=at.maui.cheapcast id=1337 notification=Notification(vibrate=null,sound=null,defaults=0x0,flags=0x42)
E/AndroidRuntime(15664): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1044)
E/AndroidRuntime(15664): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(15664): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime(15664): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime(15664): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(15664): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime(15664): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime(15664): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime(15664): at dalvik.system.NativeStart.main(Native Method)
D/dalvikvm(15664): GC_CONCURRENT freed 357K, 49% free 3027K/5831K, external 716K/1038K, paused 2ms+2ms
V/android ( 947): android USBCONNECT
D/WifiService( 947): ACTION_BATTERY_CHANGED pluggedType: 3
I/MNotifyService3( 1508): On!!!Startcommand received!
I/MNotifyService3( 1508): Startcommand received!
I/BroadcastReceiver_ACTION_BATTERY_CHANGED:( 1508): Received by Service
V/android ( 947): android USBCONNECT
D/WifiService( 947): ACTION_BATTERY_CHANGED pluggedType: 3
I/MNotifyService3( 1508): On!!!Startcommand received!
I/MNotifyService3( 1508): Startcommand received!
I/BroadcastReceiver_ACTION_BATTERY_CHANGED:( 1508): Received by Service
I/Process (15664): Sending signal. PID: 15664 SIG: 9
I/ActivityManager( 947): Process at.maui.cheapcast:server (pid 15664) has died.
W/ActivityManager( 947): Scheduling restart of crashed service at.maui.cheapcast/.service.CheapCastService in 5000ms
D/PreferenceActivity(10728): Disconnected from CheapCastService
E/WifiService( 947): Multicaster binderDied
W/InputManagerService( 947): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@408b64d8
V/android ( 947): android USBCONNECT
D/WifiService( 947): ACTION_BATTERY_CHANGED pluggedType: 3
I/MNotifyService3( 1508): On!!!Startcommand received!
I/MNotifyService3( 1508): Startcommand received!
I/BroadcastReceiver_ACTION_BATTERY_CHANGED:( 1508): Received by Service
Hi,
I installed your app on a G-box Dyno, an android stick made last year (http://liliputing.com/2012/09/first-look-69-g-box-dyno-android-4-0-mini-pc-with-arm-cortex-a9.html). The service started, but the gbox is not recognized as a Chromecast as the Youtube or Netflix apps on my other devices do not see it as a Chromecast. Let me know what I can do to help troubleshoot this.
YouTube is not working on my device; I have a TF101 as the recevier and an ATT Galaxy Note 2 as the sender of the video. I've also tried with a TF300 as the receiver. The sending device just has the screen of "it's taking an unusually long time to cast..." Play Music works though,
The volume control doesn't work on Nexus Q.
I actually reverse engineered some of the protocol too and I'm happy to help if you need it. :)
CheapCast Version: 0.4.6
Chrome(Windows8.1) Google Cast Extension Version: 14.605.0.10 update on 2014/06/23
There is an error in log of Google Cast Extension:
[140626 13:57:16.26] [20517.357s] [browser] Error: Uncaught connect_error (chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm/background_script.js @ Line: 1425)
Detail logs:
[140626 13:55:59.59] [20440.689s] [cv2.MdnsService] Discover now
[140626 13:55:59.59] [20440.690s] [cv2.MdnsService] onDeviceList returned 0 devices
[140626 13:55:59.60] [20440.693s] [cv2.MdnsService] ....the list is: []
[140626 13:56:09.61] [20450.709s] [cv2.CombinedDiscoveryService] Running...
[140626 13:56:27.67] [20468.764s] [cv.PopupMenuService] Popup request: init
[140626 13:56:27.68] [20468.775s] [cv.PopupMenuService] the request is {"type":"init","message":{}}
[140626 13:56:27.76] [20468.853s] [cv.DialService] Discover now
[140626 13:56:27.76] [20468.857s] [cv.RampDiscoveryService] Discovering DIAL/RAMP activity now...
[140626 13:56:27.85] [20468.942s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session
[140626 13:56:27.85] [20468.944s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session
[140626 13:56:27.85] [20468.947s] [cv2.CastService] there are 0 receivers
[140626 13:56:27.86] [20468.959s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session
[140626 13:56:27.86] [20468.961s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session
[140626 13:56:27.87] [20468.963s] [cv.Messenger-background] Sending message to popup: {"type":"model_update","message":{"receiverActs":[],"issue":null,"isV1AppInTab":false,"isV2AppInTab":false,"v2AppDomain":null,"currentActivity":null,"desktopActivity":null,"settings":{"statsCollectNotificationDismissed":true,"sendUsageEnabled":false,"castAppNotificationDismissed":true,"mirrorQualityId":"high"}}}
[140626 13:56:27.87] [20468.966s] [cv.DialService] chrome.dial.discoverNow = true
[140626 13:56:27.87] [20468.967s] [cv.DialService] onDeviceList returned 0 devices
[140626 13:56:27.87] [20468.969s] [cv.DialService] ....the list is: []
[140626 13:56:28.76] [20469.861s] [cv.DialService] onDeviceList returned 1 devices
[140626 13:56:28.77] [20469.863s] [cv.DialService] ....the list is: [{"configId":7339,"deviceDescriptionUrl":"http://192.168.199.110:8008/ssdp/device-desc.xml","deviceLabel":"2"}]
[140626 13:56:29.26] [20470.355s] [cv.DeviceDescriptionService] [fetchDeviceDescription]: GET http://192.168.199.110:8008/ssdp/device-desc.xml => 200 (OK)
[140626 13:56:29.27] [20470.369s] [cv.DeviceDescriptionService] Device description:
1
0
http://192.168.199.110:8008
urn:schemas-upnp-org:device:dial:1
CheapCast_HTC 802d
Google Inc.
Eureka Dongle
_
urn:schemas-upnp-org:service:dial:1
urn:upnp-org:serviceId:dial
/ssdp/notfound
/ssdp/notfound
/ssdp/notfound
[140626 13:56:29.28] [20470.373s] [cv.DeviceDescriptionService] Got device description {"uniqueId":"_","deviceLabel":"2","friendlyName":"CheapCast_HTC 802d","ipAddress":"192.168.199.110","Ud":"http://192.168.199.110:8008/apps","Gt":1403762189276,"Et":1403763989276,"Ai":"urn:schemas-upnp-org:device:dial:1","modelName":"Eureka Dongle","configId":7339}
[140626 13:56:29.28] [20470.375s] [cv.DeviceDescriptionService] Caching device description for 2
[140626 13:56:29.28] [20470.378s] [cv2.DiscoveryService] Adding new receiver rMnohloAKgxQ0EanCX-TwIFLGvx0.
[140626 13:56:29.28] [20470.381s] [cv2.DialAppDiscoveryService] Querying rMnohloAKgxQ0EanCX-TwIFLGvx0. for ChromeCast
[140626 13:56:29.31] [20470.407s] [cv2.DialAppDiscoveryService] Querying rMnohloAKgxQ0EanCX-TwIFLGvx0. for YouTube
[140626 13:56:29.32] [20470.412s] [cv2.DiscoveryService] onDevicesFinished
[140626 13:56:29.51] [20470.602s] [cv2.DialClient] [GetAppInfo]: GET http://192.168.199.110:8008/apps/ChromeCast => 200 (OK)
[140626 13:56:29.51] [20470.604s] [cv2.DialClient] [GetAppInfo]:
ChromeCast
stopped
[140626 13:56:29.51] [20470.606s] [cv2.DialAppDiscoveryService] DIAL get app info result: {"name":"ChromeCast","state":"stopped","sU":null,"nU":true,"tU":null,"serviceData":null,"Sp":null,"extraData":{}}
[140626 13:56:29.51] [20470.610s] [cv2.DialAppDiscoveryService] Got app status available from rMnohloAKgxQ0EanCX-TwIFLGvx0. for ChromeCast
[140626 13:56:29.52] [20470.613s] [cv2.DialClient] [GetAppInfo]: GET http://192.168.199.110:8008/apps/YouTube => 200 (OK)
[140626 13:56:29.52] [20470.614s] [cv2.DialClient] [GetAppInfo]:
YouTube
stopped
[140626 13:56:29.53] [20470.624s] [cv2.DialAppDiscoveryService] DIAL get app info result: {"name":"YouTube","state":"stopped","sU":null,"nU":true,"tU":null,"serviceData":null,"Sp":null,"extraData":{}}
[140626 13:56:29.53] [20470.626s] [cv2.DialAppDiscoveryService] Got app status available from rMnohloAKgxQ0EanCX-TwIFLGvx0. for YouTube
[140626 13:56:32.64] [20473.740s] [cv.TabUtils] Newly focused window ID: 1
[140626 13:56:35.97] [20477.068s] [cv.PopupMenuService] Popup request: init
[140626 13:56:35.98] [20477.081s] [cv.PopupMenuService] the request is {"type":"init","message":{}}
[140626 13:56:35.99] [20477.086s] [cv.DialService] Discover now
[140626 13:56:35.99] [20477.090s] [cv.RampDiscoveryService] Discovering DIAL/RAMP activity now...
[140626 13:56:36.05] [20477.143s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session
[140626 13:56:36.05] [20477.145s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session
[140626 13:56:36.05] [20477.147s] [cv2.CastService] there are 0 receivers
[140626 13:56:36.05] [20477.149s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session
[140626 13:56:36.06] [20477.155s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session
[140626 13:56:36.08] [20477.172s] [cv.Messenger-background] Sending message to popup: {"type":"model_update","message":{"receiverActs":[],"issue":null,"isV1AppInTab":false,"isV2AppInTab":false,"v2AppDomain":null,"currentActivity":null,"desktopActivity":null,"settings":{"statsCollectNotificationDismissed":true,"sendUsageEnabled":false,"castAppNotificationDismissed":true,"mirrorQualityId":"high"}}}
[140626 13:56:36.11] [20477.204s] [cv.DialService] chrome.dial.discoverNow = true
[140626 13:56:36.11] [20477.205s] [cv.DialService] onDeviceList returned 1 devices
[140626 13:56:36.11] [20477.207s] [cv.DialService] ....the list is: [{"configId":7339,"deviceDescriptionUrl":"http://192.168.199.110:8008/ssdp/device-desc.xml","deviceLabel":"2"}]
[140626 13:56:36.13] [20477.224s] [cv2.DiscoveryService] onDevicesFinished
[140626 13:56:36.29] [20477.385s] [cv2.DialClient] [GetAppInfo]: GET http://192.168.199.110:8008/apps => 200 (OK)
[140626 13:56:36.29] [20477.387s] [cv2.DialClient] [GetAppInfo]:
ChromeCast
stopped
[140626 13:56:37.28] [20478.381s] [cv2.CombinedDiscoveryService] Try DIAL->CAST rMnohloAKgxQ0EanCX-TwIFLGvx0.
[140626 13:56:37.29] [20478.383s] [cv2.CastChannelService] Connecting to rMnohloAKgxQ0EanCX-TwIFLGvx0.
[140626 13:56:37.29] [20478.384s] [cv2.CastChannelService] Opening channel to {"ipAddress":"192.168.199.110","port":8009,"auth":"ssl_verified"}
[140626 13:56:37.76] [20478.861s] [cv.DialService] Discover now
[140626 13:56:37.82] [20478.912s] [cv.DialService] chrome.dial.discoverNow = false
[140626 13:56:38.00] [20479.094s] [cv.DialService] onDeviceList returned 1 devices
[140626 13:56:38.00] [20479.096s] [cv.DialService] ....the list is: [{"configId":7339,"deviceDescriptionUrl":"http://192.168.199.110:8008/ssdp/device-desc.xml","deviceLabel":"2"}]
[140626 13:56:38.00] [20479.097s] [cv2.DiscoveryService] onDevicesFinished
[140626 13:56:38.68] [20479.774s] [cv2.CastChannelService] Open-channel result: {"channelId":151,"connectInfo":{"auth":"ssl_verified","ipAddress":"192.168.199.110","port":8009},"errorState":"connect_error","readyState":"closed","url":"casts://192.168.199.110:8009"}
[140626 13:56:38.70] [20479.798s] [browser] Error: Uncaught connect_error (chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm/background_script.js @ Line: 1425)
[140626 13:56:46.26] [20487.359s] [cv.Settings] Saving settings to storage.
[140626 13:56:46.82] [20487.912s] [cv.DialService] onDeviceList returned 1 devices
[140626 13:56:46.82] [20487.918s] [cv.DialService] ....the list is: [{"configId":7339,"deviceDescriptionUrl":"http://192.168.199.110:8008/ssdp/device-desc.xml","deviceLabel":"2"}]
[140626 13:56:46.82] [20487.921s] [cv2.DiscoveryService] onDevicesFinished
[140626 13:56:49.59] [20490.688s] [cv2.MdnsService] Discover now
[140626 13:56:49.59] [20490.690s] [cv2.MdnsService] onDeviceList returned 0 devices
[140626 13:56:49.60] [20490.692s] [cv2.MdnsService] ....the list is: []
[140626 13:56:53.29] [20494.386s] [cv.TabUtils] Newly focused window ID: 275
[140626 13:57:04.69] [20505.790s] [cv.DialService] onDeviceList returned 1 devices
[140626 13:57:04.70] [20505.796s] [cv.DialService] ....the list is: [{"configId":7339,"deviceDescriptionUrl":"http://192.168.199.110:8008/ssdp/device-desc.xml","deviceLabel":"2"}]
[140626 13:57:04.70] [20505.798s] [cv2.DiscoveryService] onDevicesFinished
[140626 13:57:14.62] [20515.712s] [cv2.CombinedDiscoveryService] Running...
[140626 13:57:14.62] [20515.716s] [cv2.CombinedDiscoveryService] Try DIAL->CAST rMnohloAKgxQ0EanCX-TwIFLGvx0.
[140626 13:57:14.62] [20515.718s] [cv2.CastChannelService] Connecting to rMnohloAKgxQ0EanCX-TwIFLGvx0.
[140626 13:57:14.62] [20515.720s] [cv2.CastChannelService] Opening channel to {"ipAddress":"192.168.199.110","port":8009,"auth":"ssl_verified"}
[140626 13:57:16.25] [20517.350s] [cv2.CastChannelService] Open-channel result: {"channelId":152,"connectInfo":{"auth":"ssl_verified","ipAddress":"192.168.199.110","port":8009},"errorState":"connect_error","readyState":"closed","url":"casts://192.168.199.110:8009"}
[140626 13:57:16.26] [20517.357s] [browser] Error: Uncaught connect_error (chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm/background_script.js @ Line: 1425)
Right after the app is running it send a error message back.
Sorry!
The application CheapCast (Process at.maui.cheapcast) has stopped unexpectedly) Please try again.
(FORCE CLOSE) (REPORT)
I get black screen casting Youtube to both Sony NSZ-GT1(GTV) and Nexus 7. Audio is played but no video shown. Also screen casting from Chrome(Google Cast) drops to a black screen without any visible errors/force closes.
I just tried your new service, after a proper setup at first it didn't work, I started hunting for the solution and found that the chromecast uses dns 8.8.8.8 and 8.8.4.4 hardcoded inside the service to phone home. Without it, it simple doesn't work.
So my issue was that apparently my router was redirecting these google dns requests to it's own dns servers.
This most likely the reason why many people have connection issues, simple because their router DNS is setup differently.
https://support.google.com/chromecast/answer/3228330?hl=en
Now there are workarounds on the router side but these are the bad ones.
My question is : can this issue be altered/fixed in the source code so it would work with any dns server?
thanks,
Thijs
On nexus q running both Cyanogenmod 10.1.1, and 10.1.3RC2 the cheap cast service does not start at boot.
"Start Cheapcast on boot" is checked.
Other then cheapcast this is a clean install.
It would be interesting to see ChromeView to be used instead of WebView if Chrome is installed on the device where cheapcast is running. Advantages could be more compliant web standard interface and wider codec support if the device has it meaning more native support.
This might solve some of the problems particularly on Google TV devices.
FC when connected to wired Network works well on WIFI with Play music.
I tested on some devices
nexus 7
nexus 4
galaxy nexus
UG007
works with all device
only works with android to android casting
no connection established with chrome to android
UG007 which has ethernet port
when I connect this device on ethernet, ChromeCast cannot connect.
I have to change it to Wifi
When I try and play Google Music track from my S4 to my S3 I get an error message on the S4 saying that the Track is Not Available to Play.
The S3 is running Cheapcast and works perfectly with YouTube.
Nick
Hello,
I am trying to recompile the cheapcast project and is facing a problem.
Sorry if this is not the right place to post it.
using the command 'mvn install' I get the following error
[ERROR] Failed to execute goal on project cheapcast: Could not resolve dependencies for project at.maui:cheapcast:apk:0.3-BETA: Failure to find com.google.android.analytics:analytics:jar:3 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
Is the pom.xml erroneous or a specific maven configuration should be applyied and documented ?
Thank you for your help.
Regards
Cheapcast does not work with the "Google Cast" https://chrome.google.com/webstore/detail/google-cast/boadgeojelhgndaghljhdicfkmllpafd extension.
I have installed cheapcast on a MK808b. Netfilix on my android phone is not showing and "cast" devices on the network. Youtube is working
Any idea what the problem might be?
do not work on google tv force closed all the time
I have CheapCast running on my old Droid X2, which is running Android 2.3.5 (Rom is Eclipse 2.3). So far I've only tried casting YouTube videos from my Galaxy S4. The TV screen will change to the "Youtube is ready to play videos page" and a message will pop up saying my device is connected, but that's as far as it goes. My Galaxy S4 will have the video paused and "Connecting..." message, and then nothing more from there.
An option to add custom service(by specifying receiverPage url and protocol) for development purposes would be awesome.
The N7 just can't detect n4 as a chromecast device.
Running a Tronsmart T428 with the Hybrid Firmware ROM. I've tried the offical, thinless, nexus (a like) roms but all seem to fail to play Youtube movies over chromecast.
I've downloaded the newest Youtube app from the store and disabled the older one (since the gapps werent completly up to date), but still no luck :(
Can anyone help me?
I'm trying to cast to my Samsung Galaxy Tab 2 10.1 (GT-P5113) running a stock 4.1.1 but it doesn't show up in the list on other devices. The app and service appears to run flawlessly. Let me know if you need any other info.
Running cheapcast on my Nexus 7 (first generation) with Android 4.3. YouTube videos autoplay but most of the time there is only audio and the video shows a spinning wheel on a gray screen (sometimes the video starts correctly though, but rarely and I can't tell why).
I've looked at the logs in depth and I couldn't figure out why this is happening.
Play music works perfectly, Play Movies not at all (it sends 5 POST events and then gives up to play the media locally)
Youtuve video plays really slow. Audio is fine, but the video gets too desynchronized. I'm using a nexus 10 tablet as a receiver. Also tried a Motorola Razr phone with slower video output. It's there any workarround?
When CheapCast (BETA 2) is sideloaded onto an Ouya and the service is run, it does not become visible in the list of active ChromeCast devices.
Tried connecting the Ouya via both WiFi and Ethernet, and I confirmed that CheapCast works on my network by casting to my 2013 Nexus 7 from my Galaxy Nexus. Only the Nexus 7 appeared in the list of active ChromeCast devices. Tried casting from Google Play Music, Google Play Movies, and YouTube on my Galaxy Nexus.
The app itself does not crash or throw any errors to the user.
I can play videos on other devices but can't reverse that.
When I share a video from nexus 10 or sgs 4 to my xperia p or xperia tablet z
The video doesn't play.. I can see the video screen shows up put it pause the video from the beginning.
Add subtitle support so one could send a link to a subtitle file or a file and it will be played.
Hi,
the service crashes immediately, see the log:
I/ActivityManager( 227): START {dat=https://www.youtube.com/tv?pairingCode=65dc243f-41dd-4734-9e1e-7455326e9b90&v=KMmiWds-Pcs&t=0 flg=0x10000000 cmp=at.maui.cheapcast/.activity.CastActivity (has extras)} from pid 25067
E/AndroidRuntime(25882): FATAL EXCEPTION: main
E/AndroidRuntime(25882): java.lang.NoSuchMethodError: android.webkit.WebSettings.setAllowFileAccessFromFileURLs
E/AndroidRuntime(25882): at at.maui.cheapcast.activity.CastActivity.onCreate(CastActivity.java:83)
E/AndroidRuntime(25882): at android.app.Activity.performCreate(Activity.java:4465)
E/AndroidRuntime(25882): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
E/AndroidRuntime(25882): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2033)
E/AndroidRuntime(25882): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104)
E/AndroidRuntime(25882): at android.app.ActivityThread.access$600(ActivityThread.java:132)
E/AndroidRuntime(25882): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1157)
E/AndroidRuntime(25882): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(25882): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(25882): at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime(25882): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(25882): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(25882): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime(25882): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime(25882): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 227): Force finishing activity at.maui.cheapcast/.activity.CastActivity
W/ActivityManager( 227): Force finishing activity at.maui.cheapcast/.activity.PreferenceActivity
W/ActivityManager( 227): Activity pause timeout for ActivityRecord{2c08b078 at.maui.cheapcast/.activity.CastActivity}
I/WindowManager( 227): WIN DEATH: Window{2bdf2ca8 at.maui.cheapcast/at.maui.cheapcast.activity.PreferenceActivity paused=true}
I/ActivityManager( 227): Process at.maui.cheapcast (pid 25882) has died.
W/ActivityManager( 227): Activity destroy timeout for ActivityRecord{2bbe8570 at.maui.cheapcast/.activity.PreferenceActivity}
Running 4.0.4 on a HP Touchpad.
Thanks for your work and for providing it for free!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.