Include SPS and PPS parameters in Encoded H264 Frames

Hi,

I am trying to Encode YUV data to H264 data.
As I am streaming H264 data I am required to send SPS and PPS parameters.
I have no idea how to stream those parameters after getting from function NVGetSPSPPS.
Can anyone help me out.

Thanks,
Vikram Singh.