File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ struct RTC_CPP_EXPORT Configuration {
77
77
bool disableAutoNegotiation = false ;
78
78
bool disableAutoGathering = false ;
79
79
bool forceMediaTransport = false ;
80
+ bool skipCheckFingerprint = false ;
80
81
81
82
// Port range
82
83
uint16_t portRangeBegin = 1024 ;
Original file line number Diff line number Diff line change @@ -426,6 +426,9 @@ bool PeerConnection::checkFingerprint(const std::string &fingerprint) const {
426
426
if (!mRemoteDescription || !mRemoteDescription ->fingerprint ())
427
427
return false ;
428
428
429
+ if (config.skipCheckFingerprint )
430
+ return true ;
431
+
429
432
auto expectedFingerprint = mRemoteDescription ->fingerprint ()->value ;
430
433
if (expectedFingerprint == fingerprint) {
431
434
PLOG_VERBOSE << " Valid fingerprint \" " << fingerprint << " \" " ;
You can’t perform that action at this time.
0 commit comments