<div dir="ltr"><div><br>Proposal draft 2<br><br>About the Source class and control units:<br>A. Source has control units<br>B. Can attach control unit to Source<br></div><div>A or B?<br></div><div><br>List of SourceControl classes (pick your preferred names):<br>
class AbstractSourceControl OR SourceControlUnit OR SourceControl OR ControlUnit<br> - property (R): bool active<br> - property (R): source maybe?<br> - parented by source?<br><br>class VideoSourceControl<br> - property (R ): QList<enum> availableMenus<br>
 - property (RW): int currentMenu<br><br> - property (R ): int chapterCount<br> - property (RW): int currentChapter<br><br> - property (R ): int angleCount<br> - property (RW): int currentAngle<br><br> - property (RW): bool autoplayTitlesEnabled<br>
 - property (RW): bool currentTitle<br> - method: void previousTitle()<br> - method: void nextTitle()<br><br> - property (RW): bool subtitleAutodetectionEnabled<br> - property (R ): QList<Subtitle> availableSubtitles<br>
 - property (R ): Subtitle currentSubtitle<br> - property (RW): QString subtitleEncoding<br> - property (RW): QFont subtitleFont<br><br> - property (R ): QList<AudioChannel> availableAudioChannels<br> - property (RW): AudioChannel audioChannel<br>
<br>class AudioSourceControl<br> - property (RW): int trackNumber<br> - property (R ): int trackCount<br><br>class VideoDeviceSourceControl<br> - property (RW): VideoCaptureDevice device<br> - property (R ): bool audio<br>
 - property (RW): VideoRes resolution<br> - ...<br><br>class AudioDeviceSourceControl <br> - property (RW): AudioCaptureDevice device<br> - ...<br><br>class AbstractMediaStreamSourceControl OR MediaStreamSourceControl OR StreamSourceControl (does this make sense?)<br>
 - ???<br><br></div><div>Thoughts?<br></div><div><br></div>After we finish this I will attempt to begin implementing the following days. We can still change stuff afterwards.<br><br></div>