New struct SimulcastStream.
Currently has the same contents as struct SpatialLayer. Intention is to add a ScalabilityMode member, which isn't appropriate for a spatial layer. Bug: webrtc:11607 Change-Id: I75c9e9b39407e3f24ec117bb17dc37830076b26f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/262255 Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37062}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
c4d253c1ed
commit
c4b5f4da97
@ -11,14 +11,21 @@
|
|||||||
#ifndef API_VIDEO_CODECS_SIMULCAST_STREAM_H_
|
#ifndef API_VIDEO_CODECS_SIMULCAST_STREAM_H_
|
||||||
#define API_VIDEO_CODECS_SIMULCAST_STREAM_H_
|
#define API_VIDEO_CODECS_SIMULCAST_STREAM_H_
|
||||||
|
|
||||||
#include "api/video_codecs/spatial_layer.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
// TODO(bugs.webrtc.org/6883): Unify with struct VideoStream, part of
|
// TODO(bugs.webrtc.org/6883): Unify with struct VideoStream, part of
|
||||||
// VideoEncoderConfig.
|
// VideoEncoderConfig.
|
||||||
// TODO(bugs.webrtc.org/11607): Make this a separate type, rather than an alias.
|
struct SimulcastStream {
|
||||||
using SimulcastStream = SpatialLayer;
|
int width;
|
||||||
|
int height;
|
||||||
|
float maxFramerate; // fps.
|
||||||
|
unsigned char numberOfTemporalLayers;
|
||||||
|
unsigned int maxBitrate; // kilobits/sec.
|
||||||
|
unsigned int targetBitrate; // kilobits/sec.
|
||||||
|
unsigned int minBitrate; // kilobits/sec.
|
||||||
|
unsigned int qpMax; // minimum quality
|
||||||
|
bool active; // encoded and sent.
|
||||||
|
};
|
||||||
|
|
||||||
} // namespace webrtc
|
} // namespace webrtc
|
||||||
#endif // API_VIDEO_CODECS_SIMULCAST_STREAM_H_
|
#endif // API_VIDEO_CODECS_SIMULCAST_STREAM_H_
|
||||||
|
Reference in New Issue
Block a user