提交 eebb70fd authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Add comments

上级 afea312a
......@@ -138,6 +138,9 @@ namespace RTC
}
}
/**
* A Transport has been assigned, and hence sending RTP parameters.
*/
void Consumer::Enable(RTC::Transport* transport, RTC::RtpParameters& rtpParameters)
{
MS_TRACE();
......@@ -154,6 +157,10 @@ namespace RTC
CreateRtpStream(this->rtpParameters.encodings[0]);
}
/**
* Called when the Transport assigned to this Consumer has been closed, so this
* Consumer becomes unhandled.
*/
void Consumer::Disable()
{
MS_TRACE();
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论