WebRtcVoiceMediaChannel中的方法与上层的调用关系setRemote
2016-11-18 16:17:24 0 举报
WebRtcVoiceMediaChannel中的setRemote方法用于设置远程音频流。当上层调用此方法时,它会将一个RTCRtpReceiver对象作为参数传递,该对象表示远程音频流的接收器。在WebRtcVoiceMediaChannel内部,这个方法会将传入的RTCRtpReceiver对象与本地的音频流进行关联,从而实现远程音频流的接收和处理。这样,上层就可以通过WebRtcVoiceMediaChannel与远程端进行音频通信。总之,setRemote方法是WebRtcVoiceMediaChannel中用于处理远程音频流的关键方法,它使得上层能够方便地与远程端进行音频交互。
作者其他创作
大纲/内容
11
bool WebRtcVoiceMediaChannel::AddRecvStream(const StreamParams& sp)
12
3
bool VoiceChannel::GetStats(VoiceMediaInfo* stats)
9
7
voidStatsCollector::UpdateStats(PeerConnectionInterface::StatsOutputLevel level)
void VoiceChannel::ChangeState()
void BaseChannel::EnableMedia_w()
5
bool WebRtcVoiceMediaChannel::SetSendBitrateInternal(int bps)
void StatsCollector::ExtractVoiceInfo()
bool WebRtcVoiceMediaChannel::ChangeSend(SendFlags send)
bool WebRtcVoiceMediaChannel::SetOptions(const AudioOptions& options)
int WebRtcVoiceMediaChannel::GetReceiveChannelId(uint32_t ssrc)
10
bool WebRtcVoiceMediaChannel::SetMaxSendBandwidth(int bps)
bool BaseChannel::AddRecvStream_w(const StreamParams& sp)
14
4
bool WebRtcVoiceMediaChannel::SetSend(SendFlags send)
void AudioRtpReceiver::Reconfigure()
bool WebRtcVoiceMediaChannel::GetStats(VoiceMediaInfo* info)
2
6
bool WebRtcVoiceMediaChannel::SetSendParameters( const AudioSendParameters& params)
1
bool WebRtcVoiceMediaChannel::ChangePlayout(bool playout)
bool WebRtcVoiceMediaChannel::SetPlayout(bool playout)
bool WebRtcVoiceMediaChannel::AddRecvStream(const StreamParams& sp)
bool BaseChannel::Enable(bool enable)
8
int WebRtcVoiceMediaChannel::GetSendChannelId(uint32_t ssrc)
void WebRtcSession::EnableChannels()
13
int WebRtcVoiceMediaChannel::CreateVoEChannel()
0 条评论
下一页