8 LibavStreamer(request, connection, nh,
"mp4",
"libx264",
"video/mp4")
33 av_dict_set(&
opt_,
"movflags",
"+frag_keyframe+empty_moov+faststart", 0);
AVFormatContext * format_context_
H264Streamer(const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, ros::NodeHandle &nh)
virtual void initializeEncoder()
AVCodecContext * codec_context_
std::string get_query_param_value_or_default(const std::string &name, const std::string &default_value) const
virtual boost::shared_ptr< ImageStreamer > create_streamer(const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, ros::NodeHandle &nh)