xialixin / srs

SRS is an industrial-strength live cluster, with simple code and best conceptual integrity.
MIT License
11 stars 4 forks source link

老板,目前这份代码,28181设备上线没有onconnect事件,没有onpublish事件,不知道是什么情况 #4

Open chatop2020 opened 4 years ago

chatop2020 commented 4 years ago

描述(Description)

描述你遇到了什么问题(Please description your issue here)

  1. SRS版本(Version): xxxxxx
  2. SRS的日志如下(Log):
    xxxxxxxxxxxx
  3. SRS的配置如下(Config):
    xxxxxxxxxxxx

重现(Replay)

重现Bug的步骤(How to replay bug?)

  1. xxxxxx
  2. xxxxxx
  3. xxxxxx

期望行为(Expect)

描述你期望发生的事情(Please describe your expectation)

xialixin commented 4 years ago

之前版本 ps流内部是rtmp客户端推流,后来改成source,内存传发数据,没有解发连接事件,你可以改下代码,如果需要, source_publish = true; 改成 source_publish = false;

chatop2020 commented 4 years ago

嗯,我尝试一下,谢谢!

liujw1234 commented 3 years ago

之前版本 ps流内部是rtmp客户端推流,后来改成source,内存传发数据,没有解发连接事件,你可以改下代码,如果需要, source_publish = true; 改成 source_publish = false;

夏老板 ,我这发现gb28181作为边缘站的时候,也不会往源站转发,“source_publish = true; 改成 source_publish = false;” 也是这样改一下就可以了, 不知道这样改符不符合你的开发逻辑。有没有其他的解决方案