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

RTC: Pithy print the address change

This commit is contained in:
winlin 2020-07-27 12:28:15 +08:00
parent a035d312f9
commit 5f7d1e2c5b
4 changed files with 20 additions and 8 deletions

View file

@ -59,6 +59,7 @@ class SrsRtpRingBuffer;
class SrsRtcConsumer;
class SrsRtcAudioSendTrack;
class SrsRtcVideoSendTrack;
class SrsErrorPithyPrint;
const uint8_t kSR = 200;
const uint8_t kRR = 201;
@ -347,6 +348,8 @@ private:
int twcc_id_;
// Simulators.
int nn_simulate_player_nack_drop;
// Pithy print for address change, use port as error code.
SrsErrorPithyPrint* pp_address_change;
public:
SrsRtcConnection(SrsRtcServer* s, SrsContextId context_id);
virtual ~SrsRtcConnection();