我想编写一个可以捕获桌面或屏幕部分(用于分辨率的高度和宽度变量)并将其流式传输到RTMP服务器(rtmp://server.com/live)的应用程序。
我更希望这个有趣的项目可以在Windows上使用,所以我认为C#能够制作非常漂亮的专业GUI。
无论如何,如果没有覆盖或身份验证等所有花哨的功能,我只想将屏幕的一部分发送到一个开放的RTMP服务器,如Flash Media Server。
这些东西是内置在C#中的吗?所有这些流媒体程序(Flash Media Live Encoder,Xsplit,Procaster等)是如何工作的?这可能是我的起点。
谢谢!
当在sites-available (符号链接到sites-enabled)的文件中使用RTMP服务器块时,我很难让NGINX启动RTMP模块。NGINX配置文件都位于/etc/nginx/。
如果我在nginx.conf中直接使用下面的RTMP服务器块,服务器就会非常好地启动。但是,一旦我从include /etc/nginx/sites-enabled/*;行中删除nginx.conf中的注释,systemctl status nginx.service就会返回"nginx: [emerg] "rtmp" directive is not allowed here
我正试着从obs流到nginx服务器。我正在使用videojs作为播放器。在OBS设置中,我使用的是自定义流媒体服务器,url是rtmp://localhost/live。这是nginx的配置文件:
rtmp {
server {
listen 1935;
chunk_size 4096;
application live {
live on;
record off;
我想实现一个使用openCV检测对象的监视服务器。
为此,我为这个工作流设置了一个Ubuntu服务器:
Mobile CAM (from an Android) stream
|
| put the stream with RTMP to server rtmp://nginx/live/in [1]
|
v
nginx with the rtmp plugin
^
|
| the python script gets the mobile CAM stream from nginx rtmp://nginx/live/in [2]
|
v
surveillance script
|
| St