]> git.sesse.net Git - nageru/blobdiff - video_encoder.h
Make the VideoEncoder own the stream audio encoder (and make it unconditionally)...
[nageru] / video_encoder.h
index 489d9d318c9c9650846f939c8ab82f93b295ea00..bf203f1438cbc2b1a2138fb1764fc576fa8b93c7 100644 (file)
@@ -10,6 +10,7 @@
 #include <string>
 #include <vector>
 
+#include "audio_encoder.h"
 #include "mux.h"
 #include "ref_counted_frame.h"
 #include "ref_counted_gl_sync.h"
@@ -47,6 +48,7 @@ private:
        HTTPD *httpd;
 
        std::unique_ptr<Mux> stream_mux;  // To HTTP.
+       std::unique_ptr<AudioEncoder> stream_audio_encoder;
 
        // While Mux object is constructing, <stream_mux_writing_header> is true,
        // and the header is being collected into stream_mux_header.