diff --git a/video/rtp_video_stream_receiver2.cc b/video/rtp_video_stream_receiver2.cc index 9c8f28c1f8..4604180304 100644 --- a/video/rtp_video_stream_receiver2.cc +++ b/video/rtp_video_stream_receiver2.cc @@ -617,9 +617,9 @@ bool RtpVideoStreamReceiver2::OnReceivedPayloadData( CorruptionDetectionMessage message; rtp_packet.GetExtension(&message); if (message.sample_values().empty()) { - // TODO: bugs.webrtc.org/358039777 - Convert message to sync data and - // use that for assignment instead of `std::nullptr`. - video_header.frame_instrumentation_data = std::nullopt; + video_header.frame_instrumentation_data = + ConvertCorruptionDetectionMessageToFrameInstrumentationSyncData( + message, last_corruption_detection_index_); } else { video_header.frame_instrumentation_data = ConvertCorruptionDetectionMessageToFrameInstrumentationData(