Comments (10)
Caster supports both a command-line interface and a REST API: https://github.com/entertailion/Caster
from fling.
That's exactly what I want. Is it working with the latest changes from
Google? I tried putting in my api key, but no devices get returned. I tried
both my server IP and 192.168.1.255 for broadcast_ip and still nothing gets
returned.
On Wed, Sep 4, 2013 at 7:49 AM, Leon Nicholls [email protected]:
Caster supports both a command-line interface and a REST API:
https://github.com/entertailion/Caster—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-23786313
.
from fling.
Caster does not have a broadcast_ip option.
from fling.
There's a hardcoded broadcast ip of 239.255.255.250.. leaving that or
changing it to 192.168.1.255 to match my subnet do not work.
java -jar caster.jar -l -v -id "my app key"
Main: that app key
Sep 04, 2013 11:20:21 PM com.entertailion.java.caster.Log i
INFO: BroadcastDiscoveryClient: Starting client on address /239.255.255.250
Main: discoveringDevices
Sep 04, 2013 11:20:21 PM com.entertailion.java.caster.Log i
INFO: BroadcastDiscoveryClient: Broadcast client thread starting.
Main: discoveredDevices
Sep 04, 2013 11:20:31 PM com.entertailion.java.caster.Log i
INFO: BroadcastDiscoveryClient: Exiting client loop.
On Thu, Sep 5, 2013 at 5:46 AM, Leon Nicholls [email protected]:
Caster does not have a broadcast_ip option.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-23859284
.
from fling.
The broadcast ip is required for the discovery protocol and shouldn't be changed.
What is your computer's IP address and your ChromeCast IP address?
from fling.
Computer: 192.168.1.105
ChromeCast: 192.168.1.143
On Thu, Sep 5, 2013 at 7:37 AM, Leon Nicholls [email protected]:
The broadcast ip is required for the discovery protocol and shouldn't be
changed.
What is your computer's IP address and your ChromeCast IP address?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-23864389
.
from fling.
The router might be blocking the broadcast messages. Try the "-d" option to play media on the device by specifying the ip address.
from fling.
Still not having any luck. anything jump out at you?
Here's the command I tried:
java -jar caster.jar -id "603209f1-9b65-4a23-968b-52f3ad6f96eb" -d
"192.168.1.143" -f "c:\test.avi" -v
Here's the response:
Main: 603209f1-9b65-4a23-968b-52f3ad6f96eb
Main: 192.168.1.143
Main: c:\test.avi
Playback: play: com.entertailion.java.caster.RampClient@1739422b
Platform: prefix=192.
Platform: interface=lo
Platform: address=/127.0.0.1
Platform: address=/0:0:0:0:0:0:0:1
Platform: interface=net0
Platform: interface=net1
Platform: interface=net2
Platform: interface=net3
Platform: interface=ppp0
Platform: interface=eth0
Platform: interface=eth1
Platform: interface=eth2
Platform: interface=eth3
Platform: interface=ppp1
Platform: interface=eth4
Platform: interface=net4
Platform: address=/fe80:0:0:0:0:5efe:c0a8:3801%13
Platform: interface=net5
Platform: address=/fe80:0:0:0:0:100:7f:fffe%14
Platform: interface=eth5
Platform: interface=eth6
Platform: interface=net6
Platform: interface=eth7
Platform: interface=net7
Platform: interface=eth8
Platform: interface=eth9
Platform: address=/192.168.56.1
Platform: networkAddress=/192.168.56.1
Playback: Started web server on port 8080
Playback: mediaUrl=http://192.168.56.1:8080/video.avi
RampClient: get response code=204
RampClient: device=http://192.168.1.143:8008
RampClient: apps url=http://192.168.1.143:8008/apps/
RampClient: get response code=204
RampClient: get response code=200
RampClient: get response=
603209f1-9b65-4a23-968b-52f3ad6f96eb
stopped
RampClient: state=stopped
RampClient: post response code=201
RampClient: post response=
RampClient: post response location=
http://192.168.1.143:8008/apps/603209f1-9b65-
4a23-968b-52f3ad6f96eb/web-11
RampClient: Access-Control-Allow-Methods=GET, POST, DELETE, OPTIONS
RampClient: Access-Control-Expose-Headers=Location
RampClient: Location=
http://192.168.1.143:8008/apps/603209f1-9b65-4a23-968b-52f3
ad6f96eb/web-11
RampClient:
Access-Control-Allow-Origin=chrome-extension://boadgeojelhgndaghljhd
icfkmllpafd
RampClient: Content-Length=0
RampClient: get response code=200
RampClient: get response=
603209f1-9b65-4a23-968b-52f3ad6f96eb
running
RampClient: state=running
RampClient: connectionServiceUrl=null
RampClient: protocol=null
RampClient: get response code=200
RampClient: get response=
603209f1-9b65-4a23-968b-52f3ad6f96eb
stopped
RampClient: state=stopped
RampClient: connectionServiceUrl=null
RampClient: protocol=null
Sep 05, 2013 7:53:46 PM com.entertailion.java.caster.Log i
INFO: RampClient: connectionServiceUrl is null
On Thu, Sep 5, 2013 at 7:47 AM, Leon Nicholls [email protected]:
The router might be blocking the broadcast messages. Try the "-d" option
to play media on the device by specifying the ip address.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-23864906
.
from fling.
Looks like you have another live network interface 192.168.56.1
That is being selected for the local streaming address instead
of 192.168.1.105
On Thu, Sep 5, 2013 at 7:55 PM, JustDan1979 [email protected]:
Still not having any luck. anything jump out at you?
Here's the command I tried:
java -jar caster.jar -id "603209f1-9b65-4a23-968b-52f3ad6f96eb" -d
"192.168.1.143" -f "c:\test.avi" -vHere's the response:
Main: 603209f1-9b65-4a23-968b-52f3ad6f96eb
Main: 192.168.1.143
Main: c:\test.avi
Playback: play: com.entertailion.java.caster.RampClient@1739422b
Platform: prefix=192.
Platform: interface=lo
Platform: address=/127.0.0.1
Platform: address=/0:0:0:0:0:0:0:1
Platform: interface=net0
Platform: interface=net1
Platform: interface=net2
Platform: interface=net3
Platform: interface=ppp0
Platform: interface=eth0
Platform: interface=eth1
Platform: interface=eth2
Platform: interface=eth3
Platform: interface=ppp1
Platform: interface=eth4
Platform: interface=net4
Platform: address=/fe80:0:0:0:0:5efe:c0a8:3801%13
Platform: interface=net5
Platform: address=/fe80:0:0:0:0:100:7f:fffe%14
Platform: interface=eth5
Platform: interface=eth6
Platform: interface=net6
Platform: interface=eth7
Platform: interface=net7
Platform: interface=eth8
Platform: interface=eth9
Platform: address=/192.168.56.1
Platform: networkAddress=/192.168.56.1
Playback: Started web server on port 8080
Playback: mediaUrl=http://192.168.56.1:8080/video.avi
RampClient: get response code=204
RampClient: device=http://192.168.1.143:8008
RampClient: apps url=http://192.168.1.143:8008/apps/
RampClient: get response code=204
RampClient: get response code=200
RampClient: get response=
603209f1-9b65-4a23-968b-52f3ad6f96eb
stopped
RampClient: state=stopped
RampClient: post response code=201
RampClient: post response=
RampClient: post response location=
http://192.168.1.143:8008/apps/603209f1-9b65-
4a23-968b-52f3ad6f96eb/web-11
RampClient: Access-Control-Allow-Methods=GET, POST, DELETE, OPTIONS
RampClient: Access-Control-Expose-Headers=Location
RampClient: Location=
http://192.168.1.143:8008/apps/603209f1-9b65-4a23-968b-52f3
ad6f96eb/web-11
RampClient:
Access-Control-Allow-Origin=chrome-extension://boadgeojelhgndaghljhd
icfkmllpafd
RampClient: Content-Length=0
RampClient: get response code=200
RampClient: get response=
603209f1-9b65-4a23-968b-52f3ad6f96eb
runningRampClient: state=running
RampClient: connectionServiceUrl=null
RampClient: protocol=null
RampClient: get response code=200
RampClient: get response=
603209f1-9b65-4a23-968b-52f3ad6f96eb
stopped
RampClient: state=stopped
RampClient: connectionServiceUrl=null
RampClient: protocol=null
Sep 05, 2013 7:53:46 PM com.entertailion.java.caster.Log i
INFO: RampClient: connectionServiceUrl is nullOn Thu, Sep 5, 2013 at 7:47 AM, Leon Nicholls [email protected]:
The router might be blocking the broadcast messages. Try the "-d" option
to play media on the device by specifying the ip address.—
Reply to this email directly or view it on GitHub<
https://github.com/entertailion/Fling/issues/7#issuecomment-23864906>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-23912433
.
from fling.
You were right. I stopped a virtual nic, and I found out something else was
using port 8080, and stopped that service. When your app is running I start
a download of video.avi when I go to 192.168.1.105:8080/video.avi on my pc,
so that's apparently working fine.
Here's the latest dump:
Main: 603209f1-9b65-4a23-968b-52f3ad6f96eb
Main: 192.168.1.143
Main: c:\test.avi
Playback: play: com.entertailion.java.caster.RampClient@3c97e111
Platform: prefix=192.
Platform: interface=lo
Platform: address=/127.0.0.1
Platform: address=/0:0:0:0:0:0:0:1
Platform: interface=net0
Platform: interface=net1
Platform: interface=net2
Platform: interface=net3
Platform: interface=ppp0
Platform: interface=eth0
Platform: interface=eth1
Platform: interface=eth2
Platform: interface=eth3
Platform: interface=ppp1
Platform: interface=eth4
Platform: interface=net4
Platform: interface=net5
Platform: address=/2001:0:4137:9e76:4b1:5a9:cde4:3369
Platform: address=/fe80:0:0:0:4b1:5a9:cde4:3369%14
Platform: interface=eth5
Platform: interface=eth6
Platform: interface=net6
Platform: interface=eth7
Platform: interface=net7
Platform: interface=eth8
Platform: interface=eth9
Platform: interface=eth10
Platform: interface=eth11
Platform: interface=eth12
Platform: address=/192.168.1.105
Platform: networkAddress=/192.168.1.105
Playback: Started web server on port 8080
Playback: mediaUrl=http://192.168.1.105:8080/video.avi
RampClient: get response code=204
RampClient: device=http://192.168.1.143:8008
RampClient: apps url=http://192.168.1.143:8008/apps/
RampClient: get response code=204
RampClient: get response code=200
RampClient: get response=
603209f1-9b65-4a23-968b-52f3ad6f96eb
stopped
RampClient: state=stopped
RampClient: post response code=201
RampClient: post response=
RampClient: post response location=
http://192.168.1.143:8008/apps/603209f1-9b65-
4a23-968b-52f3ad6f96eb/web-25
RampClient: Access-Control-Allow-Methods=GET, POST, DELETE, OPTIONS
RampClient: Access-Control-Expose-Headers=Location
RampClient: Location=
http://192.168.1.143:8008/apps/603209f1-9b65-4a23-968b-52f3
ad6f96eb/web-25
RampClient:
Access-Control-Allow-Origin=chrome-extension://boadgeojelhgndaghljhd
icfkmllpafd
RampClient: Content-Length=0
RampClient: get response code=200
RampClient: get response=
603209f1-9b65-4a23-968b-52f3ad6f96eb
running
RampClient: state=running
RampClient: connectionServiceUrl=null
RampClient: protocol=null
RampClient: get response code=200
RampClient: get response=
603209f1-9b65-4a23-968b-52f3ad6f96eb
stopped
RampClient: state=stopped
RampClient: connectionServiceUrl=null
RampClient: protocol=null
Sep 05, 2013 8:08:39 PM com.entertailion.java.caster.Log i
INFO: RampClient: connectionServiceUrl is null
On Thu, Sep 5, 2013 at 8:03 PM, Leon Nicholls [email protected]:
Looks like you have another live network interface 192.168.56.1
That is being selected for the local streaming address instead
of 192.168.1.105On Thu, Sep 5, 2013 at 7:55 PM, JustDan1979 [email protected]:
Still not having any luck. anything jump out at you?
Here's the command I tried:
java -jar caster.jar -id "603209f1-9b65-4a23-968b-52f3ad6f96eb" -d
"192.168.1.143" -f "c:\test.avi" -vHere's the response:
Main: 603209f1-9b65-4a23-968b-52f3ad6f96eb
Main: 192.168.1.143
Main: c:\test.avi
Playback: play: com.entertailion.java.caster.RampClient@1739422b
Platform: prefix=192.
Platform: interface=lo
Platform: address=/127.0.0.1
Platform: address=/0:0:0:0:0:0:0:1
Platform: interface=net0
Platform: interface=net1
Platform: interface=net2
Platform: interface=net3
Platform: interface=ppp0
Platform: interface=eth0
Platform: interface=eth1
Platform: interface=eth2
Platform: interface=eth3
Platform: interface=ppp1
Platform: interface=eth4
Platform: interface=net4
Platform: address=/fe80:0:0:0:0:5efe:c0a8:3801%13
Platform: interface=net5
Platform: address=/fe80:0:0:0:0:100:7f:fffe%14
Platform: interface=eth5
Platform: interface=eth6
Platform: interface=net6
Platform: interface=eth7
Platform: interface=net7
Platform: interface=eth8
Platform: interface=eth9
Platform: address=/192.168.56.1
Platform: networkAddress=/192.168.56.1
Playback: Started web server on port 8080
Playback: mediaUrl=http://192.168.56.1:8080/video.avi
RampClient: get response code=204
RampClient: device=http://192.168.1.143:8008
RampClient: apps url=http://192.168.1.143:8008/apps/
RampClient: get response code=204
RampClient: get response code=200
RampClient: get response=
603209f1-9b65-4a23-968b-52f3ad6f96eb
stopped
RampClient: state=stopped
RampClient: post response code=201
RampClient: post response=
RampClient: post response location=
http://192.168.1.143:8008/apps/603209f1-9b65-
4a23-968b-52f3ad6f96eb/web-11
RampClient: Access-Control-Allow-Methods=GET, POST, DELETE, OPTIONS
RampClient: Access-Control-Expose-Headers=Location
RampClient: Location=
http://192.168.1.143:8008/apps/603209f1-9b65-4a23-968b-52f3
ad6f96eb/web-11
RampClient:
Access-Control-Allow-Origin=chrome-extension://boadgeojelhgndaghljhd
icfkmllpafd
RampClient: Content-Length=0
RampClient: get response code=200
RampClient: get response=
603209f1-9b65-4a23-968b-52f3ad6f96eb
runningRampClient: state=running
RampClient: connectionServiceUrl=null
RampClient: protocol=null
RampClient: get response code=200
RampClient: get response=
603209f1-9b65-4a23-968b-52f3ad6f96eb
stopped
RampClient: state=stopped
RampClient: connectionServiceUrl=null
RampClient: protocol=null
Sep 05, 2013 7:53:46 PM com.entertailion.java.caster.Log i
INFO: RampClient: connectionServiceUrl is nullOn Thu, Sep 5, 2013 at 7:47 AM, Leon Nicholls [email protected]:
The router might be blocking the broadcast messages. Try the "-d"
option
to play media on the device by specifying the ip address.—
Reply to this email directly or view it on GitHub<
https://github.com/entertailion/Fling/issues/7#issuecomment-23864906>
.—
Reply to this email directly or view it on GitHub<
https://github.com/entertailion/Fling/issues/7#issuecomment-23912433>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-23912681
.
from fling.
Related Issues (20)
- Version Number
- In short, it doesn't work anymore HOT 2
- scrobbing while transcoding HOT 1
- Debugging output causes console beeps in Windows HOT 3
- Wrong network interface being selected
- Unable to drag & drop under mac HOT 14
- Unable to playback local file HOT 5
- Problems streaming to network HOT 3
- Unable to cast to Chromecast with fling.jar and APP ID HOT 12
- CC gives Brain Freeze error HOT 2
- Response code 404 from RampClient HOT 4
- Question about user friendly HOT 2
- [Feature request] Specify App ID in GUI
- Getting around the local encoding HOT 1
- Fling 0.3 works now, bu Fling 0.6 does not work
- connectionServiceUrl is Null
- Opening a 8.44 GB .mkv file from a windows share crashes fling
- Please, add a small test video
- No video streaming. log texts loops
- 有什么需要配置的吗
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fling.