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

For #1684, Prevent stop ingest for multiple times. 3.0.143

This commit is contained in:
winlin 2020-09-14 20:48:44 +08:00
parent 0aecc063e0
commit 905444a1c7
4 changed files with 11 additions and 7 deletions

View file

@ -56,10 +56,12 @@ enum SrsEdgeState
SrsEdgeStatePlay = 100,
// play stream from origin, ingest stream
SrsEdgeStateIngestConnected = 101,
SrsEdgeStateIngestStoping = 1000,
// For publish edge
SrsEdgeStatePublish = 200,
// We are stopping edge ingesting.
SrsEdgeStateIngestStopping = 300,
};
// The state of edge from user, manual machine