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

Refactor RTC, create source once

This commit is contained in:
winlin 2020-04-26 19:00:36 +08:00
parent cef1ba9385
commit e4329fd1a0
3 changed files with 31 additions and 20 deletions

View file

@ -354,6 +354,7 @@ public:
void switch_to_context();
public:
srs_error_t initialize();
srs_error_t on_stun(SrsUdpMuxSocket* skt, SrsStunPacket* stun_req);
srs_error_t on_dtls(SrsUdpMuxSocket* skt);
srs_error_t on_rtcp(SrsUdpMuxSocket* skt);