diff options
author | pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-01-24 09:30:53 +0000 |
---|---|---|
committer | pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-01-24 09:30:53 +0000 |
commit | c71929dce136f9bc59fcc7ceb172cf74fc507ea9 (patch) | |
tree | bf14c2bdd4b7963dc792a2222310f365a202ecd3 /video_send_stream.h | |
parent | 630939f10e9e48a3a92ba3f8adb9cd056187e1d0 (diff) | |
download | webrtc-c71929dce136f9bc59fcc7ceb172cf74fc507ea9.tar.gz |
Wire up RTX in VideoReceiveStream.
Also adds a test to make sure that a retransmitted frame is actually
received and decoded on the remote side. The previous NACK test checked
retransmission, but not that the receiver actually takes care of the
retransmitted packet.
BUG=2399
R=mflodman@webrtc.org, stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/7469004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5422 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'video_send_stream.h')
-rw-r--r-- | video_send_stream.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/video_send_stream.h b/video_send_stream.h index e59ef60d..d1c17264 100644 --- a/video_send_stream.h +++ b/video_send_stream.h @@ -96,8 +96,16 @@ class VideoSendStream { // See FecConfig for description. FecConfig fec; - // See RtxConfig for description. - RtxConfig rtx; + // Settings for RTP retransmission payload format, see RFC 4588 for + // details. + struct Rtx { + Rtx() : payload_type(0) {} + // SSRCs to use for the RTX streams. + std::vector<uint32_t> ssrcs; + + // Payload type to use for the RTX stream. + int payload_type; + } rtx; // RTCP CNAME, see RFC 3550. std::string c_name; |