- static void request_completed_thunk(void *cls, struct MHD_Connection *connection, void **con_cls, enum MHD_RequestTerminationCode toe);
-
- void request_completed(struct MHD_Connection *connection, void **con_cls, enum MHD_RequestTerminationCode toe);
-
- class Mux {
- public:
- Mux(AVFormatContext *avctx, int width, int height); // Takes ownership of avctx.
- ~Mux();
- void add_packet(const AVPacket &pkt, int64_t pts, int64_t dts);
-
- private:
- AVFormatContext *avctx;
- AVStream *avstream_video, *avstream_audio;
- };