namespace webrtc { class VideoFrame;
} // namespace webrtc
namespace webrtc {
// Returns size of 420 image with rounding on chroma for odd sizes. #define I420_SIZE(w, h) (w * h + (((w + 1) / 2) * ((h + 1) / 2)) * 2) // Returns size of ARGB image. #define ARGB_SIZE(w, h) (w * h * 4)
template <class T>
inline std::vector<T> MakeVector(const T a[], size_t s) { return std::vector<T>(a, a + s);
} // Note that MAKE_VECTOR can be used outside of the webrtc namespace. #define MAKE_VECTOR(a) webrtc::MakeVector(a, std::size(a))
// Create Simulcast StreamParams with given `ssrcs` and `cname`.
StreamParams CreateSimStreamParams(const std::string& cname, const std::vector<uint32_t>& ssrcs); // Create Simulcast stream with given `ssrcs` and `rtx_ssrcs`. // The number of `rtx_ssrcs` must match number of `ssrcs`.
StreamParams CreateSimWithRtxStreamParams( const std::string& cname, const std::vector<uint32_t>& ssrcs, const std::vector<uint32_t>& rtx_ssrcs);
// Create StreamParams with single primary SSRC and corresponding FlexFEC SSRC.
StreamParams CreatePrimaryWithFecFrStreamParams(const std::string& cname,
uint32_t primary_ssrc,
uint32_t flexfec_ssrc);
} // namespace webrtc
#endif// MEDIA_BASE_TEST_UTILS_H_
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-08-27)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.