my rtsp pull not working

br007

New Member
Hello sir
my rtsp url
i make request with rest-api/pull/pull
{
"uri":"ws://138.68.174.225:8080",
"localStreamName":"stream",
"remoteStreamName":"rtsp://202.124.32.81:234"
}

i give my rtsp url with credentail

this rtsp url work well with vls but not with this server can plz describe
what can i do for it
i attach my log file also
# Config flashphoner.properties
# To get more settings:
# ssh -p 2001 admin@localhost
# default password: admin
# show node-settings
# show node-settings | grep port

#server ip
ip =138.68.174.225
ip_local =138.68.174.225

#webrtc ports range
media_port_from =31001
media_port_to =32000

#codecs
codecs =opus,alaw,ulaw,g729,speex16,g722,mpeg4-generic,telephone-event,h264,vp8,flv,mpv
codecs_exclude_sip =mpeg4-generic,flv,mpv
codecs_exclude_streaming =flv,telephone-event
codecs_exclude_sip_rtmp =opus,g729,g722,mpeg4-generic,vp8,mpv

#websocket ports
ws.port =8080
wss.port =8443


wcs_agent_ssl=true
rtmp_transponder_stream_name_prefix=
rtmp_transponder_full_url=true


# pull_streams=rtsp://room:np543876@202.124.32.81:234
#rtsp_client_address=202.124.32.81:234
#rtsp_interleaved_mode=false
#rtsp_interleaved_channels=2-3;0-1

last time about 1 year ago i used your server with same that time its working but this time not working
 

Attachments

Max

Administrator
Staff member
Hello

Your pulling attempt looks incorrect.

Try

/rtsp/startup
{
"uri":"rtsp://myserver.com/live/myStream",
"localStreamName": "myRTSPstream"
}


Then you will be able to play stream "myRTSPstream" or pull this stream from another WCS server if needed.

You can try suppress_audio=true setting to suppress all audio to silence.
 

br007

New Member
hello
i use all the above thing
but still save thing happend
also i used this
/rtsp/startup
/rtsp/startup
{
"uri":"rtsp://202.124.32.81:234",
"localStreamName": "tv1"
}


and i used http://138.68.174.225:8081/rest-api/rtsp/find_all
this one its showing following error
{
"exception": "com.flashphoner.rest.server.exception.NotFoundException",
"path": "/rest-api/rtsp/find_all",
"error": "Not Found",
"message": "NOT FOUND",
"timestamp": 1616126409564,
"status": 404
}
 

br007

New Member
my rtsp source is not wcs server i thnk its a camera
also plz tell me how can i increase rtsp connection time
i thnk my rstp on vls taking some time to start thats why i asking to u
because a sample rtsp i used its working fine
 

Max

Administrator
Staff member
Your RTSP stream source asks for login and password
1616127607065.png

So you should set them to RTSP URL:
Code:
/rtsp/startup
{
"uri":"rtsp://username:password@202.124.32.81:234",
"localStreamName": "tv1"
}
Please read also here
 

br007

New Member
yes i remvoe before i given 2 u

{
"uri":"rtsp://username:password@202.124.32.81:234",
"localStreamName": "tv1"
}

and yes i follow the same with actual user and password but stream not working
 

Max

Administrator
Staff member
Unfortunately, WCS does not support H265 codec. So it cannot capture the stream from you RTSP camera.
We raised the ticket WCS-3106 to add H265 support, but it my take a much time. As workaround, please set up your RTSP camera to broadcast H264 stream.
 
Top