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:
parent
cef1ba9385
commit
e4329fd1a0
3 changed files with 31 additions and 20 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue