1
0
mirror of https://github.com/danog/libtgvoip.git synced 2024-12-11 16:49:52 +01:00
libtgvoip/controller/protocol/Stream.cpp
2020-03-21 21:33:51 +01:00

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){};