mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 12:37:09 +08:00
rtx ssrc不强制指定
This commit is contained in:
parent
0377796c03
commit
826ec33c2c
@ -1253,11 +1253,15 @@ void RtcMedia::checkValid() const{
|
|||||||
CHECK(!plan.empty() || type == TrackApplication );
|
CHECK(!plan.empty() || type == TrackApplication );
|
||||||
bool send_rtp = (direction == RtpDirection::sendonly || direction == RtpDirection::sendrecv);
|
bool send_rtp = (direction == RtpDirection::sendonly || direction == RtpDirection::sendrecv);
|
||||||
CHECK(!rtp_rtx_ssrc.empty() || !send_rtp);
|
CHECK(!rtp_rtx_ssrc.empty() || !send_rtp);
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
//todo 发现Firefox(88.0)在mac平台下,开启rtx后没有指定ssrc
|
||||||
auto rtx_plan = getPlan("rtx");
|
auto rtx_plan = getPlan("rtx");
|
||||||
if (rtx_plan) {
|
if (rtx_plan) {
|
||||||
//开启rtx后必须指定rtx_ssrc
|
//开启rtx后必须指定rtx_ssrc
|
||||||
CHECK(rtp_rtx_ssrc.size() >= 2 || !send_rtp);
|
CHECK(rtp_rtx_ssrc.size() >= 2 || !send_rtp);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void RtcSession::checkValid() const{
|
void RtcSession::checkValid() const{
|
||||||
|
Loading…
Reference in New Issue
Block a user