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

Refactor RTC sender, donot cache it.

This commit is contained in:
winlin 2020-04-30 18:19:40 +08:00
parent fdcff3e6c2
commit efbc51f6be
2 changed files with 7 additions and 10 deletions

View file

@ -208,8 +208,6 @@ private:
uint16_t audio_sequence;
private:
uint16_t video_sequence;
private:
ISrsUdpSender* sender;
private:
bool merge_nalus;
bool gso;
@ -223,7 +221,6 @@ public:
virtual ~SrsRtcSenderThread();
public:
srs_error_t initialize(const uint32_t& vssrc, const uint32_t& assrc, const uint16_t& v_pt, const uint16_t& a_pt);
void update_sender(ISrsUdpSender* s) { sender = s; }
// interface ISrsReloadHandler
public:
virtual srs_error_t on_reload_rtc_server();