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

Function printRemoteVideoSrtpStuff

src/rtpstream.cpp:378–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378void printRemoteVideoSrtpStuff(SrtpInfoParams &p)
379{
380 if (debugrsrtpvfile != nullptr)
381 {
382 pthread_mutex_lock(&debugrsrtpvmutex);
383 fprintf(debugrsrtpvfile, "found : %d\n", p.found);
384 fprintf(debugrsrtpvfile, "primary_cryptotag : %d\n", p.primary_cryptotag);
385 fprintf(debugrsrtpvfile, "secondary_cryptotag : %d\n", p.secondary_cryptotag);
386 fprintf(debugrsrtpvfile, "primary_cryptosuite : %s\n", p.primary_cryptosuite);
387 fprintf(debugrsrtpvfile, "secondary_cryptosuite : %s\n", p.secondary_cryptosuite);
388 fprintf(debugrsrtpvfile, "primary_cryptokeyparams : %s\n", p.primary_cryptokeyparams);
389 fprintf(debugrsrtpvfile, "secondary_cryptokeyparams : %s\n", p.secondary_cryptokeyparams);
390 fprintf(debugrsrtpvfile, "primary_unencrypted_srtp : %d\n", p.primary_unencrypted_srtp);
391 fprintf(debugrsrtpvfile, "secondary_unencrypted_srtp: %d\n", p.secondary_unencrypted_srtp);
392 pthread_mutex_unlock(&debugrsrtpvmutex);
393 }
394}
395#endif // USE_TLS
396
397int set_bit(unsigned long* context, int value)

Calls

no outgoing calls

Tested by

no test coverage detected