7 #pragma once // NOLINT(build/header_guard)
10 #include "AgoraRefPtr.h"
11 #include "IAgoraService.h"
26 const char* image_path;
28 MixerLayoutConfig() : x(0), y(0), width(0), height(0), zOrder(0), alpha(1.0), mirror(
false), image_path(NULL) {}
29 MixerLayoutConfig(
int ox,
int oy,
int w,
int h,
int order) : x(ox), y(oy), width(w), height(h), zOrder(order), alpha(1.0), mirror(
false), image_path(NULL) {}
82 virtual int delStreamLayout(
const char*
id, aosl_ref_t ares = AOSL_REF_INVALID) = 0;
99 virtual int delImageSource(
const char*
id, aosl_ref_t ares = AOSL_REF_INVALID) = 0;
110 virtual int refresh(aosl_ref_t ares = AOSL_REF_INVALID) = 0;
121 virtual int setBackground(uint32_t width, uint32_t height,
int fps, uint32_t color_argb = 0, aosl_ref_t ares = AOSL_REF_INVALID) = 0;
132 virtual int setBackground(uint32_t width, uint32_t height,
int fps,
const char* url, aosl_ref_t ares = AOSL_REF_INVALID) = 0;
140 virtual int setRotation(uint8_t rotation, aosl_ref_t ares = AOSL_REF_INVALID) = 0;