-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StreamServer Remotely #230
Comments
By the way, |
This issue can be closed, I have find the problem. |
Hi @bnare, Sorry for late response but I was not able to make it faster. Congratulations on the good job should go to @hepin1989 since he is the author of this live streaming example :) Indeed, the server must be bound to different interface (eth0 instead of lo) to perform streaming over the internet since localhost is not visible from the outside. I will clarify this in README notes. |
I still have a problem, despite having open a port on the modem, someone cannot access to my stream, but perhaps it's because the port should be open either side of the connection ? For example :
I suppose there is something that I do not understand :-! Note : to test the connection you can use a simple network browser you can see the stream displayed with strange char encoded :-) (example : http://192.168.1.10:20000 if the machine is on the same network) |
bnare, for my current project I am doing video streaming and had a similar problem as you but I am using MJPG-streamer. Go to one of the websites below and test to make sure port 20000 is actually open, sometimes you also have to enable the port in your firewall. Also, in my modem, when doing port forwarding I have the option to either use TCP, UDP, or Both. I currently have my option set to both and is working fine but you can play around with those settings and see if it makes a difference. Hope it helps. |
I'm not alone with this problem :-) |
Hi,I think for the broadcast,you could do a better way than redirect. @sarxos I really want to update the example ,but I am learning Play & scala & akka for a while ,so I left a while form this project,and I even come up a idea that how about using anyway ,I will fork and make a update for this example,cause I dig this hole,and my skill +++now,thanks sarxos,for this nice and great project ,you teach me so much. |
and for the network binding ,I think you should binding on |
@hepin1989 very good job also ;-) |
UDP,body size limited |
Hi everyone,
I have create the next HelloWord : https://github.com/sarxos/webcam-capture/blob/master/webcam-capture-examples/webcam-capture-live-streaming/src/main/java/us/sosia/video/stream/agent/StreamServer.java
The server is launched on localhost and I can connect on with the StreamClient : https://github.com/sarxos/webcam-capture/blob/master/webcam-capture-examples/webcam-capture-live-streaming/src/main/java/us/sosia/video/stream/agent/StreamClient.java
but the problem is that the server broadcast the stream on my locally computer only ( I looked with Wireshark, and no query has been sent on my locally network ).
How can access the server remotely ?
Thanks
The text was updated successfully, but these errors were encountered: