-
-
Save vo/a0cc9313861888ad5180f442a4b7bf48 to your computer and use it in GitHub Desktop.
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
| <title>gstreamer video example</title> | |
| </head> | |
| <body> | |
| <video width=640 height=480 autoplay> | |
| <source src="http://localhost:8080"> | |
| </video> | |
| </body> | |
| </html> |
| gst-launch-1.0 -v videotestsrc ! vp8enc ! webmmux ! tcpserversink host=127.0.0.1 port=8080 |
Thanks for the code! I'm getting a "Failed to load resource: net::ERR_INVALID_HTTP_RESPONSE" in chrome, but firefox works fine. Is there other way to stream video from gstreamer to chrome?
Same issue
Hello everyone, Im working on an Electron app with GStreamer, and I needed it to work with Chrome, and after lots of headaches I managed it work, I posted the script used on a repository, is my first time posting code, may its not very good explained, so open an issue if you don't can't make it work or anything else so I can improve it.
The problem (as net::ERR_INVALID_HTTP_RESPONSE states), is that you need to add a response, so I did with NodeJs, wish it can help.
Here is the repository: https://github.com/janoglezcampos/GstreamerChromeBridge
anyone?