OBS to RTMP Flashphoner to push/startup failed

auronsan14

New Member
Screen Shot 2021-12-15 at 14.18.26.png


while publishing from obs failed when try add push startup with same name
Code:
[
    {
        "appKey": "flashStreamingApp",
        "sessionId": "",
        "mediaSessionId": "9a991c81-7b5f-4f51-aa5e-464f44e837c1",
        "name": "stream1",
        "published": true,
        "hasVideo": true,
        "hasAudio": true,
        "status": "PUBLISHING",
        "sdp": "v=0\r\no=- 1988962254 1988962254 IN IP4 0.0.0.0\r\nc=IN IP4 0.0.0.0\r\nt=0 0\r\na=sdplang:en\r\nm=video 0 RTP/AVP 119 127\r\na=rtpmap:119 H264/90000\r\na=fmtp:119 profile-level-id=42e01f;packetization-mode=1\r\na=rtpmap:127 FLV/90000\r\na=sendonly\r\nm=audio 0 RTP/AVP 97 8 0 102 103 104 105 106 107 108 109 110\r\na=rtpmap:97 SPEEX/16000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:102 mpeg4-generic/48000/1\r\na=rtpmap:103 mpeg4-generic/44100/1\r\na=rtpmap:104 mpeg4-generic/32000/1\r\na=rtpmap:105 mpeg4-generic/24000/1\r\na=rtpmap:106 mpeg4-generic/22050/1\r\na=rtpmap:107 mpeg4-generic/16000/1\r\na=rtpmap:108 mpeg4-generic/12000/1\r\na=rtpmap:109 mpeg4-generic/11025/1\r\na=rtpmap:110 mpeg4-generic/8000/1\r\na=sendonly\r\n",
        "audioCodec": "mpeg4-generic",
        "videoCodec": "H264",
        "record": false,
        "width": 1280,
        "height": 720,
        "bitrate": 0,
        "minBitrate": 0,
        "maxBitrate": 0,
        "quality": 0,
        "history": false,
        "gop": 0,
        "fps": 0,
        "audioBitrate": 0,
        "codecImpl": "",
        "transport": "UDP",
        "cvoExtension": false,
        "createDate": 1639552350310,
        "mediaType": "publish",
        "audioState": {
            "muted": false
        },
        "videoState": {
            "muted": false
        },
        "mediaProvider": "Flash"
    }
]
 

Max

Administrator
Staff member
Hello

rtmpUrl is incorrect

Valid URL:
rtmp://localhost:1935/live/stream123
 

auronsan14

