onvif / testspecs

ONVIF Test Specifications
21 stars 8 forks source link

About Onvif conformance test on JPEG on test items RTSS-1-1-34, RTSS-1-1-35, RTSS-1-1-36 #60

Closed fyspkid closed 4 months ago

fyspkid commented 1 year ago

Hi, We meet a problem on onvif conformance test with onvif devic test tool V.23.06.

We test Onvif test item about JPEG such as RTSS-1-1-34, RTSS-1-1-35, RTSS-1-1-36 and always fail in Waiting 12 frames to 1000ms. It show only 1 or 0 frames captured.

a b

However, we play the streaming in other player such as VLC or ffplay, it show normal.

c

What is the point for JPEG test item to capture frames?

Many thanks

madhurao68 commented 1 year ago

Hello Could you please share the Wireshark logs for investigation? Thanks!

SamForGit commented 1 year ago

Hi madhurao68

update Wireshark log for test item RTSS-1-1-34.

Local computer IP: 192.168.1.190
Test Camera device: 192.168.1.100

Capture_RTSS-1-1-34.zip

madhurao68 commented 1 year ago

Hi madhurao68

update Wireshark log for test item RTSS-1-1-34.

Local computer IP: 192.168.1.190
Test Camera device: 192.168.1.100

Capture_RTSS-1-1-34.zip

We will revert with the findings soon. Thanks for your patience!

SamForGit commented 1 year ago

Hi madhurao68

We are use Live555 to do mjpeg string. We found that when we adjust OutPacketBuffer::maxSize from 3000000 to 64000 The RTSS-1-1-34 test item can pass but VLC play will show some green portion. Why the test item will related to OutPacketBuffer::maxSize?

 if (result.find("mjpeg") != std::string::npos)
    {

    *env << "\nCreate mjpeg options.\n";

    OutPacketBuffer::maxSize = 64000;

    char const* streamName = "streaming";

    char const* inputFileName = "/video";

    ServerMediaSession* sms
      = ServerMediaSession::createNew(*env, streamName, streamName,
                      descriptionString);

    sms->addSubsession(MJPEGVideoFileServerMediaSubsession
               ::createNew(*env, inputFileName, reuseFirstSource));
....

update Wireshark log for test item RTSS-1-1-34.

Local computer IP: 192.168.1.190 
Test Camera device: 192.168.1.100
Snap2 Snap1
SamForGit commented 1 year ago

Update update Wireshark log for test item RTSS-1-1-34. Capture02.zip

madhurao68 commented 11 months ago

Update update Wireshark log for test item RTSS-1-1-34. Capture02.zip

Thanks for the update! We are investigating and will keep you posted. Thanks for your patience!

madhurao68 commented 10 months ago

Hello, Operation Delay is currently set to 1s. Could you please try to increase it to e.g. 60s? Streaming test cases uses this timeout for waiting for packets. If this does not help, we will investigate the logs.