Hi @Nikolay Dimitrov ,
Thank you for reaching out! Here are my answers to your questions.
> Does the problem (slow video load) exist when using XProtect Web Client? What about XProtect Mobile Client?
Yes, the slow video load and empty frames also occur when using XProtect Web Client on the 2023R3 server, but not on the 2023R2 server. I’m not familiar with the XProtect Mobile Client.
> Does the problem affect live or playback?
This problem only affects live feed. Playback works fine on the 2023R3 server in the web client. I haven’t tried it in the app.
> If Live - is this applicable on Transcoding, or just Direct Stream?
In XProtect Web Client, Direct Stream gives a 5-8 second lag (including empty frame time). When I switch to transcoding in XProtect Web Client, the lag drops to 3.5-4 seconds. However, in the app, lag stays around 4-5 seconds whether Direct Stream is on or off. (I’m assuming you turn off Direct Stream in the app by setting DirectStreaming to false in XPMobileSDKSettings in XPMobileSDK.js.)
> Does this happen with any camera (e.g. with any codec, FPS, resolution)?
On the 2023R3 server, we have three AXIS Q3536-LVE Dome Cameras connected. Video Stream 1 has Codec- H.265 and Resolution- 2688 x 1512. Video Stream 2 has Codec- H.265 and Resolution- 1280 x 720.
On the 2023R2 server, we have cameras with the following specs. All load fine.
- Camera 1
- Video Stream1: H.265, 6096x2540
- Video Stream2: H.265, 2560x1064
- Camera 2
- Video Stream1: H.264, 2592x1944
- Video Stream2: H.264, 640X480
- Camera 3
- Video Stream1: H.264, 1920x1080
- Video Stream2: H.264, 1280x720
- Camera 4
- Video Stream1: H.264, 1920X1080
- Video Stream2: H.264, 1920X1080
> When exactly is the delay? I guess it’s between the response of RequestStream command and the first (non-empty) frame. Can you confirm?
Yes, the delay occurs just after the RequestStream call. When the first empty frame comes in, I see the following console log in the app: “Server prepared video ID … for camera …”. Then after a second or two, the non-empty frames start coming in. Interestingly enough, there is also a delay on the login call, between the call to log in and the response.
Thanks again for your help!