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

RTC: Reorder functions

This commit is contained in:
winlin 2020-08-13 13:38:55 +08:00
parent ed95124743
commit f79dcc9ae3
2 changed files with 213 additions and 213 deletions

View file

@ -119,12 +119,12 @@ public:
srs_error_t on_dtls(char* data, int nb_data);
private:
srs_error_t do_on_dtls(char* data, int nb_data);
srs_error_t do_handshake();
void trace(uint8_t* data, int length, bool incoming);
public:
srs_error_t get_srtp_key(std::string& recv_key, std::string& send_key);
private:
SSL_CTX* build_dtls_ctx();
srs_error_t do_handshake();
};
class SrsSRTP