MCPcopy Create free account
hub / github.com/Barracuda09/SATPI / StreamThreadHttp

Class StreamThreadHttp

src/output/StreamThreadHttp.h:34–67  ·  view source on GitHub ↗

HTTP Streaming thread

Source from the content-addressed store, hash-verified

32
33/// HTTP Streaming thread
34class StreamThreadHttp :
35 public StreamThreadBase {
36 // =====================================================================
37 // -- Constructors and destructor --------------------------------------
38 // =====================================================================
39 public:
40 explicit StreamThreadHttp(StreamInterface &stream);
41
42 virtual ~StreamThreadHttp();
43
44 // =====================================================================
45 // -- output::StreamThreadBase ----------------------------------------
46 // =====================================================================
47 protected:
48
49 /// @see StreamThreadBase
50 virtual bool writeDataToOutputDevice(
51 mpegts::PacketBuffer &buffer,
52 StreamClient &client) final;
53
54 /// @see StreamThreadBase
55 virtual int getStreamSocketPort(int clientID) const final;
56
57 private:
58
59 /// @see StreamThreadBase
60 virtual void doStartStreaming(int clientID) final;
61
62 // =====================================================================
63 // -- Data members -----------------------------------------------------
64 // =====================================================================
65 private:
66
67};
68
69} // namespace output
70

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected