mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
srs-librtmp: implements the simple socket stream.
This commit is contained in:
parent
86267f854c
commit
76f37baafe
2 changed files with 102 additions and 7 deletions
|
@ -39,6 +39,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
class SimpleSocketStream : public ISrsProtocolReaderWriter
|
||||
{
|
||||
private:
|
||||
int64_t start_time_ms;
|
||||
int64_t recv_timeout;
|
||||
int64_t send_timeout;
|
||||
int64_t recv_bytes;
|
||||
int64_t send_bytes;
|
||||
int fd;
|
||||
public:
|
||||
SimpleSocketStream();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue