Peter Boström 1436c83cd1 Base screenshare layers on TemporalReferences.
Decouples encode flags and calculates them the same for both default and
screencast temporal layers.

With this change encoders could start using TemporalReferences for
temporal-layers flags, but they can not be used by asynchronous encoders
(hardware encoders) yet.

Also removes 'timestamp' as a dead parameter to FrameEncoded().

BUG=chromium:702017, webrtc:7349
R=marpan@google.com, sprang@webrtc.org, marpan@webrtc.org

Review-Url: https://codereview.webrtc.org/2769263002 .
Cr-Commit-Position: refs/heads/master@{#17397}
2017-03-27 19:01:49 +00:00
..
2017-03-21 08:54:13 +00:00
2017-03-21 08:54:13 +00:00
2016-09-10 05:40:34 +00:00
2016-11-16 19:11:38 +00:00
2017-03-23 13:50:37 +00:00
2017-03-27 14:24:57 +00:00
2017-03-27 14:24:57 +00:00