mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-19 06:42:21 +08:00
对于webhook 涉及到media info的相关信息,增加protocol 的字段,表明是基于什么协议传输的
This commit is contained in:
@@ -96,6 +96,8 @@ void RtmpSession::onCmd_connect(AMFDecoder &dec) {
|
||||
// 赋值rtmp app
|
||||
_media_info.app = params["app"].as_string();
|
||||
|
||||
_media_info.protocol = overSsl() ? "rtmps" : "rtmp";
|
||||
|
||||
bool ok = true; //(app == APP_NAME);
|
||||
AMFValue version(AMF_OBJECT);
|
||||
version.set("fmsVer", "FMS/3,0,1,123");
|
||||
|
||||
Reference in New Issue
Block a user