Move Media object code to formats directory

This commit is contained in:
Aaro Altonen 2020-08-04 11:32:50 +03:00
parent 2619b77e47
commit 3d0a77fb16
4 changed files with 4 additions and 2 deletions

View File

@ -3,13 +3,14 @@
#include <unordered_map>
#include <memory>
#include "media.hh"
#include "pkt_dispatch.hh"
#include "rtcp.hh"
#include "socket.hh"
#include "srtp.hh"
#include "util.hh"
#include "formats/media.hh"
namespace uvg_rtp {
enum mstream_type {

View File

@ -2,7 +2,7 @@
#else
#endif
#include "media.hh"
#include "formats/media.hh"
uvg_rtp::formats::media::media(uvg_rtp::socket *socket, uvg_rtp::rtp *rtp_ctx, int flags):
socket_(socket), rtp_ctx_(rtp_ctx), flags_(flags)

View File

@ -1,4 +1,5 @@
SOURCES += \
src/formats/media.cc \
src/formats/generic.cc \
src/formats/opus.cc \
src/formats/hevc.cc \