agora-edu-core
Version:
Core APIs for building an online classroom
24 lines (23 loc) • 747 B
TypeScript
import { AgoraFromUser, AgoraRteAudioSourceType, AgoraRteMediaPublishState, AgoraRteMediaSourceState, AgoraRteVideoSourceType, AgoraStream } from 'agora-rte-sdk';
/**
* 流对象
*/
/** @en
* Stream object
*/
export declare class EduStream {
streamUuid: string;
streamName: string;
fromUser: AgoraFromUser;
videoSourceType: AgoraRteVideoSourceType;
audioSourceType: AgoraRteAudioSourceType;
videoState: AgoraRteMediaPublishState;
audioState: AgoraRteMediaPublishState;
videoSourceState: AgoraRteMediaSourceState;
audioSourceState: AgoraRteMediaSourceState;
streamRtmpUrl?: string;
streamFlvUrl?: string;
streamHlsUrl?: string;
constructor(stream: AgoraStream);
get isLocal(): boolean;
}