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

fixbug[play packet decode bug: srs only read bool type play reset value, actually this value can be bool or number]

This commit is contained in:
wenjiegit 2014-01-02 14:16:26 +08:00
parent 276b60200f
commit f8a7db51f2
25 changed files with 2 additions and 278 deletions

View file

@ -446,17 +446,7 @@ int SrsRtmpClient::publish(string stream, int stream_id)
}
}
return ret;
}
SrsProtocol *SrsRtmpClient::get_protocol()
{
return protocol;
}
st_netfd_t SrsRtmpClient::get_st_fd()
{
return stfd;
return ret;
}
SrsRtmp::SrsRtmp(st_netfd_t client_stfd)

View file

@ -131,10 +131,6 @@ public:
virtual int create_stream(int& stream_id);
virtual int play(std::string stream, int stream_id);
virtual int publish(std::string stream, int stream_id);
protected:
SrsProtocol* get_protocol();
st_netfd_t get_st_fd();
};
/**