MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
output_hds.h
Go to the documentation of this file.
1 #include "output_http.h"
2 #include <mist/ts_packet.h>
3 #include <mist/mp4.h>
4 #include <mist/mp4_generic.h>
5 
6 namespace Mist {
7  class OutHDS : public HTTPOutput {
8  public:
10  ~OutHDS();
11  static void init(Util::Config * cfg);
12  void onHTTP();
13  void sendNext();
14  protected:
15  void getTracks();
16  std::string dynamicBootstrap(int tid);
17  std::string dynamicIndex();
18  std::set<int> videoTracks;
19  long long int audioTrack;
20  long long unsigned int playUntil;
22  };
23 }
24 
FLV::Tag tag
Definition: output_hds.h:21
This class is used to hold, work with and get information about a single FLV tag. ...
Definition: flv_tag.h:29
std::string dynamicBootstrap(int tid)
Builds a bootstrap for use in HTTP Dynamic streaming.
Definition: output_hds.cpp:36
void getTracks()
Definition: output_hds.cpp:9
std::set< int > videoTracks
< Holds valid video tracks for playback
Definition: output_hds.h:18
Mist::OutHDS mistOut
Definition: output_hds.h:25
std::string dynamicIndex()
Builds an index file for HTTP Dynamic streaming.
Definition: output_hds.cpp:110
Definition: output_hds.h:7
Recording to file.
Definition: input.cpp:13
static void init(Util::Config *cfg)
Definition: output_hds.cpp:152
Deals with parsing configuration from commandline options.
Definition: config.h:18
~OutHDS()
Definition: output_hds.cpp:150
Definition: output_http.h:8
OutHDS(Socket::Connection &conn)
Definition: output_hds.cpp:145
long long int audioTrack
< Holds audio track ID for playback
Definition: output_hds.h:19
long long unsigned int playUntil
Definition: output_hds.h:20
void onHTTP()
Definition: output_hds.cpp:194
This class is for easy communicating through sockets, either TCP or Unix.
Definition: socket.h:47
void sendNext()
Definition: output_hds.cpp:180