1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

rtc framework

This commit is contained in:
xiaozhihong 2020-02-28 23:18:39 +08:00
parent 51abb0844e
commit 62563bdd81
14 changed files with 448 additions and 372 deletions

View file

@ -10,17 +10,17 @@ SrsStunPacket::~SrsStunPacket()
{
}
string SrsStunPacket::username()
string SrsStunPacket::ufrag()
{
return "";
}
string SrsStunPacket::password()
string SrsStunPacket::pwd()
{
return "";
}
srs_error_t SrsStunPacket::decode(const char* buf, const int& nb_buf)
srs_error_t SrsStunPacket::decode(const char* buf, const int nb_buf)
{
srs_error_t err = srs_success;

View file

@ -29,15 +29,16 @@
#include <srs_core.hpp>
#include <srs_kernel_error.hpp>
class SrsStunPacket {
class SrsStunPacket
{
public:
SrsStunPacket();
virtual ~SrsStunPacket();
std::string username();
std::string password();
std::string ufrag();
std::string pwd();
srs_error_t decode(const char* buf, const int& nb_buf);
srs_error_t decode(const char* buf, const int nb_buf);
};
#endif