mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-04 09:47:33 +08:00
完成PlayerProxy改造
This commit is contained in:
@@ -32,7 +32,9 @@ namespace mediakit {
|
||||
void RtspMuxer::addTrack(const Track::Ptr &track, uint32_t ssrc, int mtu) {
|
||||
auto codec_id = track->getCodecId();
|
||||
_track_map[codec_id] = track;
|
||||
|
||||
if(mtu == 0){
|
||||
mtu = (track->getTrackType() == TrackVideo ? 1400 : 600);
|
||||
}
|
||||
auto lam = [this,ssrc,mtu,track](){
|
||||
//异步生成rtp编码器
|
||||
//根据track生产sdp
|
||||
|
||||
Reference in New Issue
Block a user