Skip to content
Discussion options

You must be logged in to vote

Hi,

If you are using the RtspClientExample you will see at line 332 in Program.cs an exemple to get the SPS and PPS

if (args.StreamConfigurationData is H264StreamConfigurationData h264StreamConfigurationData)
{
WriteNalToFile(fs_v, h264StreamConfigurationData.SPS);
WriteNalToFile(fs_v, h264StreamConfigurationData.PPS);
}

They are byte array. They do not contain the 00 00 00 01 NAL header which is sometime needed.

This value come from the SDP response to the DESCRIBE command. you can follow the code in RTSPClient.cs how we get them.
Some camera send the SPS and PPS inn band i.e. in the …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@paulomorgado
Comment options

Answer selected by paulomorgado
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants