import { RtmpSource } from './rtmp-source'; import { Source } from './source'; import { H5LiveSource } from './h5live-source'; import { WebRtcSource } from './webrtc-source'; import { AspectRatio } from './aspect-ratio'; export interface SourceSet { initialAspectRatio?: AspectRatio; h5live?: H5LiveSource[]; /** array defining the order in which the streams should be accessed; if not provided the vchat-player will chose the best fitting stream itself */ preferredOrder?: string[]; /** the source for a jpeg stream */ jpeg?: Source[]; /** the source for an mjpeg stream */ mjpeg?: Source[]; /** the source for HLS native / HLS.js */ hls?: Source[]; /** the source for RTMP */ rtmp?: RtmpSource[]; webrtc?: WebRtcSource[]; /** the stream url for an mp3 stream (in combination with a jpeg stream) */ mp3?: Source[]; /** the stream url for a ogg/vorbis stream (in combination with a jpeg stream) */ vorbis?: Source[]; }