|
Moved Opus-specific payload splitting into AudioDecoderOpus.
The biggest change to NetEq is the move from a primary flag, to a
Priority with two separate levels: one set by RED splitting and one
set by the codec itself. This allows us to unambigously prioritize
"fallback" packets from these two sources. I've chosen what I believe
is the sensible ordering: packets that the codec prioritizes are
chosen first, regardless of if they are secondary RED packets or
not. So if we were to use Opus w/ FEC in RED, we'd only do Opus FEC
decoding if there was no RED packet that could cover the time slot.
With this change, PayloadSplitter now only deals with RED
packets. Maybe it should be renamed RedPayloadSplitter?
BUG= webrtc:5805
Committed: https://crrev.com/a70695a3e1e7ead375d4bbc7997cd630d1ac1731
Cr-Commit-Position: refs/heads/master@{#14347}
Total comments: 70
Total comments: 22
Total comments: 18
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+441 lines, -1202 lines) |
Patch |
|
M |
webrtc/modules/BUILD.gn
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/BUILD.gn
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/audio_decoder.h
|
View
|
1
2
|
5 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/audio_decoder.cc
|
View
|
1
2
|
3 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h
|
View
|
1
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.cc
|
View
|
1
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h
|
View
|
1
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.cc
|
View
|
1
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.cc
|
View
|
1
2
|
4 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/ilbc_unittest.cc
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame.h
|
View
|
1
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame.cc
|
View
|
1
2
|
4 chunks |
+10 lines, -28 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.cc
|
View
|
1
|
2 chunks |
+70 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.h
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/include/neteq.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/mock/mock_payload_splitter.h
|
View
|
1
2
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
|
A |
webrtc/modules/audio_coding/neteq/mock/mock_red_payload_splitter.h
|
View
|
1
2
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/neteq.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/neteq_impl.h
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/neteq_impl.cc
|
View
|
1
2
3
|
10 chunks |
+13 lines, -26 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc
|
View
|
1
2
|
4 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+48 lines, -19 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/packet.h
|
View
|
1
2
3
|
2 chunks |
+48 lines, -7 lines |
3 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/packet_buffer.cc
|
View
|
1
2
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc
|
View
|
1
|
5 chunks |
+54 lines, -9 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/payload_splitter.h
|
View
|
1
2
|
1 chunk |
+0 lines, -66 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/payload_splitter.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -215 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/payload_splitter_unittest.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -457 lines |
0 comments
|
Download
|
|
A + |
webrtc/modules/audio_coding/neteq/red_payload_splitter.h
|
View
|
1
2
|
3 chunks |
+13 lines, -28 lines |
0 comments
|
Download
|
|
A + |
webrtc/modules/audio_coding/neteq/red_payload_splitter.cc
|
View
|
1
2
3
|
6 chunks |
+46 lines, -93 lines |
0 comments
|
Download
|
|
A + |
webrtc/modules/audio_coding/neteq/red_payload_splitter_unittest.cc
|
View
|
1
2
|
9 chunks |
+40 lines, -136 lines |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 30 (8 generated)
|