No longer register ulpfec as a codec with RTPPayloadRegistry.
Delete method RTPPayloadRegistry::ulpfec_payload_type(). RtpVideoStreamReceiver can check its own config to know what the payload type is. Bug: webrtc:8995 Change-Id: Idc2bc7d747d77127f2b2261ff50610422e5686a6 Reviewed-on: https://webrtc-review.googlesource.com/61501 Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22414}
This commit is contained in:
@ -63,9 +63,7 @@ class RTPPayloadRegistry {
|
||||
bool ReportMediaPayloadType(uint8_t media_payload_type);
|
||||
|
||||
int8_t red_payload_type() const { return GetPayloadTypeWithName("red"); }
|
||||
int8_t ulpfec_payload_type() const {
|
||||
return GetPayloadTypeWithName("ulpfec");
|
||||
}
|
||||
|
||||
int8_t last_received_payload_type() const {
|
||||
rtc::CritScope cs(&crit_sect_);
|
||||
return last_received_payload_type_;
|
||||
|
||||
Reference in New Issue
Block a user