If a player pauses for 15 seconds, it becomes a 'stale' state.
The stale players is suspended and released, but it causes unexpected behavior
such as black screen.
This patch therefore doesn't suspend the stale players.
Reference:
https://review.tizen.org/gerrit/#/c/276980/
https://review.tizen.org/gerrit/#/c/277231/
Change-Id: I9190275c60a5c0b66b583ca75cd7e8132a37bc58
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
}
return nullptr;
}
+
+#if defined(TIZEN_MULTIMEDIA)
+bool ContentRendererClientEfl::IsIdleMediaSuspendEnabled() {
+ LOG(INFO) << __func__ << ", Disable idle media suspend : return false";
+ return false;
+}
+#endif
const GURL& url,
scoped_refptr<base::SingleThreadTaskRunner> task_runner) override;
+#if defined(TIZEN_MULTIMEDIA)
+ bool IsIdleMediaSuspendEnabled() override;
+#endif
+
bool shutting_down() const { return shutting_down_; }
void set_shutting_down(bool shutting_down) { shutting_down_ = shutting_down; }