Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
baea9fad
提交
baea9fad
authored
4月 04, 2019
作者:
José Luis Millán
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Use more specific signatures in producer methods
上级
e5e4515e
显示空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
38 行增加
和
37 行删除
+38
-37
Consumer.hpp
worker/include/RTC/Consumer.hpp
+4
-5
PipeConsumer.hpp
worker/include/RTC/PipeConsumer.hpp
+3
-3
Producer.hpp
worker/include/RTC/Producer.hpp
+2
-3
Router.hpp
worker/include/RTC/Router.hpp
+2
-2
SimpleConsumer.hpp
worker/include/RTC/SimpleConsumer.hpp
+3
-3
SimulcastConsumer.hpp
worker/include/RTC/SimulcastConsumer.hpp
+3
-3
Transport.hpp
worker/include/RTC/Transport.hpp
+4
-4
PipeConsumer.cpp
worker/src/RTC/PipeConsumer.cpp
+3
-3
Producer.cpp
worker/src/RTC/Producer.cpp
+1
-1
Router.cpp
worker/src/RTC/Router.cpp
+5
-2
SimpleConsumer.cpp
worker/src/RTC/SimpleConsumer.cpp
+3
-3
SimulcastConsumer.cpp
worker/src/RTC/SimulcastConsumer.cpp
+3
-3
Transport.cpp
worker/src/RTC/Transport.cpp
+2
-2
没有找到文件。
worker/include/RTC/Consumer.hpp
浏览文件 @
baea9fad
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
#include "RTC/RtpDictionaries.hpp"
#include "RTC/RtpDictionaries.hpp"
#include "RTC/RtpHeaderExtensionIds.hpp"
#include "RTC/RtpHeaderExtensionIds.hpp"
#include "RTC/RtpPacket.hpp"
#include "RTC/RtpPacket.hpp"
#include "RTC/RtpStream.hpp"
#include "RTC/RtpStream
Recv
.hpp"
#include <string>
#include <string>
#include <unordered_set>
#include <unordered_set>
#include <vector>
#include <vector>
...
@@ -55,10 +55,9 @@ namespace RTC
...
@@ -55,10 +55,9 @@ namespace RTC
virtual
uint32_t
UseBandwidth
(
uint32_t
availableBandwidth
)
=
0
;
virtual
uint32_t
UseBandwidth
(
uint32_t
availableBandwidth
)
=
0
;
void
ProducerPaused
();
void
ProducerPaused
();
void
ProducerResumed
();
void
ProducerResumed
();
// TODO: Update signature to RTC::RtpStreamRecv.
virtual
void
ProducerRtpStream
(
RTC
::
RtpStreamRecv
*
rtpStream
,
uint32_t
mappedSsrc
)
=
0
;
virtual
void
ProducerRtpStream
(
RTC
::
RtpStream
*
rtpStream
,
uint32_t
mappedSsrc
)
=
0
;
virtual
void
ProducerNewRtpStream
(
RTC
::
RtpStreamRecv
*
rtpStream
,
uint32_t
mappedSsrc
)
=
0
;
virtual
void
ProducerNewRtpStream
(
RTC
::
RtpStream
*
rtpStream
,
uint32_t
mappedSsrc
)
=
0
;
virtual
void
ProducerRtpStreamScore
(
RTC
::
RtpStreamRecv
*
rtpStream
,
uint8_t
score
)
=
0
;
virtual
void
ProducerRtpStreamScore
(
RTC
::
RtpStream
*
rtpStream
,
uint8_t
score
)
=
0
;
void
ProducerClosed
();
void
ProducerClosed
();
virtual
void
SendRtpPacket
(
RTC
::
RtpPacket
*
packet
)
=
0
;
virtual
void
SendRtpPacket
(
RTC
::
RtpPacket
*
packet
)
=
0
;
virtual
void
GetRtcp
(
RTC
::
RTCP
::
CompoundPacket
*
packet
,
uint64_t
now
)
=
0
;
virtual
void
GetRtcp
(
RTC
::
RTCP
::
CompoundPacket
*
packet
,
uint64_t
now
)
=
0
;
...
...
worker/include/RTC/PipeConsumer.hpp
浏览文件 @
baea9fad
...
@@ -18,9 +18,9 @@ namespace RTC
...
@@ -18,9 +18,9 @@ namespace RTC
void
FillJsonScore
(
json
&
jsonObject
)
const
override
;
void
FillJsonScore
(
json
&
jsonObject
)
const
override
;
void
HandleRequest
(
Channel
::
Request
*
request
)
override
;
void
HandleRequest
(
Channel
::
Request
*
request
)
override
;
uint32_t
UseBandwidth
(
uint32_t
availableBandwidth
)
override
;
uint32_t
UseBandwidth
(
uint32_t
availableBandwidth
)
override
;
void
ProducerRtpStream
(
RTC
::
RtpStream
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
void
ProducerRtpStream
(
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
void
ProducerNewRtpStream
(
RTC
::
RtpStream
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
void
ProducerNewRtpStream
(
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
void
ProducerRtpStreamScore
(
RTC
::
RtpStream
*
rtpStream
,
uint8_t
score
)
override
;
void
ProducerRtpStreamScore
(
RTC
::
RtpStream
Recv
*
rtpStream
,
uint8_t
score
)
override
;
void
SendRtpPacket
(
RTC
::
RtpPacket
*
packet
)
override
;
void
SendRtpPacket
(
RTC
::
RtpPacket
*
packet
)
override
;
void
GetRtcp
(
RTC
::
RTCP
::
CompoundPacket
*
packet
,
uint64_t
now
)
override
;
void
GetRtcp
(
RTC
::
RTCP
::
CompoundPacket
*
packet
,
uint64_t
now
)
override
;
void
NeedWorstRemoteFractionLost
(
uint32_t
mappedSsrc
,
uint8_t
&
worstRemoteFractionLost
)
override
;
void
NeedWorstRemoteFractionLost
(
uint32_t
mappedSsrc
,
uint8_t
&
worstRemoteFractionLost
)
override
;
...
...
worker/include/RTC/Producer.hpp
浏览文件 @
baea9fad
...
@@ -11,7 +11,6 @@
...
@@ -11,7 +11,6 @@
#include "RTC/RtpDictionaries.hpp"
#include "RTC/RtpDictionaries.hpp"
#include "RTC/RtpHeaderExtensionIds.hpp"
#include "RTC/RtpHeaderExtensionIds.hpp"
#include "RTC/RtpPacket.hpp"
#include "RTC/RtpPacket.hpp"
#include "RTC/RtpStream.hpp"
#include "RTC/RtpStreamRecv.hpp"
#include "RTC/RtpStreamRecv.hpp"
#include <map>
#include <map>
#include <string>
#include <string>
...
@@ -28,9 +27,9 @@ namespace RTC
...
@@ -28,9 +27,9 @@ namespace RTC
virtual
void
OnProducerPaused
(
RTC
::
Producer
*
producer
)
=
0
;
virtual
void
OnProducerPaused
(
RTC
::
Producer
*
producer
)
=
0
;
virtual
void
OnProducerResumed
(
RTC
::
Producer
*
producer
)
=
0
;
virtual
void
OnProducerResumed
(
RTC
::
Producer
*
producer
)
=
0
;
virtual
void
OnProducerNewRtpStream
(
virtual
void
OnProducerNewRtpStream
(
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
*
rtpStream
,
uint32_t
mappedSsrc
)
=
0
;
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
mappedSsrc
)
=
0
;
virtual
void
OnProducerRtpStreamScore
(
virtual
void
OnProducerRtpStreamScore
(
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
*
rtpStream
,
uint8_t
score
)
=
0
;
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
Recv
*
rtpStream
,
uint8_t
score
)
=
0
;
virtual
void
OnProducerRtpPacketReceived
(
RTC
::
Producer
*
producer
,
RTC
::
RtpPacket
*
packet
)
=
0
;
virtual
void
OnProducerRtpPacketReceived
(
RTC
::
Producer
*
producer
,
RTC
::
RtpPacket
*
packet
)
=
0
;
virtual
void
OnProducerSendRtcpPacket
(
RTC
::
Producer
*
producer
,
RTC
::
RTCP
::
Packet
*
packet
)
=
0
;
virtual
void
OnProducerSendRtcpPacket
(
RTC
::
Producer
*
producer
,
RTC
::
RTCP
::
Packet
*
packet
)
=
0
;
virtual
void
OnProducerNeedWorstRemoteFractionLost
(
virtual
void
OnProducerNeedWorstRemoteFractionLost
(
...
...
worker/include/RTC/Router.hpp
浏览文件 @
baea9fad
...
@@ -44,7 +44,7 @@ namespace RTC
...
@@ -44,7 +44,7 @@ namespace RTC
void
OnTransportProducerNewRtpStream
(
void
OnTransportProducerNewRtpStream
(
RTC
::
Transport
*
transport
,
RTC
::
Transport
*
transport
,
RTC
::
Producer
*
producer
,
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
*
rtpStream
,
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
uint32_t
mappedSsrc
)
override
;
void
OnTransportProducerRtpPacketReceived
(
void
OnTransportProducerRtpPacketReceived
(
RTC
::
Transport
*
transport
,
RTC
::
Producer
*
producer
,
RTC
::
RtpPacket
*
packet
)
override
;
RTC
::
Transport
*
transport
,
RTC
::
Producer
*
producer
,
RTC
::
RtpPacket
*
packet
)
override
;
...
@@ -56,7 +56,7 @@ namespace RTC
...
@@ -56,7 +56,7 @@ namespace RTC
void
OnTransportProducerRtpStreamScore
(
void
OnTransportProducerRtpStreamScore
(
RTC
::
Transport
*
transport
,
RTC
::
Transport
*
transport
,
RTC
::
Producer
*
producer
,
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
*
rtpStream
,
RTC
::
RtpStream
Recv
*
rtpStream
,
uint8_t
score
)
override
;
uint8_t
score
)
override
;
void
OnTransportNewConsumer
(
void
OnTransportNewConsumer
(
RTC
::
Transport
*
transport
,
RTC
::
Consumer
*
consumer
,
std
::
string
&
producerId
)
override
;
RTC
::
Transport
*
transport
,
RTC
::
Consumer
*
consumer
,
std
::
string
&
producerId
)
override
;
...
...
worker/include/RTC/SimpleConsumer.hpp
浏览文件 @
baea9fad
...
@@ -19,9 +19,9 @@ namespace RTC
...
@@ -19,9 +19,9 @@ namespace RTC
void
FillJsonScore
(
json
&
jsonObject
)
const
override
;
void
FillJsonScore
(
json
&
jsonObject
)
const
override
;
void
HandleRequest
(
Channel
::
Request
*
request
)
override
;
void
HandleRequest
(
Channel
::
Request
*
request
)
override
;
uint32_t
UseBandwidth
(
uint32_t
availableBandwidth
)
override
;
uint32_t
UseBandwidth
(
uint32_t
availableBandwidth
)
override
;
void
ProducerRtpStream
(
RTC
::
RtpStream
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
void
ProducerRtpStream
(
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
void
ProducerNewRtpStream
(
RTC
::
RtpStream
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
void
ProducerNewRtpStream
(
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
void
ProducerRtpStreamScore
(
RTC
::
RtpStream
*
rtpStream
,
uint8_t
score
)
override
;
void
ProducerRtpStreamScore
(
RTC
::
RtpStream
Recv
*
rtpStream
,
uint8_t
score
)
override
;
void
SendRtpPacket
(
RTC
::
RtpPacket
*
packet
)
override
;
void
SendRtpPacket
(
RTC
::
RtpPacket
*
packet
)
override
;
void
GetRtcp
(
RTC
::
RTCP
::
CompoundPacket
*
packet
,
uint64_t
now
)
override
;
void
GetRtcp
(
RTC
::
RTCP
::
CompoundPacket
*
packet
,
uint64_t
now
)
override
;
void
NeedWorstRemoteFractionLost
(
uint32_t
mappedSsrc
,
uint8_t
&
worstRemoteFractionLost
)
override
;
void
NeedWorstRemoteFractionLost
(
uint32_t
mappedSsrc
,
uint8_t
&
worstRemoteFractionLost
)
override
;
...
...
worker/include/RTC/SimulcastConsumer.hpp
浏览文件 @
baea9fad
...
@@ -20,9 +20,9 @@ namespace RTC
...
@@ -20,9 +20,9 @@ namespace RTC
void
FillJsonScore
(
json
&
jsonObject
)
const
override
;
void
FillJsonScore
(
json
&
jsonObject
)
const
override
;
void
HandleRequest
(
Channel
::
Request
*
request
)
override
;
void
HandleRequest
(
Channel
::
Request
*
request
)
override
;
uint32_t
UseBandwidth
(
uint32_t
availableBandwidth
)
override
;
uint32_t
UseBandwidth
(
uint32_t
availableBandwidth
)
override
;
void
ProducerRtpStream
(
RTC
::
RtpStream
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
void
ProducerRtpStream
(
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
void
ProducerNewRtpStream
(
RTC
::
RtpStream
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
void
ProducerNewRtpStream
(
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
void
ProducerRtpStreamScore
(
RTC
::
RtpStream
*
rtpStream
,
uint8_t
score
)
override
;
void
ProducerRtpStreamScore
(
RTC
::
RtpStream
Recv
*
rtpStream
,
uint8_t
score
)
override
;
void
SendRtpPacket
(
RTC
::
RtpPacket
*
packet
)
override
;
void
SendRtpPacket
(
RTC
::
RtpPacket
*
packet
)
override
;
void
GetRtcp
(
RTC
::
RTCP
::
CompoundPacket
*
packet
,
uint64_t
now
)
override
;
void
GetRtcp
(
RTC
::
RTCP
::
CompoundPacket
*
packet
,
uint64_t
now
)
override
;
void
NeedWorstRemoteFractionLost
(
uint32_t
mappedSsrc
,
uint8_t
&
worstRemoteFractionLost
)
override
;
void
NeedWorstRemoteFractionLost
(
uint32_t
mappedSsrc
,
uint8_t
&
worstRemoteFractionLost
)
override
;
...
...
worker/include/RTC/Transport.hpp
浏览文件 @
baea9fad
...
@@ -35,12 +35,12 @@ namespace RTC
...
@@ -35,12 +35,12 @@ namespace RTC
virtual
void
OnTransportProducerNewRtpStream
(
virtual
void
OnTransportProducerNewRtpStream
(
RTC
::
Transport
*
transport
,
RTC
::
Transport
*
transport
,
RTC
::
Producer
*
producer
,
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
*
rtpStream
,
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
mappedSsrc
)
=
0
;
uint32_t
mappedSsrc
)
=
0
;
virtual
void
OnTransportProducerRtpStreamScore
(
virtual
void
OnTransportProducerRtpStreamScore
(
RTC
::
Transport
*
transport
,
RTC
::
Transport
*
transport
,
RTC
::
Producer
*
producer
,
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
*
rtpStream
,
RTC
::
RtpStream
Recv
*
rtpStream
,
uint8_t
score
)
=
0
;
uint8_t
score
)
=
0
;
virtual
void
OnTransportProducerRtpPacketReceived
(
virtual
void
OnTransportProducerRtpPacketReceived
(
RTC
::
Transport
*
transport
,
RTC
::
Producer
*
producer
,
RTC
::
RtpPacket
*
packet
)
=
0
;
RTC
::
Transport
*
transport
,
RTC
::
Producer
*
producer
,
RTC
::
RtpPacket
*
packet
)
=
0
;
...
@@ -101,9 +101,9 @@ namespace RTC
...
@@ -101,9 +101,9 @@ namespace RTC
void
OnProducerPaused
(
RTC
::
Producer
*
producer
)
override
;
void
OnProducerPaused
(
RTC
::
Producer
*
producer
)
override
;
void
OnProducerResumed
(
RTC
::
Producer
*
producer
)
override
;
void
OnProducerResumed
(
RTC
::
Producer
*
producer
)
override
;
void
OnProducerNewRtpStream
(
void
OnProducerNewRtpStream
(
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
mappedSsrc
)
override
;
void
OnProducerRtpStreamScore
(
void
OnProducerRtpStreamScore
(
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
*
rtpStream
,
uint8_t
score
)
override
;
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
Recv
*
rtpStream
,
uint8_t
score
)
override
;
void
OnProducerRtpPacketReceived
(
RTC
::
Producer
*
producer
,
RTC
::
RtpPacket
*
packet
)
override
;
void
OnProducerRtpPacketReceived
(
RTC
::
Producer
*
producer
,
RTC
::
RtpPacket
*
packet
)
override
;
void
OnProducerSendRtcpPacket
(
RTC
::
Producer
*
producer
,
RTC
::
RTCP
::
Packet
*
packet
)
override
;
void
OnProducerSendRtcpPacket
(
RTC
::
Producer
*
producer
,
RTC
::
RTCP
::
Packet
*
packet
)
override
;
void
OnProducerNeedWorstRemoteFractionLost
(
void
OnProducerNeedWorstRemoteFractionLost
(
...
...
worker/src/RTC/PipeConsumer.cpp
浏览文件 @
baea9fad
...
@@ -90,21 +90,21 @@ namespace RTC
...
@@ -90,21 +90,21 @@ namespace RTC
return
0
;
return
0
;
}
}
void
PipeConsumer
::
ProducerRtpStream
(
RTC
::
RtpStream
*
/*rtpStream*/
,
uint32_t
/*mappedSsrc*/
)
void
PipeConsumer
::
ProducerRtpStream
(
RTC
::
RtpStream
Recv
*
/*rtpStream*/
,
uint32_t
/*mappedSsrc*/
)
{
{
MS_TRACE
();
MS_TRACE
();
// Do nothing.
// Do nothing.
}
}
void
PipeConsumer
::
ProducerNewRtpStream
(
RTC
::
RtpStream
*
/*rtpStream*/
,
uint32_t
/*mappedSsrc*/
)
void
PipeConsumer
::
ProducerNewRtpStream
(
RTC
::
RtpStream
Recv
*
/*rtpStream*/
,
uint32_t
/*mappedSsrc*/
)
{
{
MS_TRACE
();
MS_TRACE
();
// Do nothing.
// Do nothing.
}
}
void
PipeConsumer
::
ProducerRtpStreamScore
(
RTC
::
RtpStream
*
/*rtpStream*/
,
uint8_t
/*score*/
)
void
PipeConsumer
::
ProducerRtpStreamScore
(
RTC
::
RtpStream
Recv
*
/*rtpStream*/
,
uint8_t
/*score*/
)
{
{
MS_TRACE
();
MS_TRACE
();
...
...
worker/src/RTC/Producer.cpp
浏览文件 @
baea9fad
...
@@ -972,7 +972,7 @@ namespace RTC
...
@@ -972,7 +972,7 @@ namespace RTC
MS_TRACE
();
MS_TRACE
();
// Notify the listener.
// Notify the listener.
this
->
listener
->
OnProducerRtpStreamScore
(
this
,
rtpStream
,
score
);
this
->
listener
->
OnProducerRtpStreamScore
(
this
,
static_cast
<
RTC
::
RtpStreamRecv
*>
(
rtpStream
)
,
score
);
// Emit the score event.
// Emit the score event.
EmitScore
();
EmitScore
();
...
...
worker/src/RTC/Router.cpp
浏览文件 @
baea9fad
...
@@ -549,7 +549,10 @@ namespace RTC
...
@@ -549,7 +549,10 @@ namespace RTC
}
}
inline
void
Router
::
OnTransportProducerNewRtpStream
(
inline
void
Router
::
OnTransportProducerNewRtpStream
(
RTC
::
Transport
*
/*transport*/
,
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
*
rtpStream
,
uint32_t
mappedSsrc
)
RTC
::
Transport
*
/*transport*/
,
RTC
::
Producer
*
producer
,
RTC
::
RtpStreamRecv
*
rtpStream
,
uint32_t
mappedSsrc
)
{
{
MS_TRACE
();
MS_TRACE
();
...
@@ -562,7 +565,7 @@ namespace RTC
...
@@ -562,7 +565,7 @@ namespace RTC
}
}
inline
void
Router
::
OnTransportProducerRtpStreamScore
(
inline
void
Router
::
OnTransportProducerRtpStreamScore
(
RTC
::
Transport
*
/*transport*/
,
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
*
rtpStream
,
uint8_t
score
)
RTC
::
Transport
*
/*transport*/
,
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
Recv
*
rtpStream
,
uint8_t
score
)
{
{
MS_TRACE
();
MS_TRACE
();
...
...
worker/src/RTC/SimpleConsumer.cpp
浏览文件 @
baea9fad
...
@@ -109,7 +109,7 @@ namespace RTC
...
@@ -109,7 +109,7 @@ namespace RTC
return
0
;
return
0
;
}
}
void
SimpleConsumer
::
ProducerRtpStream
(
RTC
::
RtpStream
*
rtpStream
,
uint32_t
/*mappedSsrc*/
)
void
SimpleConsumer
::
ProducerRtpStream
(
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
/*mappedSsrc*/
)
{
{
MS_TRACE
();
MS_TRACE
();
...
@@ -119,7 +119,7 @@ namespace RTC
...
@@ -119,7 +119,7 @@ namespace RTC
EmitScore
();
EmitScore
();
}
}
void
SimpleConsumer
::
ProducerNewRtpStream
(
RTC
::
RtpStream
*
rtpStream
,
uint32_t
/*mappedSsrc*/
)
void
SimpleConsumer
::
ProducerNewRtpStream
(
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
/*mappedSsrc*/
)
{
{
MS_TRACE
();
MS_TRACE
();
...
@@ -136,7 +136,7 @@ namespace RTC
...
@@ -136,7 +136,7 @@ namespace RTC
EmitScore
();
EmitScore
();
}
}
void
SimpleConsumer
::
ProducerRtpStreamScore
(
RTC
::
RtpStream
*
/*rtpStream*/
,
uint8_t
/*score*/
)
void
SimpleConsumer
::
ProducerRtpStreamScore
(
RTC
::
RtpStream
Recv
*
/*rtpStream*/
,
uint8_t
/*score*/
)
{
{
MS_TRACE
();
MS_TRACE
();
...
...
worker/src/RTC/SimulcastConsumer.cpp
浏览文件 @
baea9fad
...
@@ -209,7 +209,7 @@ namespace RTC
...
@@ -209,7 +209,7 @@ namespace RTC
return
0
;
return
0
;
}
}
void
SimulcastConsumer
::
ProducerRtpStream
(
RTC
::
RtpStream
*
rtpStream
,
uint32_t
mappedSsrc
)
void
SimulcastConsumer
::
ProducerRtpStream
(
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
mappedSsrc
)
{
{
MS_TRACE
();
MS_TRACE
();
...
@@ -225,7 +225,7 @@ namespace RTC
...
@@ -225,7 +225,7 @@ namespace RTC
EmitScore
();
EmitScore
();
}
}
void
SimulcastConsumer
::
ProducerNewRtpStream
(
RTC
::
RtpStream
*
rtpStream
,
uint32_t
mappedSsrc
)
void
SimulcastConsumer
::
ProducerNewRtpStream
(
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
mappedSsrc
)
{
{
MS_TRACE
();
MS_TRACE
();
...
@@ -263,7 +263,7 @@ namespace RTC
...
@@ -263,7 +263,7 @@ namespace RTC
EmitScore
();
EmitScore
();
}
}
void
SimulcastConsumer
::
ProducerRtpStreamScore
(
RTC
::
RtpStream
*
/*rtpStream*/
,
uint8_t
/*score*/
)
void
SimulcastConsumer
::
ProducerRtpStreamScore
(
RTC
::
RtpStream
Recv
*
/*rtpStream*/
,
uint8_t
/*score*/
)
{
{
MS_TRACE
();
MS_TRACE
();
...
...
worker/src/RTC/Transport.cpp
浏览文件 @
baea9fad
...
@@ -826,7 +826,7 @@ namespace RTC
...
@@ -826,7 +826,7 @@ namespace RTC
}
}
inline
void
Transport
::
OnProducerNewRtpStream
(
inline
void
Transport
::
OnProducerNewRtpStream
(
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
*
rtpStream
,
uint32_t
mappedSsrc
)
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
Recv
*
rtpStream
,
uint32_t
mappedSsrc
)
{
{
MS_TRACE
();
MS_TRACE
();
...
@@ -834,7 +834,7 @@ namespace RTC
...
@@ -834,7 +834,7 @@ namespace RTC
}
}
inline
void
Transport
::
OnProducerRtpStreamScore
(
inline
void
Transport
::
OnProducerRtpStreamScore
(
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
*
rtpStream
,
uint8_t
score
)
RTC
::
Producer
*
producer
,
RTC
::
RtpStream
Recv
*
rtpStream
,
uint8_t
score
)
{
{
MS_TRACE
();
MS_TRACE
();
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论