diff --git a/src/modules/rtp_rtcp/source/rtp_rtcp_impl.cc b/src/modules/rtp_rtcp/source/rtp_rtcp_impl.cc index 8edae06ce..bbd4e298b 100644 --- a/src/modules/rtp_rtcp/source/rtp_rtcp_impl.cc +++ b/src/modules/rtp_rtcp/source/rtp_rtcp_impl.cc @@ -43,7 +43,7 @@ RtpRtcp* RtpRtcp::CreateRtpRtcp(const RtpRtcp::Configuration& configuration) { RtpRtcp::Configuration configuration_copy; memcpy(&configuration_copy, &configuration_copy, sizeof(RtpRtcp::Configuration)); - ModuleRTPUtility::GetSystemClock(); + configuration_copy.clock = ModuleRTPUtility::GetSystemClock(); ModuleRtpRtcpImpl* rtp_rtcp_instance = new ModuleRtpRtcpImpl(configuration_copy); rtp_rtcp_instance->OwnsClock();