mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
rtc framework
This commit is contained in:
parent
51abb0844e
commit
62563bdd81
14 changed files with 448 additions and 372 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue