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

Fix #2362: Allow WebRTC to play before publishing, for GB28181 as such. 4.0.117

This commit is contained in:
root 2021-05-18 15:57:22 +08:00 committed by winlin
parent ef617b5fc6
commit d55af6be44
4 changed files with 68 additions and 41 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: