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

RTC: Remove source from conneciton init.

This commit is contained in:
winlin 2020-08-07 15:45:18 +08:00
parent cf46779ad9
commit b0590ef4fe
4 changed files with 11 additions and 13 deletions

View file

@ -109,7 +109,7 @@ public:
private:
srs_error_t do_create_session(
SrsRtcConnection* session, SrsRequest* req, const SrsSdp& remote_sdp, SrsSdp& local_sdp,
const std::string& mock_eip, bool publish, bool dtls, bool srtp, SrsRtcStream* source
const std::string& mock_eip, bool publish, bool dtls, bool srtp
);
public:
// We start offering, create_session2 to generate offer, setup_session2 to handle answer.