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

For #1638, #307, should check error by fetch_or_create source

This commit is contained in:
winlin 2020-03-17 18:24:28 +08:00
parent ed2996141c
commit 0ff8a3761b
2 changed files with 13 additions and 5 deletions

View file

@ -230,7 +230,7 @@ public:
public:
bool is_stun_timeout() { return last_stun_time + kSrsRtcSessionStunTimeoutUs < srs_get_system_time(); }
private:
void check_source();
srs_error_t check_source();
private:
srs_error_t on_binding_request(SrsUdpMuxSocket* udp_mux_skt, SrsStunPacket* stun_req);
private: