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

SquashSRS4: Allow RTC play before publish.

This commit is contained in:
winlin 2021-05-19 21:06:17 +08:00
parent 442cf615c0
commit f043a7eb48
6 changed files with 79 additions and 43 deletions

View file

@ -209,6 +209,9 @@ public:
virtual ~SrsRtcSource();
public:
virtual srs_error_t initialize(SrsRequest* r);
private:
void init_for_play_before_publishing();
public:
// Update the authentication information in request.
virtual void update_auth(SrsRequest* r);
private: