提交 9fe70b1c authored 作者: José Luis Millán's avatar José Luis Millán

Fix typo

上级 35c035d0
......@@ -38,7 +38,7 @@ namespace RTC
virtual Json::Value ToJson() = 0;
virtual bool ReceivePacket(RTC::RtpPacket* packet);
uint32_t GetSsrc();
const RTC::RtpCodecMimeType& GetMymeType() const;
const RTC::RtpCodecMimeType& GetMimeType() const;
bool IsHealthy();
protected:
......@@ -83,7 +83,7 @@ namespace RTC
return this->params.ssrc;
}
inline const RTC::RtpCodecMimeType& RtpStream::GetMymeType() const
inline const RTC::RtpCodecMimeType& RtpStream::GetMimeType() const
{
return this->params.mime;
}
......
......@@ -334,8 +334,8 @@ namespace RTC
{
bool isKeyFrame = false;
if (Codecs::IsKnown(this->rtpStream->GetMymeType()) &&
Codecs::IsKeyFrame(this->rtpStream->GetMymeType(), packet))
if (Codecs::IsKnown(this->rtpStream->GetMimeType()) &&
Codecs::IsKeyFrame(this->rtpStream->GetMimeType(), packet))
{
isKeyFrame = true;
......@@ -343,7 +343,7 @@ namespace RTC
RTC::RtpEncodingParameters::profile2String[profile].c_str());
}
if (!Codecs::IsKnown(this->rtpStream->GetMymeType()) || isKeyFrame )
if (!Codecs::IsKnown(this->rtpStream->GetMimeType()) || isKeyFrame)
{
SetEffectiveProfile(this->targetProfile);
......@@ -432,7 +432,11 @@ namespace RTC
packet->GetSsrc(),
packet->GetSequenceNumber());
RetransmitRtpPacket(packet);
// Send the packet.
this->transport->SendRtpPacket(packet);
// Update transmitted RTP data counter.
this->transmittedCounter.Update(packet);
}
}
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论