webrtc/modules/rtp_rtcp
Sergey Silkin 47836b4ebb Keep spatial_idx=kNoSpatialIdx(255) if there is no layer indices.
spatial_idx is not present in RTP header if there is no temporal or
spatial layering. But the parser sets spatial_idx to 0 in this case.
When reflector repacketizes such packets it writes layering indices
into outgoing packets. When packets arrive to receiver it thinks that
it deals with multi layer stream and passes it through special path
in Vp9 reference frame finder which never outputs inter frames.

I modified the parser such that it keeps spatial_idx=kNoSpatialIdx(255)
when there is no layer indices in RTP header. Related unit tests have
been modified as well.

Bug: none
Change-Id: I14498cafb4e57797577dc873298c35b243479f88
Reviewed-on: https://webrtc-review.googlesource.com/17980
Commit-Queue: Sergey Silkin <ssilkin@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Åsa Persson <asapersson@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20560}
2017-11-06 12:15:16 +00:00
..
include Reland of BWE allocation strategy 2017-10-20 10:16:15 +00:00
mocks Simplify RtpRtcp interface for REMB 2017-10-11 11:09:39 +00:00
source Keep spatial_idx=kNoSpatialIdx(255) if there is no layer indices. 2017-11-06 12:15:16 +00:00
test Delete in_order argument to RtpReceiver::IncomingRtpPacket 2017-10-05 07:19:20 +00:00
BUILD.gn Add periodic compound packet sending to RtcpTransceiver 2017-10-30 16:51:29 +00:00
DEPS Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
OWNERS Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00