Can not start transponder Error

Max

Administrator
Staff member
Seems like Websocket connection to your server cannot be established. Please check if TCP port 8443 is not closed
1623818485194.png

Seems you've commented getStream() call:
1623817636111.png

That's why RTSP stream is not captured, so it cannot be republished too.
You should also increase RTSP activity timeout. By default, RTSP stream will stop if there are no subscribers in 60 seconds, so you should set
Code:
rtsp_activity_timer_timeout=3600000
In this case, RTSP stream will be active in 1 hour.
 
Last edited:
I think i am on trial license that is why my url is not secure but before sometime i have already done ssl but now it is showing not secure.So can you send me the plan pricing for license and also in trial how much time my ssl will be active.
 

Max

Administrator
Staff member
I think i am on trial license that is why my url is not secure but before sometime i have already done ssl but now it is showing not secure.
No. The trial license has only two limits:
- time limit (30 days or up to 180 days if prolonged by request)
- voice watermark in all the streams on server
Your server shows it uses a valid certificate:
1623834532540.png

Please try to clean coockies and site data in your browser, that's the possible reason to show insecure sign.
But TCP port 8443 seems inaccessible from our side at least. So please check the firewall/NAT settings if any.
So can you send me the plan pricing for license
You can check pricing on this page.
Also can you check my license has expired.
When your license expires, no stream publishing or republishin is possible, with messages in server logs /usr/local/FlashphonerWebCallServer/logs/server_logs/flashphoner.log like Licence restriction.
RTSP capturing works via REST API, therefore license is not expired yet.
 
I have these stream

ON_INCOMING_STREAM

  1. detail:
    1. isAudio: true
    2. isSelf: true
    3. isVideo: false
    4. peerId: "nKmbDVJkfDqioCI3AB1k"
    5. peerInfo: {userData: "Cibunet", settings: {…}, mediaStatus: {…}, agent: {…}, room: {…}, …}
    6. room: {id: "9f16d87a6b1e1b12f33ccc256c1c30fe828710b7_api_cFZGV094V3Y4WnVBQ054blFzNWo5UT09", duration: 24, roomName: "cFZGV094V3Y4WnVBQ054blFzNWo5UT09", isLocked: false, inRoom: true}
    7. stream: MediaStream {id: "3063a000-e2a3-4192-87db-3a8d76a6877e", active: true, onaddtrack: null, onremovetrack: null, onactive: null, …}
    8. streamId: "3063a000-e2a3-4192-87db-3a8d76a6877e"
    9. __proto__: Object
  2. __proto__: Object

So how can i play this stream in youtube in place of rtsp stream.
In line no. 7
 

Max

Administrator
Staff member
So how can i play this stream in youtube in place of rtsp stream.
You can push any stream to Youtube using /push/startup query by stream name:
Code:
POST /rest-api/push/startup HTTP/1.1
Host: localhost:8081
Content-Type: application/json
 
{
    "streamName": "your_stream_mane",
    "rtmpUrl":"rtmp://a.rtmp.youtube.com/live2/youtube-stream-key",
    "rtmpTransponderFullUrl": true,
    "rtmpFlashVersion ": "LNX 76.219.189.0"
}
The stream should be published on WCS of course via WebRTC, RTMP or RTSP
 
How can i check fom above code

  1. detail:
    1. isAudio: true
    2. isSelf: true
    3. isVideo: false
    4. peerId: "nKmbDVJkfDqioCI3AB1k"
    5. peerInfo: {userData: "Cibunet", settings: {…}, mediaStatus: {…}, agent: {…}, room: {…}, …}
    6. room: {id: "9f16d87a6b1e1b12f33ccc256c1c30fe828710b7_api_cFZGV094V3Y4WnVBQ054blFzNWo5UT09", duration: 24, roomName: "cFZGV094V3Y4WnVBQ054blFzNWo5UT09", isLocked: false, inRoom: true}
    7. stream: MediaStream {id: "3063a000-e2a3-4192-87db-3a8d76a6877e", active: true, onaddtrack: null, onremovetrack: null, onactive: null, …}
    8. streamId: "3063a000-e2a3-4192-87db-3a8d76a6877e"
    9. __proto__: Object
  2. __proto__: Object
i have checked with stream.id from line no. 7 but it is not working.
 

Max

Administrator
Staff member
i have checked with stream.id from line no. 7 but it is not working.
Use /stream/find query to find if a stream published on WCS:
Code:
POST /rest-api/stream/find HTTP/1.1
Host: localhost:8081
Content-Type: application/json
 
{
    "published":true
}
Please also clarify your case: how do you publish a stream? What example do you use for test?
Note that there is no object details in Web SDK like you decribe. Do you play a stream from a third party server, and trying to republish it?
 

Max

Administrator
Staff member
yes i have screen sharing stream of temasys Skylink. i have to put this stream into youtube streaming.
You have two options:
1. If Temasys Skylink allows to configure stream republishing to RTMP ingest point, or can provide RTMP or RTSP endpoint to capture stream, you can repblish a stream to WCS and then republish to Youtube.
2. If not, the only way is to capture stream from HTML5 video tag canvas (where the stream is displayed). Please read this article, and this doc also.
 
Top