Remove intermediate RTCP CNAME buffers.
Sets CNAME using a pointer to only perform a copy inside the RTCP sender. BUG= R=tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/50169005 Cr-Commit-Position: refs/heads/master@{#9346}
This commit is contained in:
@ -493,7 +493,7 @@ void ModuleRtpRtcpImpl::SetRTCPStatus(const RTCPMethod method) {
|
||||
rtcp_receiver_.SetRTCPStatus(method);
|
||||
}
|
||||
|
||||
int32_t ModuleRtpRtcpImpl::SetCNAME(const char c_name[RTCP_CNAME_SIZE]) {
|
||||
int32_t ModuleRtpRtcpImpl::SetCNAME(const char* c_name) {
|
||||
return rtcp_sender_.SetCNAME(c_name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user