- statistics improved + allow to use virtual microphone AND/OR speaker + minor cleanups
This commit is contained in:
@@ -108,7 +108,7 @@ enum
|
||||
CONFIG_ACCOUNT, // VariantMap with account configuration
|
||||
CONFIG_EXTERNALIP, // Use external/public IP in outgoing requests
|
||||
CONFIG_OWN_DNS, // Use predefined DNS servers
|
||||
CONFIG_REGID // reg-id value from RFC5626
|
||||
CONFIG_REGID // reg-id value from RFC5626,
|
||||
};
|
||||
|
||||
// Conntype parameter for OnSessionEstablished event
|
||||
|
||||
@@ -453,7 +453,7 @@ void Session::getSessionInfo(Session::InfoOptions options, VariantMap& info)
|
||||
|
||||
media = &stream;
|
||||
MT::Statistics s = stream.provider()->getStatistics();
|
||||
info[SessionInfo_NetworkMos] = static_cast<float>(s.calculateMos(4.14));
|
||||
info[SessionInfo_NetworkMos] = static_cast<float>(s.calculateMos());
|
||||
info[SessionInfo_AudioCodec] = s.mCodecName;
|
||||
|
||||
stat += s;
|
||||
|
||||
Reference in New Issue
Block a user