how to get h264 steam data?

In mip SDK, through imageserverprotocol < alwaysstdjpeg > can set up access to raw data, but set to yes or no, we are get jpeg, how can we gain the h264 steam data from the milestone.

tks.

If the camera is setup to deliver H264 to the recording server you can get the H264 data.

It is important that the image server protocol request is with -

no

To understand the data you get back(and its encapsulation) you might need to consult the “The GenericByteData format” section in the MIP Documentation.

If what you get does not fit a first troubleshooting idea is to compare the requests you make with those made by the various Milestone Clients. You can run the MediaLiveViewer sample (to mention one) and trace the communication using Wireshark and compare the communication from that sample with the communication from your application.