1
0
mirror of https://github.com/danog/libtgvoip.git synced 2024-12-03 18:17:45 +01:00
libtgvoip/controller/protocol/Stream.cpp

8 lines
460 B
C++
Raw Normal View History

2020-03-21 21:33:51 +01:00
#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){};