monibuca icon indicating copy to clipboard operation
monibuca copied to clipboard

转推到CDN会失败

Open flying19880517 opened this issue 2 years ago • 0 comments

使用转推功能时,转推URL填CDN地址会直接停止,不同CDN表现还不一致,推到m7s没问题。 网宿的能看到decode command amf0 {"plugin": "RTMP", "cmd": "onBWDone"},腾讯和B站的都是直接push finished

18:45:53        INFO    connect {"plugin": "RTMP", "appName": "live", "objectEncoding": 0}
18:45:53        INFO    createStream:   {"plugin": "RTMP", "streamId": 1}
18:45:53        INFO    publish {"plugin": "RTMP", "path": "live/rtmp"}
18:45:53        INFO    created {"stream": "live/rtmp"}
18:45:53        INFO    ⌛->🟢  {"stream": "live/rtmp", "action": "publish"}
18:45:53        INFO    push    {"plugin": "RTMP", "path": "live/rtmp", "url": "rtmp://网宿CDN地址"}
18:45:53        INFO    track +1        {"stream": "live/rtmp", "name": "aac"}
18:45:53        INFO    track +1        {"stream": "live/rtmp", "name": "h264"}
18:45:53        INFO    _result :       {"plugin": "RTMP", "code": "NetConnection.Connect.Success"}
18:45:53        INFO    connect {"plugin": "RTMP", "remoteURL": "rtmp://网宿CDN地址"}
18:45:53        INFO    subscribe       {"plugin": "RTMP", "path": "live/rtmp"}
18:45:53        INFO    suber +1        {"stream": "live/rtmp", "id": "", "type": "RTMPPusher", "remains": 1}
18:45:53        INFO    track+1 {"stream": "live/rtmp", "type": "RTMPPusher", "name": "aac"}
18:45:53        INFO    track+1 {"stream": "live/rtmp", "type": "RTMPPusher", "name": "h264"}
18:45:53        INFO    start push      {"plugin": "RTMP", "path": "live/rtmp", "url": "rtmp://网宿CDN地址"}
18:45:53        INFO    subscribe       {"plugin": "HLS", "path": "live/rtmp"}
18:45:53        INFO    suber +1        {"stream": "live/rtmp", "id": "", "type": "HLSWriter", "remains": 2}
18:45:53        INFO    track+1 {"stream": "live/rtmp", "type": "HLSWriter", "name": "aac"}
18:45:53        INFO    track+1 {"stream": "live/rtmp", "type": "HLSWriter", "name": "h264"}
18:45:53        INFO    decode command amf0     {"plugin": "RTMP", "cmd": "onBWDone"}
18:45:53        INFO    push finished   {"plugin": "RTMP", "path": "live/rtmp", "url": "rtmp://网宿CDN地址"}
18:45:53        INFO    playblock       {"stream": "live/rtmp", "type": "HLSWriter"}



