Can not start transponder Error

Max

Administrator
Staff member
This means your SSL certificate is expitred. Please buy a new certificate for your domain and import it to WCS as described here.
You can also use HTTP port 8081 for REST API queries, in this case SSL certificate is not required.
 

Max

Administrator
Staff member
1. Restart WCS server to stop all push sessions

2. Open RTSP stream manually to see in the player.

Example:

Code:
https://demo.flashphoner.com/client2/examples/demo/streaming/player/player.html
1623422064026.png



3. Try to push this stream to localhost:

Code:
curl -H "Content-Type: application/json" -X POST http://demo.flashphoner.com:8081/rest-api/push/startup -d {"streamName":"rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov", "rtmpUrl":"rtmp://localhost:1935/live/test333", "rtmpTransponderFullUrl":"true"}'
Once push is complete, you will see stream test333 in the player.

Code:
https://demo.flashphoner.com/client2/examples/demo/streaming/player/player.html
1623422183266.png

4. Try to push to YouTube

Code:
curl -H "Content-Type: application/json" -X POST http://demo.flashphoner.com:8081/rest-api/push/startup -d {"streamName":"rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov", "rtmpUrl":"rtmp://a.rtmp.youtube.com/live2/3u0f-bv93-38qt-eep5-7y76","rtmpTransponderFullUrl":"true"}'
Does it work when you publish to localhost?
Does it work when you publish to YouTube?
 
I have checked but not working in both the server . Can you check on my server that why my rest-api not found on server.i have already restart my server but nothing happened anything.
 

Max

Administrator
Staff member
It seems port 8081 is not reachable on your server.
Please check if port is open and not bound by other applications.

As an option you can try https port 8444

Code:
https://cibunet.com:8444/rest-api/push/startup

{
  "streamName": "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov",
  "rtmpUrl": "rtmp://localhost:1935/live/test333",
  "rtmpTransponderFullUrl":"true"
}
No connection to port 8081.
Code:
telnet cibunet.com 8081
nothing happens
 

Max

Administrator
Staff member
Your screenshot is missing two details
1. No /rest-api/rtsp/startup
2. No rtmpTransponderFullUrl parameter for /rest-api/push/startup request
 
Only youtube issue left

POST http://cibunet.com:8081/rest-api/push/startup
Request
{
"streamName": "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov",
"rtmpUrl": "rtmp://a.rtmp.youtube.com/live2/3u0f-bv93-38qt-eep5-7y76",
"rtmpTransponderFullUrl": "true"
}
Response
{
"mediaSessionId": "9ogib92d2to8ot1ppce4fa6ov0",
"streamName": "3u0f-bv93-38qt-eep5-7y76",
"rtmpUrl": "rtmp://a.rtmp.youtube.com/live2",
"rtmpFlashVersion": "LNX 76.219.189.0",
"rtmpTransponderStreamNamePrefix": "rtmp_",
"width": 0,
"height": 0,
"fps": 0,
"keyFrameInterval": 0,
"rtmpTransponderKframeInterval": 60,
"muted": false,
"soundEnabled": false,
"rtmpTransponderForceKframeInterval": true,
"rtmpTransponderFullUrl": true
}

1623685940172.png
 

Max

Administrator
Staff member
We've tested RTMP republishing using your flow (capturing RTSP, then republish as RTMP) with your server. There is the following message in server log when trying to publish RTMP stream to Youtube:
Code:
03:00:30,253 ERROR        RtmpPublisher - Thread-144 error creating client connection: Connection refused
This means either Youtube refuses to connect (in this case you should check your Youtube credentials), or outgoing connections from your server to the TCP port 1935 are blocked on firewall/NAT. Please disable firewall and check your NAT settings if any. If this does not help, address the issue to Youtube, perhaps they block your IP address for some reason.
 
1623762152844.png



POST Method


{
"streamName": "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov",
"rtmpUrl": "rtmp://a.rtmp.youtube.com/live2/f5wr-6dva-1sz7-h37q-29w6",
"rtmpTransponderFullUrl": "true"
}

Response

{
"mediaSessionId": "bg5dls6ctsn4fai0noissfesk8",
"streamName": "f5wr-6dva-1sz7-h37q-29w6",
"rtmpUrl": "rtmp://a.rtmp.youtube.com/live2",
"rtmpFlashVersion": "LNX 76.219.189.0",
"rtmpTransponderStreamNamePrefix": "rtmp_",
"width": 0,
"height": 0,
"fps": 0,
"keyFrameInterval": 0,
"rtmpTransponderKframeInterval": 60,
"muted": false,
"soundEnabled": false,
"rtmpTransponderForceKframeInterval": true,
"rtmpTransponderFullUrl": true
}

1623762293728.png


But when i check
https://cibunet.com/testing.php and
https://cibunet.com/FlashphonerWebC...eaming/rtsp-to-rtmp-min/rtsp-to-rtmp-min.html
not working can you check please.
 
Top