mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 12:37:09 +08:00
修正注释
This commit is contained in:
parent
2504b05e7d
commit
8d032a40ec
@ -40,7 +40,7 @@ void RtmpMuxer::addTrack(const Track::Ptr &track) {
|
||||
return;
|
||||
}
|
||||
|
||||
//根据track生产sdp
|
||||
//根据track生产metedata
|
||||
Metedata::Ptr metedate;
|
||||
switch (track->getTrackType()){
|
||||
case TrackVideo:{
|
||||
@ -94,7 +94,7 @@ void RtmpMuxer::inputFrame(const Frame::Ptr &frame) {
|
||||
it->second->inputFrame(frame);
|
||||
|
||||
if(!ready && it->second->ready()){
|
||||
//Track由未就绪状态装换成就绪状态,我们就生成sdp以及Rtmp编码器
|
||||
//Track由未就绪状态装换成就绪状态,我们就生成metedata以及Rtmp编码器
|
||||
auto it_callback = _trackReadyCallback.find(codec_id);
|
||||
if(it_callback != _trackReadyCallback.end()){
|
||||
it_callback->second();
|
||||
|
Loading…
Reference in New Issue
Block a user