New Member
if use canvas streaming is working. but not rtmp one
Screen Shot 2021-12-15 at 17.16.16.png
example I use canvas streaming
Code:
[
    {
        "appKey": "defaultApp",
        "sessionId": "sessionId",
        "mediaSessionId": "033b8970-5d90-11ec-bb0b-6bcbee2b0cc4",
        "name": "a049875b-9ab3-402d-a2cc-a2e04350ade0",
        "published": true,
        "hasVideo": true,
        "hasAudio": true,
        "status": "PUBLISHING",
        "sdp": "v=0\r\no=- 4983888844339899698 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS cd3be0f9-ab8d-45f8-8112-c376251f9f2d\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:QHTy\r\na=ice-pwd:ztzWOffN7A+0Vm9jBpCya6iF\r\na=ice-options:trickle\r\na=fingerprint:sha-256 0F:AC:80:25:AF:08:22:1B:EC:7A:07:01:AB:61:CE:40:49:C8:C0:46:B7:FF:E8:AA:B3:89:54:C2:DF:39:AC:C8\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=msid:cd3be0f9-ab8d-45f8-8112-c376251f9f2d 059d7092-9727-44f9-a653-910c187464e5\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:634604583 cname:Q8julc7t9fl7zUZv\r\na=ssrc:634604583 msid:cd3be0f9-ab8d-45f8-8112-c376251f9f2d 059d7092-9727-44f9-a653-910c187464e5\r\na=ssrc:634604583 mslabel:cd3be0f9-ab8d-45f8-8112-c376251f9f2d\r\na=ssrc:634604583 label:059d7092-9727-44f9-a653-910c187464e5\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 121 127 120 125 107 108 109 35 36 124 119 123\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:QHTy\r\na=ice-pwd:ztzWOffN7A+0Vm9jBpCya6iF\r\na=ice-options:trickle\r\na=fingerprint:sha-256 0F:AC:80:25:AF:08:22:1B:EC:7A:07:01:AB:61:CE:40:49:C8:C0:46:B7:FF:E8:AA:B3:89:54:C2:DF:39:AC:C8\r\na=setup:actpass\r\na=mid:1\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=msid:cd3be0f9-ab8d-45f8-8112-c376251f9f2d 4757500b-2040-4827-bffd-7bbf1e8815e9\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 profile-id=0\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 VP9/90000\r\na=rtcp-fb:100 goog-remb\r\na=rtcp-fb:100 transport-cc\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=fmtp:100 profile-id=2\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:102 H264/90000\r\na=rtcp-fb:102 goog-remb\r\na=rtcp-fb:102 transport-cc\r\na=rtcp-fb:102 ccm fir\r\na=rtcp-fb:102 nack\r\na=rtcp-fb:102 nack pli\r\na=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f\r\na=rtpmap:121 rtx/90000\r\na=fmtp:121 apt=102\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f\r\na=rtpmap:120 rtx/90000\r\na=fmtp:120 apt=127\r\na=rtpmap:125 H264/90000\r\na=rtcp-fb:125 goog-remb\r\na=rtcp-fb:125 transport-cc\r\na=rtcp-fb:125 ccm fir\r\na=rtcp-fb:125 nack\r\na=rtcp-fb:125 nack pli\r\na=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=125\r\na=rtpmap:108 H264/90000\r\na=rtcp-fb:108 goog-remb\r\na=rtcp-fb:108 transport-cc\r\na=rtcp-fb:108 ccm fir\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:35 AV1X/90000\r\na=rtcp-fb:35 goog-remb\r\na=rtcp-fb:35 transport-cc\r\na=rtcp-fb:35 ccm fir\r\na=rtcp-fb:35 nack\r\na=rtcp-fb:35 nack pli\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:124 red/90000\r\na=rtpmap:119 rtx/90000\r\na=fmtp:119 apt=124\r\na=rtpmap:123 ulpfec/90000\r\na=ssrc-group:FID 2329493796 1782578674\r\na=ssrc:2329493796 cname:Q8julc7t9fl7zUZv\r\na=ssrc:2329493796 msid:cd3be0f9-ab8d-45f8-8112-c376251f9f2d 4757500b-2040-4827-bffd-7bbf1e8815e9\r\na=ssrc:2329493796 mslabel:cd3be0f9-ab8d-45f8-8112-c376251f9f2d\r\na=ssrc:2329493796 label:4757500b-2040-4827-bffd-7bbf1e8815e9\r\na=ssrc:1782578674 cname:Q8julc7t9fl7zUZv\r\na=ssrc:1782578674 msid:cd3be0f9-ab8d-45f8-8112-c376251f9f2d 4757500b-2040-4827-bffd-7bbf1e8815e9\r\na=ssrc:1782578674 mslabel:cd3be0f9-ab8d-45f8-8112-c376251f9f2d\r\na=ssrc:1782578674 label:4757500b-2040-4827-bffd-7bbf1e8815e9\r\n",
        "audioCodec": "opus",
        "videoCodec": "H264",
        "record": false,
        "width": 0,
        "height": 0,
        "bitrate": 0,
        "minBitrate": 0,
        "maxBitrate": 0,
        "quality": 0,
        "rtmpUrl": "rtmp://fp.duokast.com:1935/live",
        "history": false,
        "gop": 0,
        "fps": 0,
        "audioBitrate": 0,
        "codecImpl": "",
        "transport": "UDP",
        "cvoExtension": false,
        "createDate": 1639563365303,
        "mediaType": "publish",
        "audioState": {
            "muted": false
        },
        "videoState": {
            "muted": false
        },
        "mediaProvider": "WebRTC",
        "origin": "https://*********,
        "constraints": {
            "audio": false,
            "video": false,
            "customStream": {}
        }
    }
]
 
Top