适用于JavaScript / HTML5的RTSP解决方案 [英] RTSP solution for JavaScript/HTML5

查看:184
本文介绍了适用于JavaScript / HTML5的RTSP解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发智能电视应用程序,从IP摄像机流式传输实时视频是该功能的重要部分。



相机的手册说明如果设置了流式传输不支持HTTP的MPEG-4或H.264;只有RTSP / RTP才有。



替代方案(通过HTTP)是Motion JPEG,我希望尽可能避免(电视上的帧速率很差)。 / p>

是否有适用于RTSP的JavaScript / HTML5解决方案/包装器?电视无法运行Java小程序或任何类型,默认情况下,浏览器不支持RTSP。



谢谢!

解决方案

似乎没有任何纯JS或HTML5解决方案。您可能需要通过一个可以对视频进行转码的服务器。



另请参阅:https://stackoverflow.com/a/4900156/3527940


I am developing a Smart TV application and streaming live video from an IP Camera is a huge portion of the functionality.

The camera's manual states that if it is set to stream MPEG-4 or H.264 that HTTP is not supported; only RTSP/RTP is.

The alternative (via HTTP) is Motion JPEG, which I would like to avoid as much as possible (terrible framerate on the TV).

Is there any JavaScript/HTML5 solution/wrapper for RTSP? The TV cannot run a Java applet or anything of the sort, and by default, the browser does not support RTSP.

Thanks!

解决方案

There doesn't seem to be any pure JS or HTML5 solution for this. You'll probably need to go through a server that will transcode the video.

See also: https://stackoverflow.com/a/4900156/3527940

这篇关于适用于JavaScript / HTML5的RTSP解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