Add FIXME comment to the Rust sendrecv example for implementation proper SDP negotiation
authorSebastian Dröge <sebastian@centricular.com>
Tue, 9 Jul 2019 11:51:41 +0000 (14:51 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 9 Jul 2019 11:51:41 +0000 (14:51 +0300)
webrtc/sendrecv/gst-rust/src/main.rs

index 04b31db..83dfe3e 100644 (file)
@@ -582,6 +582,10 @@ impl App {
         } else if type_ == "offer" {
             print!("Received offer:\n{}\n", sdp);
 
+            // FIXME: We need to do negotiation here based on what the peer offers us in the SDP
+            // and what we can produce. For example all RTCP or RTP header extensions we don't
+            // understand have to be removed, and similarly we have to negotiate the codecs.
+
             // Need to start the pipeline as a first step here
             self.setup_pipeline()?;