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

Function printLocalAudioSrtpStuff

src/rtpstream.cpp:324–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322
323#ifdef USE_TLS
324void printLocalAudioSrtpStuff(SrtpInfoParams &p)
325{
326 if (debuglsrtpafile != nullptr)
327 {
328 pthread_mutex_lock(&debuglsrtpamutex);
329 fprintf(debuglsrtpafile, "found : %d\n", p.found);
330 fprintf(debuglsrtpafile, "primary_cryptotag : %d\n", p.primary_cryptotag);
331 fprintf(debuglsrtpafile, "secondary_cryptotag : %d\n", p.secondary_cryptotag);
332 fprintf(debuglsrtpafile, "primary_cryptosuite : %s\n", p.primary_cryptosuite);
333 fprintf(debuglsrtpafile, "secondary_cryptosuite : %s\n", p.secondary_cryptosuite);
334 fprintf(debuglsrtpafile, "primary_cryptokeyparams : %s\n", p.primary_cryptokeyparams);
335 fprintf(debuglsrtpafile, "secondary_cryptokeyparams : %s\n", p.secondary_cryptokeyparams);
336 fprintf(debuglsrtpafile, "primary_unencrypted_srtp : %d\n", p.primary_unencrypted_srtp);
337 fprintf(debuglsrtpafile, "secondary_unencrypted_srtp: %d\n", p.secondary_unencrypted_srtp);
338 pthread_mutex_unlock(&debuglsrtpamutex);
339 }
340}
341
342void printRemoteAudioSrtpStuff(SrtpInfoParams &p)
343{

Calls

no outgoing calls

Tested by

no test coverage detected