Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
4835634f
提交
4835634f
authored
10月 06, 2017
作者:
Iñaki Baz Castillo
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'producer_setPreferredProfile' into v2
上级
27a83dc8
3b17e1be
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
180 行增加
和
6 行删除
+180
-6
Consumer.js
lib/Consumer.js
+1
-1
Producer.js
lib/Producer.js
+59
-0
Request.hpp
worker/include/Channel/Request.hpp
+1
-0
Consumer.hpp
worker/include/RTC/Consumer.hpp
+19
-1
Producer.hpp
worker/include/RTC/Producer.hpp
+14
-0
Request.cpp
worker/src/Channel/Request.cpp
+1
-0
Consumer.cpp
worker/src/RTC/Consumer.cpp
+21
-4
Router.cpp
worker/src/RTC/Router.cpp
+63
-0
Worker.cpp
worker/src/Worker.cpp
+1
-0
没有找到文件。
lib/Consumer.js
浏览文件 @
4835634f
...
@@ -54,7 +54,7 @@ class Consumer extends EnhancedEventEmitter
...
@@ -54,7 +54,7 @@ class Consumer extends EnhancedEventEmitter
// Preferred profile.
// Preferred profile.
// @type {String}
// @type {String}
this
.
_preferredProfile
=
null
;
this
.
_preferredProfile
=
'default'
;
// Effective profile.
// Effective profile.
// @type {String}
// @type {String}
...
...
lib/Producer.js
浏览文件 @
4835634f
...
@@ -4,6 +4,8 @@ const Logger = require('./Logger');
...
@@ -4,6 +4,8 @@ const Logger = require('./Logger');
const
EnhancedEventEmitter
=
require
(
'./EnhancedEventEmitter'
);
const
EnhancedEventEmitter
=
require
(
'./EnhancedEventEmitter'
);
const
errors
=
require
(
'./errors'
);
const
errors
=
require
(
'./errors'
);
const
PROFILES
=
new
Set
([
'default'
,
'low'
,
'medium'
,
'high'
]);
const
logger
=
new
Logger
(
'Producer'
);
const
logger
=
new
Logger
(
'Producer'
);
class
Producer
extends
EnhancedEventEmitter
class
Producer
extends
EnhancedEventEmitter
...
@@ -45,6 +47,10 @@ class Producer extends EnhancedEventEmitter
...
@@ -45,6 +47,10 @@ class Producer extends EnhancedEventEmitter
// @type {Boolean}
// @type {Boolean}
this
.
_remotelyPaused
=
Boolean
(
options
.
remotelyPaused
);
this
.
_remotelyPaused
=
Boolean
(
options
.
remotelyPaused
);
// Preferred profile.
// @type {String}
this
.
_preferredProfile
=
'default'
;
this
.
_handleTransportEvents
();
this
.
_handleTransportEvents
();
this
.
_handleWorkerNotifications
();
this
.
_handleWorkerNotifications
();
...
@@ -125,6 +131,16 @@ class Producer extends EnhancedEventEmitter
...
@@ -125,6 +131,16 @@ class Producer extends EnhancedEventEmitter
return
this
.
_locallyPaused
||
this
.
_remotelyPaused
;
return
this
.
_locallyPaused
||
this
.
_remotelyPaused
;
}
}
/**
* The preferred profile.
*
* @type {String}
*/
get
preferredProfile
()
{
return
this
.
_preferredProfile
;
}
/**
/**
* Close the Producer.
* Close the Producer.
*
*
...
@@ -395,6 +411,49 @@ class Producer extends EnhancedEventEmitter
...
@@ -395,6 +411,49 @@ class Producer extends EnhancedEventEmitter
this
.
safeEmit
(
'resume'
,
'remote'
,
appData
);
this
.
safeEmit
(
'resume'
,
'remote'
,
appData
);
}
}
/**
* Sets the preferred RTP profile.
*
* @param {String} profile
*/
setPreferredProfile
(
profile
)
{
logger
.
debug
(
'setPreferredProfile() [profile:%s]'
,
profile
);
if
(
this
.
_closed
)
{
logger
.
error
(
'setPreferredProfile() | Producer closed'
);
return
;
}
else
if
(
profile
===
this
.
_preferredProfile
)
{
return
;
}
else
if
(
!
PROFILES
.
has
(
profile
))
{
logger
.
error
(
'setPreferredProfile() | invalid profile "%s"'
,
profile
);
return
;
}
this
.
_channel
.
request
(
'producer.setPreferredProfile'
,
this
.
_internal
,
{
profile
})
.
then
(()
=>
{
logger
.
debug
(
'"producer.setPreferredProfile" request succeeded'
);
this
.
_preferredProfile
=
profile
;
})
.
catch
((
error
)
=>
{
logger
.
error
(
'"producer.setPreferredProfile" request failed: %s'
,
String
(
error
));
});
}
/**
/**
* Change receiving RTP parameters.
* Change receiving RTP parameters.
*
*
...
...
worker/include/Channel/Request.hpp
浏览文件 @
4835634f
...
@@ -39,6 +39,7 @@ namespace Channel
...
@@ -39,6 +39,7 @@ namespace Channel
PRODUCER_UPDATE_RTP_PARAMETERS
,
PRODUCER_UPDATE_RTP_PARAMETERS
,
PRODUCER_PAUSE
,
PRODUCER_PAUSE
,
PRODUCER_RESUME
,
PRODUCER_RESUME
,
PRODUCER_SET_PREFERRED_PROFILE
,
CONSUMER_CLOSE
,
CONSUMER_CLOSE
,
CONSUMER_DUMP
,
CONSUMER_DUMP
,
CONSUMER_ENABLE
,
CONSUMER_ENABLE
,
...
...
worker/include/RTC/Consumer.hpp
浏览文件 @
4835634f
...
@@ -47,10 +47,12 @@ namespace RTC
...
@@ -47,10 +47,12 @@ namespace RTC
void
RemoveProfile
(
const
RTC
::
RtpEncodingParameters
::
Profile
profile
);
void
RemoveProfile
(
const
RTC
::
RtpEncodingParameters
::
Profile
profile
);
void
SourceRtpParametersUpdated
();
void
SourceRtpParametersUpdated
();
void
SetPreferredProfile
(
const
RTC
::
RtpEncodingParameters
::
Profile
profile
);
void
SetPreferredProfile
(
const
RTC
::
RtpEncodingParameters
::
Profile
profile
);
void
SetSourcePreferredProfile
(
const
RTC
::
RtpEncodingParameters
::
Profile
profile
);
void
Disable
();
void
Disable
();
bool
IsEnabled
()
const
;
bool
IsEnabled
()
const
;
const
RTC
::
RtpParameters
&
GetParameters
()
const
;
const
RTC
::
RtpParameters
&
GetParameters
()
const
;
bool
IsPaused
()
const
;
bool
IsPaused
()
const
;
RTC
::
RtpEncodingParameters
::
Profile
GetPreferredProfile
()
const
;
void
SendRtpPacket
(
RTC
::
RtpPacket
*
packet
,
RTC
::
RtpEncodingParameters
::
Profile
profile
);
void
SendRtpPacket
(
RTC
::
RtpPacket
*
packet
,
RTC
::
RtpEncodingParameters
::
Profile
profile
);
void
GetRtcp
(
RTC
::
RTCP
::
CompoundPacket
*
packet
,
uint64_t
now
);
void
GetRtcp
(
RTC
::
RTCP
::
CompoundPacket
*
packet
,
uint64_t
now
);
void
ReceiveNack
(
RTC
::
RTCP
::
FeedbackRtpNackPacket
*
nackPacket
);
void
ReceiveNack
(
RTC
::
RTCP
::
FeedbackRtpNackPacket
*
nackPacket
);
...
@@ -103,11 +105,13 @@ namespace RTC
...
@@ -103,11 +105,13 @@ namespace RTC
bool
syncRequired
{
true
};
bool
syncRequired
{
true
};
// RTP payload descriptor encoding.
// RTP payload descriptor encoding.
std
::
unique_ptr
<
RTC
::
Codecs
::
EncodingContext
>
encodingContext
;
std
::
unique_ptr
<
RTC
::
Codecs
::
EncodingContext
>
encodingContext
;
// RTP profiles.
// RTP profiles.
std
::
set
<
RTC
::
RtpEncodingParameters
::
Profile
>
profiles
;
std
::
set
<
RTC
::
RtpEncodingParameters
::
Profile
>
profiles
;
std
::
map
<
RTC
::
RtpEncodingParameters
::
Profile
,
const
RTC
::
RtpStream
*>
mapProfileRtpStream
;
std
::
map
<
RTC
::
RtpEncodingParameters
::
Profile
,
const
RTC
::
RtpStream
*>
mapProfileRtpStream
;
RTC
::
RtpEncodingParameters
::
Profile
preferredProfile
{
RTC
::
RtpEncodingParameters
::
Profile
::
DEFAULT
};
RTC
::
RtpEncodingParameters
::
Profile
preferredProfile
{
RTC
::
RtpEncodingParameters
::
Profile
::
DEFAULT
};
RTC
::
RtpEncodingParameters
::
Profile
sourcePreferredProfile
{
RTC
::
RtpEncodingParameters
::
Profile
::
DEFAULT
};
RTC
::
RtpEncodingParameters
::
Profile
targetProfile
{
RTC
::
RtpEncodingParameters
::
Profile
::
DEFAULT
};
RTC
::
RtpEncodingParameters
::
Profile
targetProfile
{
RTC
::
RtpEncodingParameters
::
Profile
::
DEFAULT
};
RTC
::
RtpEncodingParameters
::
Profile
effectiveProfile
{
RTC
::
RtpEncodingParameters
::
Profile
::
DEFAULT
};
RTC
::
RtpEncodingParameters
::
Profile
effectiveProfile
{
RTC
::
RtpEncodingParameters
::
Profile
::
DEFAULT
};
RTC
::
RtpEncodingParameters
::
Profile
probingProfile
{
RTC
::
RtpEncodingParameters
::
Profile
::
NONE
};
RTC
::
RtpEncodingParameters
::
Profile
probingProfile
{
RTC
::
RtpEncodingParameters
::
Profile
::
NONE
};
...
@@ -143,6 +147,20 @@ namespace RTC
...
@@ -143,6 +147,20 @@ namespace RTC
return
this
->
paused
||
this
->
sourcePaused
;
return
this
->
paused
||
this
->
sourcePaused
;
}
}
inline
RTC
::
RtpEncodingParameters
::
Profile
Consumer
::
GetPreferredProfile
()
const
{
if
(
this
->
preferredProfile
==
this
->
sourcePreferredProfile
)
return
this
->
preferredProfile
;
if
(
this
->
preferredProfile
==
RTC
::
RtpEncodingParameters
::
Profile
::
DEFAULT
)
return
this
->
sourcePreferredProfile
;
if
(
this
->
sourcePreferredProfile
==
RTC
::
RtpEncodingParameters
::
Profile
::
DEFAULT
)
return
this
->
preferredProfile
;
return
std
::
min
(
this
->
preferredProfile
,
this
->
sourcePreferredProfile
);
}
inline
uint32_t
Consumer
::
GetTransmissionRate
(
uint64_t
now
)
inline
uint32_t
Consumer
::
GetTransmissionRate
(
uint64_t
now
)
{
{
return
this
->
rtpStream
->
GetRate
(
now
)
+
this
->
retransmittedCounter
.
GetRate
(
now
);
return
this
->
rtpStream
->
GetRate
(
now
)
+
this
->
retransmittedCounter
.
GetRate
(
now
);
...
...
worker/include/RTC/Producer.hpp
浏览文件 @
4835634f
...
@@ -60,9 +60,11 @@ namespace RTC
...
@@ -60,9 +60,11 @@ namespace RTC
void
UpdateRtpParameters
(
RTC
::
RtpParameters
&
rtpParameters
);
void
UpdateRtpParameters
(
RTC
::
RtpParameters
&
rtpParameters
);
void
Pause
();
void
Pause
();
void
Resume
();
void
Resume
();
void
SetPreferredProfile
(
const
RTC
::
RtpEncodingParameters
::
Profile
profile
);
const
RTC
::
RtpParameters
&
GetParameters
()
const
;
const
RTC
::
RtpParameters
&
GetParameters
()
const
;
const
struct
RTC
::
Transport
::
HeaderExtensionIds
&
GetTransportHeaderExtensionIds
()
const
;
const
struct
RTC
::
Transport
::
HeaderExtensionIds
&
GetTransportHeaderExtensionIds
()
const
;
bool
IsPaused
()
const
;
bool
IsPaused
()
const
;
RTC
::
RtpEncodingParameters
::
Profile
GetPreferredProfile
()
const
;
void
ReceiveRtpPacket
(
RTC
::
RtpPacket
*
packet
);
void
ReceiveRtpPacket
(
RTC
::
RtpPacket
*
packet
);
void
ReceiveRtcpSenderReport
(
RTC
::
RTCP
::
SenderReport
*
report
);
void
ReceiveRtcpSenderReport
(
RTC
::
RTCP
::
SenderReport
*
report
);
void
GetRtcp
(
RTC
::
RTCP
::
CompoundPacket
*
packet
,
uint64_t
now
);
void
GetRtcp
(
RTC
::
RTCP
::
CompoundPacket
*
packet
,
uint64_t
now
);
...
@@ -122,6 +124,8 @@ namespace RTC
...
@@ -122,6 +124,8 @@ namespace RTC
// Timestamp when last RTCP was sent.
// Timestamp when last RTCP was sent.
uint64_t
lastRtcpSentTime
{
0
};
uint64_t
lastRtcpSentTime
{
0
};
uint16_t
maxRtcpInterval
{
0
};
uint16_t
maxRtcpInterval
{
0
};
// RTP preferred profile.
RTC
::
RtpEncodingParameters
::
Profile
preferredProfile
{
RTC
::
RtpEncodingParameters
::
Profile
::
DEFAULT
};
};
};
/* Inline methods. */
/* Inline methods. */
...
@@ -136,11 +140,21 @@ namespace RTC
...
@@ -136,11 +140,21 @@ namespace RTC
this
->
listeners
.
erase
(
listener
);
this
->
listeners
.
erase
(
listener
);
}
}
inline
void
Producer
::
SetPreferredProfile
(
const
RTC
::
RtpEncodingParameters
::
Profile
profile
)
{
this
->
preferredProfile
=
profile
;
}
inline
const
RTC
::
RtpParameters
&
Producer
::
GetParameters
()
const
inline
const
RTC
::
RtpParameters
&
Producer
::
GetParameters
()
const
{
{
return
this
->
rtpParameters
;
return
this
->
rtpParameters
;
}
}
inline
RTC
::
RtpEncodingParameters
::
Profile
Producer
::
GetPreferredProfile
()
const
{
return
this
->
preferredProfile
;
}
inline
const
struct
RTC
::
Transport
::
HeaderExtensionIds
&
Producer
::
GetTransportHeaderExtensionIds
()
const
inline
const
struct
RTC
::
Transport
::
HeaderExtensionIds
&
Producer
::
GetTransportHeaderExtensionIds
()
const
{
{
return
this
->
transportHeaderExtensionIds
;
return
this
->
transportHeaderExtensionIds
;
...
...
worker/src/Channel/Request.cpp
浏览文件 @
4835634f
...
@@ -34,6 +34,7 @@ namespace Channel
...
@@ -34,6 +34,7 @@ namespace Channel
{
"producer.updateRtpParameters"
,
Request
::
MethodId
::
PRODUCER_UPDATE_RTP_PARAMETERS
},
{
"producer.updateRtpParameters"
,
Request
::
MethodId
::
PRODUCER_UPDATE_RTP_PARAMETERS
},
{
"producer.pause"
,
Request
::
MethodId
::
PRODUCER_PAUSE
},
{
"producer.pause"
,
Request
::
MethodId
::
PRODUCER_PAUSE
},
{
"producer.resume"
,
Request
::
MethodId
::
PRODUCER_RESUME
},
{
"producer.resume"
,
Request
::
MethodId
::
PRODUCER_RESUME
},
{
"producer.setPreferredProfile"
,
Request
::
MethodId
::
PRODUCER_SET_PREFERRED_PROFILE
},
{
"consumer.close"
,
Request
::
MethodId
::
CONSUMER_CLOSE
},
{
"consumer.close"
,
Request
::
MethodId
::
CONSUMER_CLOSE
},
{
"consumer.dump"
,
Request
::
MethodId
::
CONSUMER_DUMP
},
{
"consumer.dump"
,
Request
::
MethodId
::
CONSUMER_DUMP
},
{
"consumer.enable"
,
Request
::
MethodId
::
CONSUMER_ENABLE
},
{
"consumer.enable"
,
Request
::
MethodId
::
CONSUMER_ENABLE
},
...
...
worker/src/RTC/Consumer.cpp
浏览文件 @
4835634f
...
@@ -90,7 +90,7 @@ namespace RTC
...
@@ -90,7 +90,7 @@ namespace RTC
json
[
JsonStringSourcePaused
]
=
this
->
sourcePaused
;
json
[
JsonStringSourcePaused
]
=
this
->
sourcePaused
;
json
[
JsonStringPreferredProfile
]
=
json
[
JsonStringPreferredProfile
]
=
RTC
::
RtpEncodingParameters
::
profile2String
[
this
->
preferredProfile
];
RTC
::
RtpEncodingParameters
::
profile2String
[
GetPreferredProfile
()
];
json
[
JsonStringEffectiveProfile
]
=
json
[
JsonStringEffectiveProfile
]
=
RTC
::
RtpEncodingParameters
::
profile2String
[
this
->
effectiveProfile
];
RTC
::
RtpEncodingParameters
::
profile2String
[
this
->
effectiveProfile
];
...
@@ -331,6 +331,23 @@ namespace RTC
...
@@ -331,6 +331,23 @@ namespace RTC
RecalculateTargetProfile
(
true
/*forcePreferred*/
);
RecalculateTargetProfile
(
true
/*forcePreferred*/
);
}
}
void
Consumer
::
SetSourcePreferredProfile
(
const
RTC
::
RtpEncodingParameters
::
Profile
profile
)
{
MS_TRACE
();
if
(
this
->
sourcePreferredProfile
==
profile
)
return
;
this
->
sourcePreferredProfile
=
profile
;
MS_DEBUG_TAG
(
rtp
,
"source preferred profile set [profile:%s]"
,
RTC
::
RtpEncodingParameters
::
profile2String
[
profile
].
c_str
());
RecalculateTargetProfile
(
true
/*forcePreferred*/
);
}
/**
/**
* Called when the Transport assigned to this Consumer has been closed, so this
* Called when the Transport assigned to this Consumer has been closed, so this
* Consumer becomes unhandled.
* Consumer becomes unhandled.
...
@@ -902,7 +919,7 @@ namespace RTC
...
@@ -902,7 +919,7 @@ namespace RTC
newTargetProfile
=
RtpEncodingParameters
::
Profile
::
DEFAULT
;
newTargetProfile
=
RtpEncodingParameters
::
Profile
::
DEFAULT
;
}
}
// If there is no preferred profile, try the next higher profile.
// If there is no preferred profile, try the next higher profile.
else
if
(
this
->
preferredProfile
==
RTC
::
RtpEncodingParameters
::
Profile
::
DEFAULT
)
else
if
(
GetPreferredProfile
()
==
RTC
::
RtpEncodingParameters
::
Profile
::
DEFAULT
)
{
{
newTargetProfile
=
this
->
effectiveProfile
;
newTargetProfile
=
this
->
effectiveProfile
;
auto
it
=
this
->
profiles
.
upper_bound
(
this
->
effectiveProfile
);
auto
it
=
this
->
profiles
.
upper_bound
(
this
->
effectiveProfile
);
...
@@ -920,7 +937,7 @@ namespace RTC
...
@@ -920,7 +937,7 @@ namespace RTC
{
{
auto
profile
=
*
it
;
auto
profile
=
*
it
;
if
(
profile
<=
this
->
preferredProfile
)
if
(
profile
<=
GetPreferredProfile
()
)
{
{
newTargetProfile
=
profile
;
newTargetProfile
=
profile
;
break
;
break
;
...
@@ -933,7 +950,7 @@ namespace RTC
...
@@ -933,7 +950,7 @@ namespace RTC
newTargetProfile
=
this
->
effectiveProfile
;
newTargetProfile
=
this
->
effectiveProfile
;
auto
it
=
this
->
profiles
.
upper_bound
(
this
->
effectiveProfile
);
auto
it
=
this
->
profiles
.
upper_bound
(
this
->
effectiveProfile
);
if
(
it
!=
this
->
profiles
.
end
()
&&
*
it
<=
this
->
preferredProfile
)
if
(
it
!=
this
->
profiles
.
end
()
&&
*
it
<=
GetPreferredProfile
()
)
newTargetProfile
=
*
it
;
newTargetProfile
=
*
it
;
}
}
...
...
worker/src/RTC/Router.cpp
浏览文件 @
4835634f
...
@@ -508,6 +508,9 @@ namespace RTC
...
@@ -508,6 +508,9 @@ namespace RTC
if
(
producer
->
IsPaused
())
if
(
producer
->
IsPaused
())
consumer
->
SourcePause
();
consumer
->
SourcePause
();
// Provide the preferred RTP profile of the Producer.
consumer
->
SetSourcePreferredProfile
(
producer
->
GetPreferredProfile
());
// Add us as listener.
// Add us as listener.
consumer
->
AddListener
(
this
);
consumer
->
AddListener
(
this
);
...
@@ -1014,6 +1017,66 @@ namespace RTC
...
@@ -1014,6 +1017,66 @@ namespace RTC
break
;
break
;
}
}
case
Channel
:
:
Request
::
MethodId
::
PRODUCER_SET_PREFERRED_PROFILE
:
{
static
const
Json
::
StaticString
JsonStringProfile
{
"profile"
};
RTC
::
Producer
*
producer
;
try
{
producer
=
GetProducerFromRequest
(
request
);
}
catch
(
const
MediaSoupError
&
error
)
{
request
->
Reject
(
error
.
what
());
return
;
}
if
(
!
request
->
data
[
JsonStringProfile
].
isString
())
{
request
->
Reject
(
"missing data.profile"
);
return
;
}
std
::
string
profileStr
=
request
->
data
[
JsonStringProfile
].
asString
();
auto
it
=
RTC
::
RtpEncodingParameters
::
string2Profile
.
find
(
profileStr
);
if
(
it
==
RTC
::
RtpEncodingParameters
::
string2Profile
.
end
())
{
request
->
Reject
(
"unknown profile"
);
return
;
}
auto
profile
=
it
->
second
;
if
(
profile
==
RTC
::
RtpEncodingParameters
::
Profile
::
NONE
)
{
request
->
Reject
(
"invalid profile"
);
return
;
}
if
(
profile
!=
producer
->
GetPreferredProfile
())
{
producer
->
SetPreferredProfile
(
profile
);
auto
&
consumers
=
this
->
mapProducerConsumers
[
producer
];
for
(
auto
*
consumer
:
consumers
)
{
consumer
->
SetSourcePreferredProfile
(
profile
);
}
}
request
->
Accept
();
break
;
}
case
Channel
:
:
Request
::
MethodId
::
CONSUMER_CLOSE
:
case
Channel
:
:
Request
::
MethodId
::
CONSUMER_CLOSE
:
{
{
RTC
::
Consumer
*
consumer
;
RTC
::
Consumer
*
consumer
;
...
...
worker/src/Worker.cpp
浏览文件 @
4835634f
...
@@ -255,6 +255,7 @@ void Worker::OnChannelRequest(Channel::UnixStreamSocket* /*channel*/, Channel::R
...
@@ -255,6 +255,7 @@ void Worker::OnChannelRequest(Channel::UnixStreamSocket* /*channel*/, Channel::R
case
Channel
:
:
Request
::
MethodId
::
PRODUCER_UPDATE_RTP_PARAMETERS
:
case
Channel
:
:
Request
::
MethodId
::
PRODUCER_UPDATE_RTP_PARAMETERS
:
case
Channel
:
:
Request
::
MethodId
::
PRODUCER_PAUSE
:
case
Channel
:
:
Request
::
MethodId
::
PRODUCER_PAUSE
:
case
Channel
:
:
Request
::
MethodId
::
PRODUCER_RESUME
:
case
Channel
:
:
Request
::
MethodId
::
PRODUCER_RESUME
:
case
Channel
:
:
Request
::
MethodId
::
PRODUCER_SET_PREFERRED_PROFILE
:
case
Channel
:
:
Request
::
MethodId
::
CONSUMER_CLOSE
:
case
Channel
:
:
Request
::
MethodId
::
CONSUMER_CLOSE
:
case
Channel
:
:
Request
::
MethodId
::
CONSUMER_DUMP
:
case
Channel
:
:
Request
::
MethodId
::
CONSUMER_DUMP
:
case
Channel
:
:
Request
::
MethodId
::
CONSUMER_ENABLE
:
case
Channel
:
:
Request
::
MethodId
::
CONSUMER_ENABLE
:
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论