I'd like the html5 video tag to open a vlc stream, but I don't know if that's even possible.
For now, I'm just trying to play the file from another computer on the network using VLC.
The settings for the server are:
me#kaffeesatz:~$ vlc screen:// --screen-left=67 --screen-top=53 --screen-width=800 --screen-height=600 --screen-fps=60 --sout '#transcode{vcodec=theovb=800,scale=1,width=800,height=600,acodec=none}:http{mux=ogg,dst=localhost:8181/graph.ogg}' --ttl=3
And when I open the http stream on the same machine, it works fine. The troubles begin when I try playing the stream from another computer. From Chrome, I get the message
Oops! Google Chrome could not connect to 192.168.178.23:8181
VLC won't connect.
Somehow the stream doesn't seem to make it outside of localhost.
Anyone out there who can help?
Edit: I actually had dst=:8181 already, per a previous question/answer. Setting ttl to 20 didn't magically solve the problem.
Here's the command I'm experiencing the same problem with:
me#kaffeesatz:~$ vlc screen:// --screen-left=67 --screen-top=53 --screen-width=800 --screen-height=600 --screen-fps=60 --sout '#transcode{vcodec=theovb=800,scale=1,width=800,height=600,acodec=none}:http{mux=ogg,dst=:8181/graph.ogg}' --ttl=20
You should try port :8080 , like for you own computer go on Chrome and type
127.0.0.1:8080/graph.ogg
and for your network watch this video that you can see really good picture.
I hope help with something;
You specify in the example to listen on localhost, 'dst=localhost:8181'. That means you cannot access the stream from outside your computer. Try to change it to 'dst=0.0.0.0:8181' or on your external ip address 'dst=192.168.178.23:8181'.
Related
i am trying to upload a simple webgl build in unity the build size is about 15 megabytes
but when i try to use the local router network dsl line it always gives this error
Curl error 56: Receiving data failed with unitytls error code 1048578
but when i use my mobile network it uploads just fine i think it is a network thing
so i cant really figure out whats going on
these are my player settings enter image description here
I talked to the isp and well they knew nothing about unity
Using a cable to connect to the internet solved the problem with me
So it might be something wrong with the router's wifi settings
Mirror Networking has a lot of example scenes that show how to use it. I tried running two instances of one of their examples called Pong.
Pong Example Folder
It worked pretty well, however when I tried running it on two different devices (my pc and my smartphone) it didn't work. It actually worked for less than a second, but then the app stops suddenly. I tried disabling the firewall on Windows, but nothing changed.
This video below shows exactly the problem I am facing:
https://www.youtube.com/watch?v=k3qa4lFM7xo&feature=youtu.be
The IP address shown in the video (192.168.15.5) is the IP of my phone, which in that case is the host.
I'm currently working on a project that uses raspberry pis to communicate with WebRTC. I want one pi to initiate a call with the press of a single button for emergency purposes. Initiating the call means, waking up, opening a browser full screen and starting the call. The problem is that Chromium has a pop up that asks if you want to allow the microphone and camera to be accessed by the browser. I would like to always allow this but the address is a local file and not a site I can add to Chromium's trusted list. Is there a way to circumvent this? Is there another browser I can trust to run quickly on a raspberry pi?
Thanks for your time!
"have you tried starting chrome with --use-fake-ui-for-media-stream? Caveat: will allow camera without prompt for everything – Philipp Hancke 19 hours ago" -first comment
Thanks!
I have downloaded and installed an extension to preview a webpage I'm working on inside the editor. It works fine, but I would like to also test the same HTML code on my mobile device as well. I have a normal home WiFi network. I was wondering if it is possible to somehow hook into the preview from another device besides the host computer. Is there a way to view the website from my phone on the same WiFi network, and access all of the website's served files, like index.html, /styles/.css, /scripts/.js, /images/*.jpg, etc?
Thank You!
very simple solution
turn on the live server on your pc
check the port where it's running
will look like 4400
check your LAN IP address will look like 192.172.123
Enter the address with the port number in this form (192.172.123:4400) on another device connected to the same router or device
Boom you can view changes as same you are using the same device
Sorry, I didn't realize that this functionality is already included in the wonderful extension that I originally downloaded - it's called Live Server by Ritwick Dey. On his GitHub repo, he outlines steps to remotely connect to the served website via another device on the same network (your phone for example). Tried it and it worked the first time!
https://github.com/ritwickdey/vscode-live-server/blob/master/docs/faqs.md
I have a method in an iOS project that calls avformat_open_input(), it runs very well in the simulator, however, when I try to run it on the device it hangs up and just stays there.
Has anyone seen this before?, Any help would be much appreciated.
That method establishes a connection to the source via URL, RTSP, RTP, etc, if it's hanging up:
Make sure that the source is in fact streaming data at that address and port
Make sure that you are connected to the right network if this is a local connection.
Please let me know how it works out.