diff --git a/trunk/src/app/srs_app_gb28181.hpp b/trunk/src/app/srs_app_gb28181.hpp index 4793708b0..3f215b1d9 100644 --- a/trunk/src/app/srs_app_gb28181.hpp +++ b/trunk/src/app/srs_app_gb28181.hpp @@ -347,6 +347,8 @@ private: // Interface ISrsOneCycleThreadHandler public: virtual srs_error_t cycle(); +// Interface ISrsConnection. +public: virtual std::string remote_ip(); virtual const SrsContextId& get_id(); virtual std::string desc(); diff --git a/trunk/src/app/srs_app_gb28181_sip.hpp b/trunk/src/app/srs_app_gb28181_sip.hpp index 6e5eb393d..d3480fe9b 100644 --- a/trunk/src/app/srs_app_gb28181_sip.hpp +++ b/trunk/src/app/srs_app_gb28181_sip.hpp @@ -142,7 +142,9 @@ public: // Interface ISrsOneCycleThreadHandler public: - virtual srs_error_t cycle(); + virtual srs_error_t cycle(); +// Interface ISrsConnection. +public: virtual std::string remote_ip(); virtual const SrsContextId& get_id(); virtual std::string desc(); diff --git a/trunk/src/utest/srs_utest_service.hpp b/trunk/src/utest/srs_utest_service.hpp index 96a0c01ab..ab4ed8ea3 100644 --- a/trunk/src/utest/srs_utest_service.hpp +++ b/trunk/src/utest/srs_utest_service.hpp @@ -40,6 +40,8 @@ public: public: MockSrsConnection(); virtual ~MockSrsConnection(); +// Interface ISrsConnection. +public: virtual const SrsContextId& get_id(); virtual std::string desc(); virtual std::string remote_ip();