Remove support for iSAC RCU
The current way that iSAC RCU is packetized and sent as a RED packet, with the same payload type for primary and redundant payloads, does not follow the specification for RED. As it is now, it is impossible for a receiver to know if an incoming RED packet with iSAC payloads inside consists of two "primary" (but time-shifted) payloads, or one primary and one RCU payload. The RED standard stipulates that the former option is the correct interpretation, while our implementation currently applies the latter. This CL removes support for iSAC RCU from Audio Coding Module, but leaves it in the iSAC codec itself (i.e., in the C implementation). BUG=4402 COAUTHOR=kwiberg@webrtc.org R=tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/45569004 Cr-Commit-Position: refs/heads/master@{#8713} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8713 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -48,14 +48,6 @@ struct IsacFix {
|
||||
int16_t num_lost_frames) {
|
||||
return WebRtcIsacfix_DecodePlc(inst, decoded, num_lost_frames);
|
||||
}
|
||||
static inline int16_t DecodeRcu(instance_type* inst,
|
||||
const uint8_t* encoded,
|
||||
int16_t len,
|
||||
int16_t* decoded,
|
||||
int16_t* speech_type) {
|
||||
// iSACfix has no DecodeRcu; just call the normal Decode.
|
||||
return WebRtcIsacfix_Decode(inst, encoded, len, decoded, speech_type);
|
||||
}
|
||||
static inline int16_t DecoderInit(instance_type* inst) {
|
||||
return WebRtcIsacfix_DecoderInit(inst);
|
||||
}
|
||||
@ -101,10 +93,6 @@ struct IsacFix {
|
||||
return WebRtcIsacfix_UpdateBwEstimate(inst, encoded, packet_size,
|
||||
rtp_seq_number, send_ts, arr_ts);
|
||||
}
|
||||
static inline int16_t GetRedPayload(instance_type* inst, uint8_t* encoded) {
|
||||
FATAL() << "Should never be called.";
|
||||
return -1;
|
||||
}
|
||||
static inline int16_t SetMaxPayloadSize(instance_type* inst,
|
||||
int16_t max_payload_size_bytes) {
|
||||
return WebRtcIsacfix_SetMaxPayloadSize(inst, max_payload_size_bytes);
|
||||
|
||||
Reference in New Issue
Block a user