我是电子开发的新手,所以请告诉我是否可以用电子流式传输RTSP,以及需要执行哪些步骤。
如果这在电子中是不可能的,我将对另一个可以处理RTSP视频的桌面应用程序框架持开放态度。
试试这个仓库 github 仓库
这是一个使用相机的简单应用程序。
<video src="rtp://myserver.com/path/to/stream">
Your browser does not support the VIDEO tag and/or RTP streams.
</video>
或者也许
<video src="http://myserver.com:1935/path/to/stream/myPlaylist.m3u8">
Your browser does not support the VIDEO tag and/or RTP streams.
</video>