mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add chad.wang to authors for srs-librtmp on windows build project
This commit is contained in:
parent
a63a3812e3
commit
a2f317a113
5 changed files with 56 additions and 3 deletions
|
@ -30,4 +30,34 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_core.hpp>
|
||||
|
||||
#endif
|
||||
/**
|
||||
* the state of edge
|
||||
*/
|
||||
enum SrsEdgeState
|
||||
{
|
||||
SrsEdgeStateInit = 0,
|
||||
SrsEdgeStatePlay = 100,
|
||||
SrsEdgeStatePublish,
|
||||
SrsEdgeStateConnected,
|
||||
SrsEdgeStateAborting,
|
||||
SrsEdgeStateReloading,
|
||||
};
|
||||
|
||||
/**
|
||||
* edge control service.
|
||||
*/
|
||||
class SrsEdge
|
||||
{
|
||||
private:
|
||||
SrsEdgeState state;
|
||||
public:
|
||||
SrsEdge();
|
||||
virtual ~SrsEdge();
|
||||
public:
|
||||
/**
|
||||
* when client play stream on edge.
|
||||
*/
|
||||
virtual int on_client_play();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue