fixed voip video

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8274 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
electron128 2015-05-19 17:53:11 +00:00
parent 7d324569ca
commit 252424932c

View File

@ -65,7 +65,6 @@ void VOIPGUIHandler::ReceivedVoipData(const QString& qpeer_id)
VOIPChatWidgetHolder *acwh = dynamic_cast<VOIPChatWidgetHolder*>(chatWidgetHolder) ; VOIPChatWidgetHolder *acwh = dynamic_cast<VOIPChatWidgetHolder*>(chatWidgetHolder) ;
if (acwh) { if (acwh) {
for (unsigned int i = 0; i < chunks.size(); ++i) {
for (unsigned int chunkIndex=0; chunkIndex<chunks.size(); chunkIndex++) for (unsigned int chunkIndex=0; chunkIndex<chunks.size(); chunkIndex++)
{ {
QByteArray qb(reinterpret_cast<const char *>(chunks[chunkIndex].data),chunks[chunkIndex].size); QByteArray qb(reinterpret_cast<const char *>(chunks[chunkIndex].data),chunks[chunkIndex].size);
@ -77,7 +76,6 @@ void VOIPGUIHandler::ReceivedVoipData(const QString& qpeer_id)
else else
std::cerr << "VOIPGUIHandler: Unknown data type received. type=" << chunks[chunkIndex].type << std::endl; std::cerr << "VOIPGUIHandler: Unknown data type received. type=" << chunks[chunkIndex].type << std::endl;
} }
}
break; break;
} }
} }