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

Function printRemoteAudioSrtpStuff

src/rtpstream.cpp:342–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342void printRemoteAudioSrtpStuff(SrtpInfoParams &p)
343{
344 if (debugrsrtpafile != nullptr)
345 {
346 pthread_mutex_lock(&debugrsrtpamutex);
347 fprintf(debugrsrtpafile, "found : %d\n", p.found);
348 fprintf(debugrsrtpafile, "primary_cryptotag : %d\n", p.primary_cryptotag);
349 fprintf(debugrsrtpafile, "secondary_cryptotag : %d\n", p.secondary_cryptotag);
350 fprintf(debugrsrtpafile, "primary_cryptosuite : %s\n", p.primary_cryptosuite);
351 fprintf(debugrsrtpafile, "secondary_cryptosuite : %s\n", p.secondary_cryptosuite);
352 fprintf(debugrsrtpafile, "primary_cryptokeyparams : %s\n", p.primary_cryptokeyparams);
353 fprintf(debugrsrtpafile, "secondary_cryptokeyparams : %s\n", p.secondary_cryptokeyparams);
354 fprintf(debugrsrtpafile, "primary_unencrypted_srtp : %d\n", p.primary_unencrypted_srtp);
355 fprintf(debugrsrtpafile, "secondary_unencrypted_srtp: %d\n", p.secondary_unencrypted_srtp);
356 pthread_mutex_unlock(&debugrsrtpamutex);
357 }
358}
359
360void printLocalVideoSrtpStuff(SrtpInfoParams &p)
361{

Calls

no outgoing calls

Tested by

no test coverage detected