Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: webrtc/common_types.h

Issue 2805023002: Add read support of RtpStreamId/RepairedRtpStreamId header extensions. (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/common_types.h
diff --git a/webrtc/common_types.h b/webrtc/common_types.h
index e1a4c77d37adf184bb43b0fd87070d635f54d917..eeb3e771526fa4b0ac4627d5a34fc34772b0684b 100644
--- a/webrtc/common_types.h
+++ b/webrtc/common_types.h
@@ -717,6 +717,14 @@ struct RTPHeaderExtension {
VideoRotation videoRotation;
PlayoutDelay playout_delay = {-1, -1};
+
+ // For identification of a stream when ssrc is not signaled. See
+ // https://tools.ietf.org/html/draft-ietf-avtext-rid-09
+ // TODO(danilchap): Update url from draft to release version.
+ size_t rid_size = 0;
+ char rid[16];
pthatcher1 2017/04/06 21:17:34 The SDP level uses "rid=", but the header extensio
danilchap 2017/04/07 07:07:49 Since structure type already have 'rtp' in it, I'l
+ size_t repair_rid_size = 0;
+ char repair_rid[16];
pthatcher1 2017/04/06 21:17:34 The header extension can be more than 16 chars, ev
danilchap 2017/04/07 07:07:49 std::string will turn this and all dependent struc
};
struct RTPHeader {
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h » ('j') | webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698