We are trying to send a H264 stream through rtp and trying to not overload socket buffers.
I am trying to reduce the H264 NAL units size by using MaxSliceSize but it does not work.
Which is the way to do that in latest 2016 SDK?
You can find MaxSliceSize in page 95 in Intel® Media SDK Developer Reference, Use Query function to check if this feature is supported.
The query function (MFXVideoENCODE_Query) can be in page 47 in Intel® Media SDK Developer Reference,
Just a thought but you might also want to look at RTP packetization. If you are trying to get down below MTU limits then this might be an easier route to take.
For more complete information about compiler optimizations, see our Optimization Notice.