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

Method doStartStreaming

src/output/StreamThreadTSWriter.cpp:52–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50// =============================================================================
51
52void StreamThreadTSWriter::doStartStreaming(int UNUSED(clientID)) {
53 _file.open(_filePath, std::ofstream::binary);
54}
55
56bool StreamThreadTSWriter::writeDataToOutputDevice(mpegts::PacketBuffer &buffer, StreamClient &UNUSED(client)) {
57 const unsigned char *tsBuffer = buffer.getTSReadBufferPtr();

Callers

nothing calls this directly

Calls 1

openMethod · 0.45

Tested by

no test coverage detected