RecorderStreamInfo
需录制的音视频流的相关信息。
C++
struct RecorderStreamInfo {
const char* channelId;
uid_t uid;
RecorderStreamType type;
RecorderStreamInfo() : channelId(NULL), uid(0), type(RTC) {}
RecorderStreamInfo(const char* channelId, uid_t uid)
: channelId(channelId), uid(uid), type(RTC) {}
RecorderStreamInfo(const char* channelId, uid_t uid, RecorderStreamType)
: channelId(channelId), uid(uid), type(RTC) {}
};
自从
v4.2.0
channelId
需录制的频道名称。
uid
需录制的用户 ID。
type
需录制的视频流类型,详见 RecorderStreamType。