DescriptionAdding C++ versions of currently spec'd "RtpParameters" structs.
These structs will be used for ORTC objects (and their WebRTC
equivalents).
This CL also introduces some minor changes to the existing implemented
structs:
- max_bitrate_bps uses rtc::Optional instead of "-1 means unset"
- "mime_type" turned into "name"/"kind" (which can be used to form the
MIME type string, if needed).
- clock_rate and channels changed to rtc::Optional, since they will
need to be for RtpSender.send().
- Renamed "channels" to "num_channels" (the ORTC name, which I prefer).
BUG=webrtc:7013, webrtc:7112
Review-Url: https://codereview.webrtc.org/2651883010
Cr-Commit-Position: refs/heads/master@{#16437}
Committed: https://chromium.googlesource.com/external/webrtc/+/e702b30fec47933114161691369bd27a90371862
Patch Set 1 #Patch Set 2 : Making Objective-C changes. #
Total comments: 11
Patch Set 3 : Move code for easier review of diff. #Patch Set 4 : Switching to switch statements with "NOTREACHED" for data. #Patch Set 5 : Fixing typo in test. #
Total comments: 2
Patch Set 6 : maxptime -> max_ptime #Patch Set 7 : max_ptime in other places #
Total comments: 2
Patch Set 8 : Safer DCHECK #Patch Set 9 : Merge with master #Patch Set 10 : Update unit tests (due to switch from special-case values to rtc::Optional) #Dependent Patchsets: Messages
Total messages: 26 (13 generated)
|