In line 363 & 379 of onvifclientmedia.hpp.
The parameter 'profileToken' is not handled. Should be requested to the camera.
I suggest to add the following code to line 379.
SnapshotUriReq.ProfileToken = profileToken;
Some camera do not response correctly without the profileToken.