mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Refine play stream find track. 4.0.102
This commit is contained in:
parent
b823dcdfd7
commit
4527a91545
4 changed files with 62 additions and 31 deletions
|
@ -65,6 +65,7 @@ class SrsErrorPithyPrint;
|
|||
class SrsPithyPrint;
|
||||
class SrsStatistic;
|
||||
class SrsRtcUserConfig;
|
||||
class SrsRtcSendTrack;
|
||||
|
||||
const uint8_t kSR = 200;
|
||||
const uint8_t kRR = 201;
|
||||
|
@ -228,6 +229,14 @@ private:
|
|||
std::map<uint32_t, SrsRtcVideoSendTrack*> video_tracks_;
|
||||
// The pithy print for special stage.
|
||||
SrsErrorPithyPrint* nack_epp;
|
||||
private:
|
||||
// Fast cache for tracks.
|
||||
uint32_t cache_ssrc0_;
|
||||
uint32_t cache_ssrc1_;
|
||||
uint32_t cache_ssrc2_;
|
||||
SrsRtcSendTrack* cache_track0_;
|
||||
SrsRtcSendTrack* cache_track1_;
|
||||
SrsRtcSendTrack* cache_track2_;
|
||||
private:
|
||||
// For merged-write messages.
|
||||
int mw_msgs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue