mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
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:
parent
7d324569ca
commit
252424932c
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user