gpt4 book ai didi

javascript - 是否可以在 Electron 应用程序中从相机流式传输 RTSP(实时)视频?

转载 作者:行者123 更新时间:2023-12-03 12:22:31 25 4
gpt4 key购买 nike

我是 Electron 开发的新手,所以请告知我是否可以使用 Electron 流式传输 RTSP,以及所需的所有步骤。

如果这在 Electron 中是不可能的,我愿意接受另一个可以处理 RTSP 视频的桌面应用程序框架。

最佳答案

试试这个仓库 github repository

这是一个使用相机的简单应用程序。

<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>

关于javascript - 是否可以在 Electron 应用程序中从相机流式传输 RTSP(实时)视频?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50501309/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com