修复mk_track_create创建的track无法初始化复用器的bug(#1784, #1778 )

This commit is contained in:
Dw9
2022-07-07 16:48:35 +08:00
committed by ziyue
parent 2e1a45895a
commit c4988e7cfc
5 changed files with 44 additions and 7 deletions

View File

@@ -27,6 +27,11 @@ public:
*/
static Track::Ptr getTrackBySdp(const SdpTrack::Ptr &track);
/**
* 根据c api 抽象的Track生成具体Track对象
*/
static Track::Ptr getTrackByAbstractTrack(const Track::Ptr& track);
/**
* 根据sdp生成rtp编码器
* @param sdp sdp对象