整理MediaSource派生类代码

This commit is contained in:
xiongziliang
2019-12-25 11:04:12 +08:00
parent bb4e8b73b5
commit 1bfe4937cd
10 changed files with 246 additions and 153 deletions

View File

@@ -438,7 +438,7 @@ void RtmpSession::setMetaData(AMFDecoder &dec) {
}
auto metadata = dec.load<AMFValue>();
// dumpMetadata(metadata);
_pPublisherSrc->onGetMetaData(metadata);
_pPublisherSrc->setMetaData(metadata);
}
void RtmpSession::onProcessCmd(AMFDecoder &dec) {