]> git.sesse.net Git - nageru/blobdiff - mixer.h
Add an HTTP endpoint for enumerating channels and one for getting only their colors...
[nageru] / mixer.h
diff --git a/mixer.h b/mixer.h
index 1d2e200ca45be9acb886f487b30ff5d2f478805a..aa3baac2fff99e90b1113f61af65e7f82761f42e 100644 (file)
--- a/mixer.h
+++ b/mixer.h
@@ -428,6 +428,8 @@ private:
        void release_display_frame(DisplayFrame *frame);
        double pts() { return double(pts_int) / TIMEBASE; }
        void trim_queue(CaptureCard *card, size_t safe_queue_length);
+       std::pair<std::string, std::string> get_channels_json();
+       std::pair<std::string, std::string> get_channel_color_http(unsigned channel_idx);
 
        HTTPD httpd;
        unsigned num_cards, num_video_inputs;