- missed changes
This commit is contained in:
@@ -951,4 +951,4 @@ void AgentImpl::closeAqua(int sessionId)
|
||||
mAquaMap.erase(aquaIter);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -245,3 +245,8 @@ std::string MediaStreamId::getFinishDescription() const
|
||||
return oss.str();
|
||||
}
|
||||
|
||||
std::ostream& operator << (std::ostream& output, const MediaStreamId& id)
|
||||
{
|
||||
return (output << id.toString());
|
||||
}
|
||||
|
||||
|
||||
@@ -87,4 +87,6 @@ struct MediaStreamId
|
||||
std::string getFinishDescription() const;
|
||||
};
|
||||
|
||||
std::ostream& operator << (std::ostream& output, const MediaStreamId& id);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -119,7 +119,7 @@ std::string StringHelper::toHex(unsigned int value)
|
||||
std::string StringHelper::toHex(const void *ptr)
|
||||
{
|
||||
std::ostringstream oss;
|
||||
oss << std::hex << ptr;
|
||||
oss << std::fixed << std::setw(8) << std::setfill('0') << std::hex << ptr;
|
||||
return oss.str();
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,8 @@ set (CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
set (USE_AMR_CODEC OFF CACHE BOOL "Use AMR codec. Requires libraries.")
|
||||
set (USE_EVS_CODEC OFF CACHE BOOL "Use EVS codec." )
|
||||
set (USE_OPUS_CODEC OFF CACHE BOOL "Use Opus codec." )
|
||||
set (USE_SEVANA_LIB OFF CACHE BOOL "Build with Sevana libraries" )
|
||||
set (USE_PVQA_LIB OFF CACHE BOOL "Build with Sevana PVQA library" )
|
||||
set (USE_AQUA_LIB OFF CACHE BOOL "Build with Sevana AQuA library" )
|
||||
|
||||
set (SOURCES
|
||||
MT_Statistics.cpp
|
||||
|
||||
@@ -96,7 +96,7 @@ CodecList::CodecList(const Settings& settings)
|
||||
:mSettings(settings)
|
||||
{
|
||||
//mFactoryList.push_back(new OpusCodec::OpusFactory(16000, 1));
|
||||
#if !defined(TARGET_ANDROID) && defined(USE_OPUS_CODEC)
|
||||
#if defined(USE_OPUS_CODEC)
|
||||
if (settings.mOpusSpec.empty())
|
||||
{
|
||||
mFactoryList.push_back(new OpusCodec::OpusFactory(48000, 2, MT_OPUS_CODEC_PT));
|
||||
|
||||
Reference in New Issue
Block a user