【问题标题】:Is it possible to streaming RTSP (live) videos from camera in an electron app?是否可以在电子应用程序中从相机流式传输 RTSP(实时)视频?
【发布时间】:2025-12-09 11:55:01
【问题描述】:

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

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

【问题讨论】:

    标签: javascript node.js electron desktop-application rtsp


    【解决方案1】:

    试试这个仓库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>
    

    【讨论】:

    • Bansa:我正在询问来自云端的直播 rtsp。
    最近更新 更多