summaryrefslogtreecommitdiff
path: root/chromium/media/filters/source_buffer_platform_lowmem.cc
blob: 79757cd81c194590ef6ea4284764ffdb0d51f419 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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/filters/source_buffer_platform.h"

namespace media {

// 2MB: approximately 1 minute of 256Kbps content.
// 30MB: approximately 1 minute of 4Mbps content.
const int kSourceBufferAudioMemoryLimit = 2 * 1024 * 1024;
const int kSourceBufferVideoMemoryLimit = 30 * 1024 * 1024;

}  // namespace media