Mjpeg VLC and HTTP Streaming

痞子三分冷 提交于 2019-12-03 08:31:19

Jose, I had exactly same problem. Firefox plays my stream but VLC doesnt. I went thru so many ways to figure this out including debugging VLC source code, and got no where. btw My (REST) URL looks like http://server:port/livevideo/xyz Then, I thought I should try http://server:port/livevideo/xyz.mjpeg And guess what, VLC started to play video! I think VLC might need a little hint more than content type to figure out it is a mjpeg stream. Hope this helps.

Cindy

Have you tried this:

Response.Buffer = false;
Response.BufferOutput = false;

Or some variation of those?

I can't get firefox to play my stream (though chrome plays it okay). For VLC I set the buffer to 0 ms (under advanced open options) and it seemed to work from there, though my data rate is killing it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!