Remove VCM_*_PAYLOAD_TYPE constants.
These payload types aren't directly connected to any payload type, and the payload type still has to be negotiated externally. As such these constants are just a source of confusion. BUG= R=stefan@webrtc.org Review URL: https://codereview.webrtc.org/1215603003 Cr-Commit-Position: refs/heads/master@{#9546}
This commit is contained in:
@ -24,7 +24,9 @@ const int64_t kConfigRttMs = 0;
|
||||
const uint32_t kConfigRenderDelayMs = 0;
|
||||
const uint32_t kConfigMinPlayoutDelayMs = 0;
|
||||
const int64_t kConfigMaxRuntimeMs = -1;
|
||||
|
||||
const uint8_t kDefaultUlpFecPayloadType = 97;
|
||||
const uint8_t kDefaultRedPayloadType = 96;
|
||||
const uint8_t kDefaultVp8PayloadType = 100;
|
||||
} // namespace
|
||||
|
||||
int RtpPlay(const CmdArgs& args) {
|
||||
@ -35,11 +37,11 @@ int RtpPlay(const CmdArgs& args) {
|
||||
|
||||
webrtc::rtpplayer::PayloadTypes payload_types;
|
||||
payload_types.push_back(webrtc::rtpplayer::PayloadCodecTuple(
|
||||
VCM_ULPFEC_PAYLOAD_TYPE, "ULPFEC", webrtc::kVideoCodecULPFEC));
|
||||
kDefaultUlpFecPayloadType, "ULPFEC", webrtc::kVideoCodecULPFEC));
|
||||
payload_types.push_back(webrtc::rtpplayer::PayloadCodecTuple(
|
||||
VCM_RED_PAYLOAD_TYPE, "RED", webrtc::kVideoCodecRED));
|
||||
kDefaultRedPayloadType, "RED", webrtc::kVideoCodecRED));
|
||||
payload_types.push_back(webrtc::rtpplayer::PayloadCodecTuple(
|
||||
VCM_VP8_PAYLOAD_TYPE, "VP8", webrtc::kVideoCodecVP8));
|
||||
kDefaultVp8PayloadType, "VP8", webrtc::kVideoCodecVP8));
|
||||
|
||||
std::string output_file = args.outputFile;
|
||||
if (output_file == "") {
|
||||
|
||||
Reference in New Issue
Block a user