If we remember correctly, Axis BWC was utilizing edge storage. If so, the video footage needs to be retrieved, please verify that the video footage is retrieved.
Normally, if Smart Client works fine and see image on viewitems, then you should get image via above code same as Smart Client because they are the same.
So, this issue is a big mystery for us. Smart Client works fine and the integration works on your site but not in your customer’s site.
One thing: please make sure to use the correct Recording Server address in your integration.
We have no clue about AXIS BWC logs from AXIS Body Worn Manager, so please ask Axis about it.
Our code is using the correct Recording Server address for both clips (working), and images retrieval (currently not working at two locations only). All other field installations and in-house test server work as expected.
Smart Client is using ImageServer protocol, so it is the same way that you have tried to see images via BWC. This means, if it is possible to see image via Smart Client, you should see image via your methods also.
We think, we should clarify where would be the issue, ImageServer protocol or BWC. Can you please verify to see image when you use another camera? If you can see image using another camera (not BWC), then the BWC might have the cause of the issue.
According to Axis support, the issue is related to BWC not having a DHCP reservation in both locations affected by this issue. We have contacted the customer IT to address this.
Do you believe this could cause the image retrieval not to succeed?