Twitch SDK (Internal)
modules
broadcast
broadcast_common
include
twitchsdk
broadcast
iframewriter.h
Go to the documentation of this file.
1
/********************************************************************************************
2
* Twitch Broadcasting SDK
3
*
4
* This software is supplied under the terms of a license agreement with Twitch Interactive, Inc. and
5
* may not be copied or used except in accordance with the terms of that agreement
6
* Copyright (c) 2012-2016 Twitch Interactive, Inc.
7
*********************************************************************************************/
8
9
#pragma once
10
11
#include "
twitchsdk/broadcast/broadcasttypes.h
"
12
13
namespace
ttv
14
{
15
namespace
broadcast
16
{
17
class
IFrameWriter;
18
struct
Packet;
19
}
20
}
21
26
class
ttv::broadcast::IFrameWriter
27
{
28
public
:
29
virtual
~IFrameWriter
() =
default
;
30
31
public
:
35
virtual
TTV_ErrorCode
WritePacket
(std::unique_ptr<Packet>&& packet) = 0;
36
};
ttv::broadcast::IFrameWriter
Definition:
iframewriter.h:26
ttv::broadcast::IFrameWriter::WritePacket
virtual TTV_ErrorCode WritePacket(std::unique_ptr< Packet > &&packet)=0
ttv
JSON (JavaScript Object Notation).
Definition:
adsapi.h:16
broadcasttypes.h
TTV_ErrorCode
uint32_t TTV_ErrorCode
Definition:
errortypes.h:30
ttv::broadcast::IFrameWriter::~IFrameWriter
virtual ~IFrameWriter()=default
Generated by
1.8.13