rename numChannels to getChannels and samplingFrequency to getFrequency

This commit is contained in:
Isaac Connor 2021-03-01 16:46:02 -05:00
parent b86e7eefbf
commit 53059aebf3
1 changed files with 2 additions and 2 deletions

View File

@ -71,10 +71,10 @@ RTPSink* BaseServerMediaSubsession::createSink(
ADTS_ZoneMinderFifoSource *adts_source = (ADTS_ZoneMinderFifoSource *)(m_replicator->inputSource()); ADTS_ZoneMinderFifoSource *adts_source = (ADTS_ZoneMinderFifoSource *)(m_replicator->inputSource());
sink = MPEG4GenericRTPSink::createNew(env, rtpGroupsock, sink = MPEG4GenericRTPSink::createNew(env, rtpGroupsock,
rtpPayloadTypeIfDynamic, rtpPayloadTypeIfDynamic,
adts_source->samplingFrequency(), adts_source->getFrequency(),
"audio", "AAC-hbr", "audio", "AAC-hbr",
adts_source->configStr(), adts_source->configStr(),
adts_source->numChannels() adts_source->getChannels()
); );
} else { } else {
Error("unknown format"); Error("unknown format");