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

RTC: Move source to play stream

This commit is contained in:
winlin 2020-08-06 13:51:12 +08:00
parent 994c53b6c1
commit b070e5aa05
2 changed files with 32 additions and 24 deletions

View file

@ -168,6 +168,8 @@ private:
SrsCoroutine* trd;
SrsRtcConnection* session_;
private:
SrsRequest* req_;
SrsRtcStream* source_;
SrsHourGlass* timer_;
// key: publish_ssrc, value: send track to process rtp/rtcp
std::map<uint32_t, SrsRtcAudioSendTrack*> audio_tracks_;
@ -346,7 +348,6 @@ private:
// TODO: FIXME: Support reload.
bool encrypt;
SrsRequest* req;
SrsRtcStream* source_;
SrsSdp remote_sdp;
SrsSdp local_sdp;
private: