mirror of
https://github.com/danog/libtgvoip.git
synced 2024-12-03 18:17:45 +01:00
8 lines
460 B
C++
8 lines
460 B
C++
|
#include "Stream.h"
|
||
|
#include "../PrivateDefines.cpp"
|
||
|
|
||
|
Stream::Stream(uint8_t _id, StreamInfo::Type _type) : id(_id), packetManager(_id), type(_type){};
|
||
|
MediaStream::MediaStream(uint8_t _id, StreamInfo::Type _type) : Stream(_id, _type){};
|
||
|
AudioStream::AudioStream(uint8_t _id = Packet::StreamId::Audio) : MediaStream(_id, StreamInfo::Type::Audio){};
|
||
|
VideoStream::VideoStream(uint8_t _id = Packet::StreamId::Video) : MediaStream(_id, StreamInfo::Type::Video){};
|