>> Using the library, what is the most efficient way to get access to the H.264 >> portion of the stream > > >>Because this is a Frequently Asked Question, I have now added an entry for > >>it to the FAQ. See: > >>http://www.live555.com/liveMedia/faq.html#testRTSPClient-how-to-decode-data > > Re-reading your explanation above, in my ContinueAfterSETUP method, should I > do the following: > > unsigned n_records=0; > const char* sps = scs.subsession->fmtp_spropparametersets(); > SPropRecord* pSPropRecord = parseSPropParameterSets( sps, n_records ); > > Now what do I send to my downstream decoder ??
Do something like: for (unsigned i = 0; i < n_records; ++i) { pass the NAL unit pointed to by "psPropRecord[i]->sPropBytes" (of length "psPropRecord[i]->sPropLength") to your decoder } delete[] psPropRecord; Ross Finlayson Live Networks, Inc. http://www.live555.com/
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel