std::string strJson =
" 8:31:09.629981 T 1660933888 media_meeting.cpp 45]"
" Destroy MediaMeeting [0x7fce7411cc78], audio_device=(nil), video_device=(nil)";
std::string strCmd;
Json::Reader reader;
Json::Value root;
try {
if (reader.parse(strJson.c_str(), root)) {
strCmd = root["cmd"].asString();
}
} catch(...) {
return;
}