MCPcopy Create free account
hub / github.com/SIPp/sipp / printLocalVideoSrtpStuff

Function printLocalVideoSrtpStuff

src/rtpstream.cpp:360–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360void printLocalVideoSrtpStuff(SrtpInfoParams &p)
361{
362 if (debuglsrtpvfile != nullptr)
363 {
364 pthread_mutex_lock(&debuglsrtpvmutex);
365 fprintf(debuglsrtpvfile, "found : %d\n", p.found);
366 fprintf(debuglsrtpvfile, "primary_cryptotag : %d\n", p.primary_cryptotag);
367 fprintf(debuglsrtpvfile, "secondary_cryptotag : %d\n", p.secondary_cryptotag);
368 fprintf(debuglsrtpvfile, "primary_cryptosuite : %s\n", p.primary_cryptosuite);
369 fprintf(debuglsrtpvfile, "secondary_cryptosuite : %s\n", p.secondary_cryptosuite);
370 fprintf(debuglsrtpvfile, "primary_cryptokeyparams : %s\n", p.primary_cryptokeyparams);
371 fprintf(debuglsrtpvfile, "secondary_cryptokeyparams : %s\n", p.secondary_cryptokeyparams);
372 fprintf(debuglsrtpvfile, "primary_unencrypted_srtp : %d\n", p.primary_unencrypted_srtp);
373 fprintf(debuglsrtpvfile, "secondary_unencrypted_srtp: %d\n", p.secondary_unencrypted_srtp);
374 pthread_mutex_unlock(&debuglsrtpvmutex);
375 }
376}
377
378void printRemoteVideoSrtpStuff(SrtpInfoParams &p)
379{

Calls

no outgoing calls

Tested by

no test coverage detected