mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-19 14:19:57 +01:00
Integration of Shmdata in vimix
Unified menu in output window for streaming (for SRT, Shmdata and peer to peer). Cleanup SRT broadcaster and bugfix on FrameGrabber default frame timing.
This commit is contained in:
@@ -110,6 +110,7 @@ class FrameBufferImage;
|
||||
class FrameGrabber;
|
||||
class VideoRecorder;
|
||||
class VideoBroadcast;
|
||||
class ShmdataBroadcast;
|
||||
|
||||
class SourcePreview {
|
||||
|
||||
@@ -330,6 +331,7 @@ class OutputPreview : public WorkspaceWindow
|
||||
// frame grabbers
|
||||
VideoRecorder *video_recorder_;
|
||||
VideoBroadcast *video_broadcaster_;
|
||||
ShmdataBroadcast *shm_broadcaster_;
|
||||
|
||||
// delayed trigger for recording
|
||||
std::vector< std::future<VideoRecorder *> > _video_recorders;
|
||||
@@ -350,6 +352,9 @@ public:
|
||||
void ToggleBroadcast();
|
||||
inline bool isBroadcasting() const { return video_broadcaster_ != nullptr; }
|
||||
|
||||
void ToggleSharedMemory();
|
||||
inline bool isSharingMemory() const { return shm_broadcaster_ != nullptr; }
|
||||
|
||||
void Render();
|
||||
void setVisible(bool on);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user