mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
修正 gcc 4.8 下编译问题
This commit is contained in:
parent
0b79de9d13
commit
1cba3f4d58
@ -385,10 +385,10 @@ void WebRtcTransportImp::onStartWebRTC() {
|
|||||||
_ssrc_to_track[track->offer_ssrc_rtx] = track;
|
_ssrc_to_track[track->offer_ssrc_rtx] = track;
|
||||||
|
|
||||||
//rtp pt --> MediaTrack
|
//rtp pt --> MediaTrack
|
||||||
_pt_to_track.emplace(track->plan_rtp->pt, new WrappedRtpTrack(track, _twcc_ctx, *this));
|
_pt_to_track.emplace(track->plan_rtp->pt, std::unique_ptr<WrappedMediaTrack>(new WrappedRtpTrack(track, _twcc_ctx, *this)));
|
||||||
if (track->plan_rtx) {
|
if (track->plan_rtx) {
|
||||||
//rtx pt --> MediaTrack
|
//rtx pt --> MediaTrack
|
||||||
_pt_to_track.emplace(track->plan_rtx->pt, new WrappedRtxTrack(track));
|
_pt_to_track.emplace(track->plan_rtx->pt, std::unique_ptr<WrappedMediaTrack>(new WrappedRtxTrack(track)));
|
||||||
}
|
}
|
||||||
if (m_offer->type != TrackApplication) {
|
if (m_offer->type != TrackApplication) {
|
||||||
//记录rtp ext类型与id的关系,方便接收或发送rtp时修改rtp ext id
|
//记录rtp ext类型与id的关系,方便接收或发送rtp时修改rtp ext id
|
||||||
|
Loading…
Reference in New Issue
Block a user