blob: d4d6363d98c4caa7c6530e8175f0d8e0b46180b3 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/base/demuxer_memory_limit.h"
namespace media {
// 12MB: approximately 5 minutes of 320Kbps content.
const size_t kDemuxerStreamAudioMemoryLimit = 12 * 1024 * 1024;
// 150MB: approximately 5 minutes of 4Mbps content.
const size_t kDemuxerStreamVideoMemoryLimit = 150 * 1024 * 1024;
const size_t kDemuxerMemoryLimit =
kDemuxerStreamAudioMemoryLimit + kDemuxerStreamVideoMemoryLimit;
} // namespace media