1
0
Fork 0
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:
winlin 2014-03-02 13:06:21 +08:00
parent 86267f854c
commit 76f37baafe
2 changed files with 102 additions and 7 deletions

View file

@ -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();