Unable to stream video from Pelco VideoXpert VMS

Max

Administrator
Staff member
Deployed to customer and unfortunately not working there although I suspect a different (likely network) issue.
We checked your report. There is camera RTP traffic in dump, but no any STUN or ICE traffic between playing client and server, just DTLS alert Certificate Unknown. Please check if valid SSL certificates are imported to WCS as described here, and playback is requsted by corresponding domain name.
 

Max

Administrator
Staff member
Good day.
We checked report. Seem like there is a problem with RTSP camera SDP. We raised the ticket WCS-2742 to workaround this. Please provide us either traffic dump collected on server which must include RTSP session establishing phase, or access to RTSP stream for testing.
 

Max

Administrator
Staff member
Hello

We got report related reliability of initial stream

rtsp://XXX.XX.X.XX:554/live?device_id=4277b64a-9bdd-3de2-8b18-1fab0d19802e&transport_type=UDP_UNICAST&stream_type=video&data_encoding_id=primary&data_source_id=4277b64a-9bdd-3de2-8b18-1fab0d19802e%3A1%3Avideo&username=admin

First of all try transport_type=TCP or configure your RTSP source for TCP transport.
TCP should be reliable.

Make sure traffic goes over TCP both for VLC and for WCS.
Code:
tcpdump -w log.pcap
We tried your stream. It does not play in VLC. Just black screen.
If it is playing well in your network, please provide permanent teamviewer access to a PC where VLC playing well + SSH access to server. Then we will be able to debug. Or make sure your stream is available directly from other networks in the public internet.
 

Max

Administrator
Staff member
Please use the Report button or Thread Report Form for further reports.

1591979136991.png


Regarding SSL certificates.

1. Make sure SSL certificates are valid and imported properly.

Option-1.
To validate certificates, please send cert files. We will check.

Option-2.
Try to apply your certificates to nginx or apache server. If the same certs works properly with web servers, it should work with WCS server too.

Option-3.
Try Java keytool to validate wss.jks file or convert to openssl supported format and print certs

The certificate should display properly in the browser security panel.

1591979713720.png
 

Max

Administrator
Staff member
Regarding ICE Failed error. Make sure ports are open.
Using tcpdump and nc tools, you can check if port is really open and accessible via UDP. From your reports we can see that WCS server has connected to the RTSP camera properly. However if you see ICE Failed, then browser can't send/receive UDP traffic to the server.
Here you can see how normal ICE looks https://docs.flashphoner.com/display/WCS52EN/WebRTC#WebRTC-ICEandSTUNtraffic
In your dump we don't see such UDP packets (Binding Request Response).
 

shuey

New Member
As it stands we have rules out flashphoner problem in any remaining issues related to this thread. If any new ones occur will create a new thread. Thanks for your all your help.

Regards,
Scott
 
Top