1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00

RTC: Eliminate unused code

This commit is contained in:
winlin 2021-05-07 10:57:22 +08:00
parent 4527a91545
commit 46c980c70a

View file

@ -223,7 +223,6 @@ private:
private: private:
SrsRequest* req_; SrsRequest* req_;
SrsRtcStream* source_; SrsRtcStream* source_;
SrsHourGlass* timer_;
// key: publish_ssrc, value: send track to process rtp/rtcp // key: publish_ssrc, value: send track to process rtp/rtcp
std::map<uint32_t, SrsRtcAudioSendTrack*> audio_tracks_; std::map<uint32_t, SrsRtcAudioSendTrack*> audio_tracks_;
std::map<uint32_t, SrsRtcVideoSendTrack*> video_tracks_; std::map<uint32_t, SrsRtcVideoSendTrack*> video_tracks_;
@ -292,7 +291,6 @@ class SrsRtcPublishStream : public ISrsFastTimer, public ISrsRtpPacketDecodeHand
{ {
private: private:
SrsContextId cid_; SrsContextId cid_;
SrsHourGlass* timer_;
uint64_t nn_audio_frames; uint64_t nn_audio_frames;
SrsRtcPLIWorker* pli_worker_; SrsRtcPLIWorker* pli_worker_;
SrsErrorPithyPrint* twcc_epp_; SrsErrorPithyPrint* twcc_epp_;
@ -415,7 +413,6 @@ private:
SrsRtcServer* server_; SrsRtcServer* server_;
SrsRtcConnectionStateType state_; SrsRtcConnectionStateType state_;
ISrsRtcTransport* transport_; ISrsRtcTransport* transport_;
SrsHourGlass* timer_;
private: private:
iovec* cache_iov_; iovec* cache_iov_;
SrsBuffer* cache_buffer_; SrsBuffer* cache_buffer_;