Move Media object code to formats directory
This commit is contained in:
parent
2619b77e47
commit
3d0a77fb16
|
@ -3,13 +3,14 @@
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "media.hh"
|
|
||||||
#include "pkt_dispatch.hh"
|
#include "pkt_dispatch.hh"
|
||||||
#include "rtcp.hh"
|
#include "rtcp.hh"
|
||||||
#include "socket.hh"
|
#include "socket.hh"
|
||||||
#include "srtp.hh"
|
#include "srtp.hh"
|
||||||
#include "util.hh"
|
#include "util.hh"
|
||||||
|
|
||||||
|
#include "formats/media.hh"
|
||||||
|
|
||||||
namespace uvg_rtp {
|
namespace uvg_rtp {
|
||||||
|
|
||||||
enum mstream_type {
|
enum mstream_type {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#else
|
#else
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "media.hh"
|
#include "formats/media.hh"
|
||||||
|
|
||||||
uvg_rtp::formats::media::media(uvg_rtp::socket *socket, uvg_rtp::rtp *rtp_ctx, int flags):
|
uvg_rtp::formats::media::media(uvg_rtp::socket *socket, uvg_rtp::rtp *rtp_ctx, int flags):
|
||||||
socket_(socket), rtp_ctx_(rtp_ctx), flags_(flags)
|
socket_(socket), rtp_ctx_(rtp_ctx), flags_(flags)
|
|
@ -1,4 +1,5 @@
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
|
src/formats/media.cc \
|
||||||
src/formats/generic.cc \
|
src/formats/generic.cc \
|
||||||
src/formats/opus.cc \
|
src/formats/opus.cc \
|
||||||
src/formats/hevc.cc \
|
src/formats/hevc.cc \
|
||||||
|
|
Loading…
Reference in New Issue