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

rtc session distinguish play and publish

This commit is contained in:
xiaozhihong 2020-04-24 00:06:59 +08:00
parent 1951cc8e5f
commit 775065175a
4 changed files with 84 additions and 41 deletions

View file

@ -358,6 +358,7 @@ public:
srs_error_t send_client_hello(SrsUdpMuxSocket* skt);
srs_error_t on_connection_established(SrsUdpMuxSocket* skt);
srs_error_t start_play(SrsUdpMuxSocket* skt);
srs_error_t start_publish(SrsUdpMuxSocket* skt);
public:
bool is_stun_timeout();
private: