Added SDP input
This commit is contained in:
parent
dd2382e858
commit
3e73508a6a
8 changed files with 571 additions and 46 deletions
|
@ -14,6 +14,8 @@ namespace SDP{
|
|||
public:
|
||||
Track();
|
||||
std::string generateTransport(uint32_t trackNo, const std::string &dest = "", bool TCPmode = true);
|
||||
/// Tries to bind a RTP/RTCP UDP port pair
|
||||
bool bindUDPPort(std::string portInfo, std::string hostInfo);
|
||||
std::string getParamString(const std::string ¶m) const;
|
||||
uint64_t getParamInt(const std::string ¶m) const;
|
||||
bool parseTransport(const std::string &transport, const std::string &host,
|
||||
|
@ -55,6 +57,10 @@ namespace SDP{
|
|||
size_t getTrackNoForChannel(uint8_t chan);
|
||||
size_t parseSetup(HTTP::Parser &H, const std::string &host, const std::string &source);
|
||||
void handleIncomingRTP(const uint64_t track, const RTP::Packet &pkt);
|
||||
// Sets up the transport from SDP data
|
||||
bool parseTransport(const std::string &sdpString);
|
||||
// Re-inits internal variables and removes all tracks from meta
|
||||
void reinitSDP();
|
||||
|
||||
public:
|
||||
DTSC::Meta *myMeta;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue