Created
February 24, 2017 15:02
-
-
Save vo/a0cc9313861888ad5180f442a4b7bf48 to your computer and use it in GitHub Desktop.
simple streaming of video from gstreamer to WebM / VP8 / HTML5 in chrome
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gst-launch-1.0 -v videotestsrc ! vp8enc ! webmmux ! tcpserversink host=127.0.0.1 port=8080 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Same issue