blob: 79a9395d26bc906c0abeea64c649f02ae7d4bfbf [file] [log] [blame]
Niels Möllerc0a9f352022-05-20 13:38:49 +02001/*
2 * Copyright (c) 2022 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#ifndef API_VIDEO_CODECS_SIMULCAST_STREAM_H_
12#define API_VIDEO_CODECS_SIMULCAST_STREAM_H_
13
Niels Möllerc0a9f352022-05-20 13:38:49 +020014namespace webrtc {
15
16// TODO(bugs.webrtc.org/6883): Unify with struct VideoStream, part of
17// VideoEncoderConfig.
Niels Möllerc4b5f4d2022-05-20 15:18:21 +020018struct SimulcastStream {
19 int width;
20 int height;
21 float maxFramerate; // fps.
22 unsigned char numberOfTemporalLayers;
23 unsigned int maxBitrate; // kilobits/sec.
24 unsigned int targetBitrate; // kilobits/sec.
25 unsigned int minBitrate; // kilobits/sec.
26 unsigned int qpMax; // minimum quality
27 bool active; // encoded and sent.
28};
Niels Möllerc0a9f352022-05-20 13:38:49 +020029
30} // namespace webrtc
31#endif // API_VIDEO_CODECS_SIMULCAST_STREAM_H_