rename numChannels to getChannels and samplingFrequency to getFrequency
This commit is contained in:
parent
b86e7eefbf
commit
53059aebf3
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue