Add support for enabling and negotiating raw RTP packetization.
Raw RTP packetization is done using the existing RtpPacketizerGeneric
without adding the generic payload header. It is intended to be used
together with generic frame descriptor RTP header extension.
Bug: webrtc:10625
Change-Id: I2e3d0a766e4933ddc4ad4abc1449b9b91ba6cd35
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/138061
Commit-Queue: Mirta Dvornicic <mirtad@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28154}
diff --git a/api/peer_connection_interface.h b/api/peer_connection_interface.h
index a9d9785..a23b25d 100644
--- a/api/peer_connection_interface.h
+++ b/api/peer_connection_interface.h
@@ -682,6 +682,10 @@
// confused with RTCP mux (multiplexing RTP and RTCP together).
bool use_rtp_mux = true;
+ // If true, "a=packetization:<payload_type> raw" attribute will be offered
+ // in the SDP for all video payload and accepted in the answer if offered.
+ bool raw_packetization_for_video = false;
+
// This will apply to all video tracks with a Plan B SDP offer/answer.
int num_simulcast_layers = 1;