Fix error caused by type 'long' has difference size in difference platforms

This commit is contained in:
dijunkun
2023-10-07 14:43:33 +08:00
parent 0a7dd291f1
commit 678b38049e
3 changed files with 7 additions and 7 deletions

View File

@@ -276,8 +276,8 @@ int IceTransmission::SendData(DATA_TYPE type, const char *data, size_t size) {
if (rtp_data_sender_) {
if (data_rtp_codec_) {
data_rtp_codec_->Encode((uint8_t *)data, size, packets);
rtp_data_sender_->Enqueue(packets);
}
rtp_data_sender_->Enqueue(packets);
}
}
}