- more work on RTP early decoding

This commit is contained in:
Dmytro Bogovych 2021-09-06 15:00:49 +03:00
parent 23b4283b89
commit 1bfd84ec34
2 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ void AndroidOutputDevice::close()
Format AndroidOutputDevice::getFormat() Format AndroidOutputDevice::getFormat()
{ {
return Format(mDeviceRate, 1); return {mDeviceRate, 1};
} }
bool AndroidOutputDevice::fakeMode() bool AndroidOutputDevice::fakeMode()

View File

@ -216,7 +216,7 @@ RtpBuffer::FetchResult RtpBuffer::fetch(ResultList& rl)
result = FetchResult::NoPacket; result = FetchResult::NoPacket;
else else
{ {
if (mFetchedPacket->rtp()) if (mFetchedPacket)
{ {
if (mPacketList.empty()) if (mPacketList.empty())
{ {