No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

A Blank Screen Occurs on Live Video Images from the Camera that Connects to the Server Through the ONVIF Protocol

Publication Date:  2015-06-23 Views:  33 Downloads:  0
Issue Description
A camera connects to the server through the ONVIF protocol. When you log in to the Space IVS C/S client and enable live video from the camera on the Live Feed tab page, a blank screen occurs. However, when you log in to the camera web page, the live video can be properly played.
Handling Process
Step 1 Check whether the eSpace IVS platform receives media streams sent by the camera.
1. Log in to the OMU portal of the server and enable the debug log function for the DCG.
2. Log in to the server where the camera is connected as the root user.
3. Run the tcpdump -i ethx host deviceIP -s0 -vv -w /home/devicetodcg.pcap command.

 ethx indicates the service network adapter in use, for example, eth0. If you do not know the specific network adapter, you can enter any, indicating that packets of all network adapters are captured. This will result in a too large size of captured packets.
 host deviceIP indicates that only communication packets between the server and the camera whose IP address is the value of deviceIP are captured.
 /home/devicetodcg.pcap indicates the directory where captured packets are stored.
4. Log in to the eSpace IVS C/S client, enable live video from the camera. About 2 minutes later, press Ctrl+C to stop capturing packets.
5. Go to the /home directory and obtain the captured packet devicetodcg.pcap.

To minimize disk usage, run the rm /home/devicetodcg.pcap command to delete devicetodcg.pcap from the server after obtaining it.
6. Use Wireshark to open devicetodcg.pcap and check whether the RTP packet exists in the captured packets.

The packet with the field Inter leaved channel is the RTP packet, as shown in Figure 3-9.
Figure 3-10 RTP packet sent by the camera to the eSpace IVS platform


 If no, contact Huawei technical support engineers.
 If yes, go to the next step.
Step 2 Check whether the captured RTP packet exceeds 1500bytes.

RTSP Interleaved Frame, Channel:0x00, 8000 bytes in Figure 3-9 indicates that the size of the RTP packet is 8000 bytes.
 If yes, contact the device vendor to change the RTP packet size and check whether the fault is rectified.
If the fault is rectified, no further action is required. If the fault persists, go to Step 3.
 If no, go to the next step.
Step 3 Check whether the IP address or port number of media streams sent by the camera to the eSpace IVS platform is the same as that specified during signaling interaction.
1. Go the directory where DCG logs are stored, /home/ivs_dcg/log/debug.
2. Use the SFTP tool to download all debug logs generated during packet capturing to the local computer.
3. Check whether Video business not same exists in the logs.

If Video business not same exists in the logs, the IP address or port number of media streams sent by the camera to the eSpace IVS platform is different from that specified during signaling interaction. Then, the eSpace IVS platform discards the media streams, which results in a blank screen.
 If no, contact Huawei technical support engineers.
 If yes, go to the next step.
4. Check whether the Network Address Translation (NAT) function is enabled when the camera and switch are connected to the network.
 If no, contact Huawei technical support engineers.
 If yes, disable the NAT function and go to the next step.
Step 4 Check whether the fault is rectified.
If the fault is rectified, no further action is required. If the fault persists, contact Huawei technical support engineers.
Root Cause
 The eSpace IVS platform does not receive media streams sent by the camera.
 The size of RTP packets sent by the camera exceeds the size of the buffer where the eSpace IVS platform receives RTP packets.
 The IP address or port number of media streams sent by the camera to the eSpace IVS platform is different from that specified during signaling interaction.

The size of the buffer where the eSpace IVS platform receives RTP packets is 1500 bytes. If the size of RTP packets sent to the eSpace IVS platform exceeds 1500 bytes, the RTP packets will be truncated, which results in data loss.
 If the lost data is media key frames, a blank screen occurs on the live video images.
 If the lost data is non-media key frames, artifacts occur on the live video images.

END