18:47:22        INFO    connect {"plugin": "RTMP", "appName": "live", "objectEncoding": 0}
18:47:22        INFO    createStream:   {"plugin": "RTMP", "streamId": 1}
18:47:22        INFO    publish {"plugin": "RTMP", "path": "live/rtmp"}
18:47:22        INFO    created {"stream": "live/rtmp"}
18:47:22        INFO    ⌛->🟢  {"stream": "live/rtmp", "action": "publish"}
18:47:22        INFO    push    {"plugin": "RTMP", "path": "live/rtmp", "url": "rtmp://腾讯CDN地址"}
18:47:22        INFO    subscribe       {"plugin": "HLS", "path": "live/rtmp"}
18:47:22        INFO    suber +1        {"stream": "live/rtmp", "id": "", "type": "HLSWriter", "remains": 1}
18:47:22        INFO    track +1        {"stream": "live/rtmp", "name": "aac"}
18:47:22        INFO    track+1 {"stream": "live/rtmp", "type": "HLSWriter", "name": "aac"}
18:47:22        INFO    track +1        {"stream": "live/rtmp", "name": "h264"}
18:47:22        INFO    track+1 {"stream": "live/rtmp", "type": "HLSWriter", "name": "h264"}
18:47:22        INFO    playblock       {"stream": "live/rtmp", "type": "HLSWriter"}
18:47:22        INFO    _result :       {"plugin": "RTMP", "code": "NetConnection.Connect.Success"}
18:47:22        INFO    connect {"plugin": "RTMP", "remoteURL": "rtmp://腾讯CDN地址"}
18:47:22        INFO    subscribe       {"plugin": "RTMP", "path": "live/rtmp"}
18:47:22        INFO    suber +1        {"stream": "live/rtmp", "id": "", "type": "RTMPPusher", "remains": 2}
18:47:22        INFO    track+1 {"stream": "live/rtmp", "type": "RTMPPusher", "name": "aac"}
18:47:22        INFO    track+1 {"stream": "live/rtmp", "type": "RTMPPusher", "name": "h264"}
18:47:22        INFO    start push      {"plugin": "RTMP", "path": "live/rtmp", "url": "rtmp://腾讯CDN地址"}
18:47:22        INFO    _result :       {"plugin": "RTMP", "code": "NetStream.Publish.Start"}
18:47:22        INFO    playblock       {"stream": "live/rtmp", "type": "RTMPPusher"}
18:47:23        INFO    push finished   {"plugin": "RTMP", "path": "live/rtmp", "url": "rtmp://腾讯CDN地址"}
18:47:23        INFO    stop    {"stream": "live/rtmp", "type": "RTMPPusher"}
18:47:27        INFO    suber -1        {"stream": "live/rtmp", "id": "", "type": "RTMPPusher", "remains": 1}



18:51:33        INFO    connect {"plugin": "RTMP", "appName": "live", "objectEncoding": 0}
18:51:33        INFO    createStream:   {"plugin": "RTMP", "streamId": 1}
18:51:33        INFO    publish {"plugin": "RTMP", "path": "live/rtmp"}
18:51:33        INFO    created {"stream": "live/rtmp"}
18:51:33        INFO    ⌛->🟢  {"stream": "live/rtmp", "action": "publish"}
18:51:33        INFO    push    {"plugin": "RTMP", "path": "live/rtmp", "url": "rtmp://B站CDN地址"}
18:51:33        INFO    subscribe       {"plugin": "HLS", "path": "live/rtmp"}
18:51:33        INFO    suber +1        {"stream": "live/rtmp", "id": "", "type": "HLSWriter", "remains": 1}
18:51:33        INFO    track +1        {"stream": "live/rtmp", "name": "aac"}
18:51:33        INFO    track+1 {"stream": "live/rtmp", "type": "HLSWriter", "name": "aac"}
18:51:33        INFO    track +1        {"stream": "live/rtmp", "name": "h264"}
18:51:33        INFO    track+1 {"stream": "live/rtmp", "type": "HLSWriter", "name": "h264"}
18:51:33        INFO    playblock       {"stream": "live/rtmp", "type": "HLSWriter"}
18:51:33        INFO    _result :       {"plugin": "RTMP", "code": "NetConnection.Connect.Success"}
18:51:33        INFO    connect {"plugin": "RTMP", "remoteURL": "rtmp://B站CDN地址"}
18:51:33        INFO    subscribe       {"plugin": "RTMP", "path": "live/rtmp"}
18:51:33        INFO    suber +1        {"stream": "live/rtmp", "id": "", "type": "RTMPPusher", "remains": 2}
18:51:33        INFO    track+1 {"stream": "live/rtmp", "type": "RTMPPusher", "name": "aac"}
18:51:33        INFO    track+1 {"stream": "live/rtmp", "type": "RTMPPusher", "name": "h264"}
18:51:33        INFO    start push      {"plugin": "RTMP", "path": "live/rtmp", "url": "rtmp://B站CDN地址"}
18:51:33        INFO    push finished   {"plugin": "RTMP", "path": "live/rtmp", "url": "rtmp://B站CDN地址"}
18:51:38        INFO    suber -1        {"stream": "live/rtmp", "id": "", "type": "RTMPPusher", "remains": 1}

flying19880517 avatar Sep 21 '22 11:09 flying19880517