Such style. (Code style unification)
This commit is contained in:
parent
57bcd8f25c
commit
8c01ec8897
57 changed files with 6548 additions and 6437 deletions
|
@ -28,9 +28,9 @@ namespace RTMPStream {
|
|||
extern unsigned int snd_cnt; ///< Counter for total data sent, in bytes.
|
||||
|
||||
extern timeval lastrec; ///< Timestamp of last time data was received.
|
||||
|
||||
|
||||
/// Holds a single RTMP chunk, either send or receive direction.
|
||||
class Chunk{
|
||||
class Chunk {
|
||||
public:
|
||||
unsigned char headertype; ///< For input chunks, the type of header. This is calculated automatically for output chunks.
|
||||
unsigned int cs_id; ///< ContentStream ID
|
||||
|
@ -51,7 +51,7 @@ namespace RTMPStream {
|
|||
|
||||
extern std::map<unsigned int, Chunk> lastsend;
|
||||
extern std::map<unsigned int, Chunk> lastrecv;
|
||||
|
||||
|
||||
std::string & SendChunk(unsigned int cs_id, unsigned char msg_type_id, unsigned int msg_stream_id, std::string data);
|
||||
std::string & SendMedia(unsigned char msg_type_id, unsigned char * data, int len, unsigned int ts);
|
||||
std::string & SendMedia(FLV::Tag & tag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue