mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine source, rename req to _req
This commit is contained in:
parent
a2f317a113
commit
b0951d36d3
5 changed files with 51 additions and 35 deletions
|
@ -30,6 +30,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_core.hpp>
|
||||
|
||||
class SrsRequest;
|
||||
|
||||
/**
|
||||
* the state of edge
|
||||
*/
|
||||
|
@ -49,11 +51,13 @@ enum SrsEdgeState
|
|||
class SrsEdge
|
||||
{
|
||||
private:
|
||||
SrsRequest* _req;
|
||||
SrsEdgeState state;
|
||||
public:
|
||||
SrsEdge();
|
||||
virtual ~SrsEdge();
|
||||
public:
|
||||
virtual int initialize(SrsRequest* req);
|
||||
/**
|
||||
* when client play stream on edge.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue