修正注释

This commit is contained in:
xiongziliang 2018-10-25 15:31:41 +08:00
parent 2504b05e7d
commit 8d032a40ec

View File

@ -40,7 +40,7 @@ void RtmpMuxer::addTrack(const Track::Ptr &track) {
return; return;
} }
//根据track生产sdp //根据track生产metedata
Metedata::Ptr metedate; Metedata::Ptr metedate;
switch (track->getTrackType()){ switch (track->getTrackType()){
case TrackVideo:{ case TrackVideo:{
@ -94,7 +94,7 @@ void RtmpMuxer::inputFrame(const Frame::Ptr &frame) {
it->second->inputFrame(frame); it->second->inputFrame(frame);
if(!ready && it->second->ready()){ if(!ready && it->second->ready()){
//Track由未就绪状态装换成就绪状态我们就生成sdp以及Rtmp编码器 //Track由未就绪状态装换成就绪状态我们就生成metedata以及Rtmp编码器
auto it_callback = _trackReadyCallback.find(codec_id); auto it_callback = _trackReadyCallback.find(codec_id);
if(it_callback != _trackReadyCallback.end()){ if(it_callback != _trackReadyCallback.end()){
it_callback->second(); it_callback->second();