summaryrefslogtreecommitdiff
path: root/chromium/components/mirroring
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-24 11:40:17 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-24 12:42:11 +0000
commit5d87695f37678f96492b258bbab36486c59866b4 (patch)
treebe9783bbaf04fb930c4d74ca9c00b5e7954c8bc6 /chromium/components/mirroring
parent6c11fb357ec39bf087b8b632e2b1e375aef1b38b (diff)
downloadqtwebengine-chromium-5d87695f37678f96492b258bbab36486c59866b4.tar.gz
BASELINE: Update Chromium to 75.0.3770.56
Change-Id: I86d2007fd27a45d5797eee06f4c9369b8b50ac4f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/components/mirroring')
-rw-r--r--chromium/components/mirroring/mojom/mirroring_service.mojom3
-rw-r--r--chromium/components/mirroring/mojom/resource_provider.mojom3
-rw-r--r--chromium/components/mirroring/service/mirror_settings.cc13
3 files changed, 6 insertions, 13 deletions
diff --git a/chromium/components/mirroring/mojom/mirroring_service.mojom b/chromium/components/mirroring/mojom/mirroring_service.mojom
index 8bd13170c7d..09c6762bbf2 100644
--- a/chromium/components/mirroring/mojom/mirroring_service.mojom
+++ b/chromium/components/mirroring/mojom/mirroring_service.mojom
@@ -24,7 +24,4 @@ interface MirroringService {
ResourceProvider resource_provider,
CastMessageChannel outbound_channel,
CastMessageChannel& inbound_channel);
-
- // TODO(xjz): Add interfaces to get the streaming events/stats and mirroring
- // logs.
};
diff --git a/chromium/components/mirroring/mojom/resource_provider.mojom b/chromium/components/mirroring/mojom/resource_provider.mojom
index 6b116372c93..7605585ac70 100644
--- a/chromium/components/mirroring/mojom/resource_provider.mojom
+++ b/chromium/components/mirroring/mojom/resource_provider.mojom
@@ -32,7 +32,4 @@ interface ResourceProvider {
uint32 shared_memory_count);
ConnectToRemotingSource(media.mojom.Remoter remoter,
media.mojom.RemotingSource& request);
-
- // TODO(xjz): Add interface for HW encoder profiles query and VEA create
- // support.
};
diff --git a/chromium/components/mirroring/service/mirror_settings.cc b/chromium/components/mirroring/service/mirror_settings.cc
index 3c51c1e6532..14f337dd974 100644
--- a/chromium/components/mirroring/service/mirror_settings.cc
+++ b/chromium/components/mirroring/service/mirror_settings.cc
@@ -21,17 +21,16 @@ namespace {
constexpr base::TimeDelta kAnimatedPlayoutDelay =
base::TimeDelta::FromMilliseconds(400);
-// Minimum end-to-end latency. This allows cast streaming to adaptively lower
-// latency in interactive streaming scenarios.
-// TODO(miu): This was 120 before stable launch, but we got user feedback that
-// this was causing audio drop-outs. So, we need to fix the Cast Streaming
-// implementation before lowering this setting.
+// Minimum end-to-end latency.
constexpr base::TimeDelta kMinPlayoutDelay =
base::TimeDelta::FromMilliseconds(400);
-// Maximum end-to-end latency.
+// Maximum end-to-end latency. Currently, this is kMinPlayoutDelay, effectively
+// disabling adaptive latency control, because of audio playout regressions
+// (b/32876644).
+// TODO(https://crbug.com/openscreen/44): Re-enable in port to Open Screen.
constexpr base::TimeDelta kMaxPlayoutDelay =
- base::TimeDelta::FromMilliseconds(800);
+ base::TimeDelta::FromMilliseconds(400);
constexpr int kAudioTimebase = 48000;
constexpr int kVidoTimebase = 90000;