1
0
mirror of https://github.com/danog/libtgvoip.git synced 2024-11-26 20:24:38 +01:00

Comment out packet reassembler.

This commit is contained in:
John Preston 2019-07-15 14:59:17 +02:00
parent 0e92a22746
commit d4a0f719ff

View File

@ -2389,8 +2389,8 @@ simpleAudioBlock random_id:long random_bytes:string raw_data:string = DecryptedA
stm->decoder=NULL;
}else if(stm->type==STREAM_TYPE_VIDEO){
if(!stm->packetReassembler){
stm->packetReassembler=make_shared<PacketReassembler>();
stm->packetReassembler->SetCallback(bind(&VoIPController::ProcessIncomingVideoFrame, this, placeholders::_1, placeholders::_2, placeholders::_3));
//stm->packetReassembler=make_shared<PacketReassembler>();
//stm->packetReassembler->SetCallback(bind(&VoIPController::ProcessIncomingVideoFrame, this, placeholders::_1, placeholders::_2, placeholders::_3));
}
}else{
LOGW("Unknown incoming stream type: %d", stm->type);