Files
platform-external-webrtc/webrtc/base
tkchin 5ed5ed953d Fix VideoToolbox backgrounding issues.
When the iOS application is not in the foreground, the hardware encoder and
decoder become invalidated. There doesn't seem to be a way to query their state
so we don't know they're invalid until we get an error code after an
encode/decode request. To solve the issue, we just don't encode/decode when the
app is not active, and reinitialize the encoder/decoder when the app is active
again.

Also fixes a leak in the decoder.

BUG=webrtc:4081

Review URL: https://codereview.webrtc.org/1732953003

Cr-Commit-Position: refs/heads/master@{#11916}
2016-03-08 18:51:58 +00:00
..
2015-09-24 13:07:04 +00:00
2015-09-24 13:07:04 +00:00
2015-04-02 10:31:00 +00:00
2015-06-10 18:33:24 +00:00
2015-12-17 02:38:34 +00:00
2015-12-28 22:07:05 +00:00
2015-12-28 22:07:05 +00:00
2015-05-21 11:50:41 +00:00
2015-05-21 11:50:41 +00:00
2015-12-28 22:07:05 +00:00
2015-04-01 22:25:29 +00:00
2016-01-04 21:44:16 +00:00
2015-12-16 19:44:39 +00:00
2015-11-26 16:45:57 +00:00
2016-01-04 21:44:16 +00:00
2016-02-02 16:34:16 +00:00
2015-11-26 16:45:57 +00:00
2015-11-26 16:45:57 +00:00
2015-10-07 11:58:00 +00:00
2015-09-22 18:58:13 +00:00
2016-01-04 21:44:16 +00:00
2016-01-04 21:44:16 +00:00
2016-01-14 19:01:25 +00:00