mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine source, rename req to _req
This commit is contained in:
parent
a2f317a113
commit
b0951d36d3
5 changed files with 51 additions and 35 deletions
|
@ -24,6 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include <srs_app_edge.hpp>
|
||||
|
||||
#include <srs_kernel_error.hpp>
|
||||
#include <srs_protocol_rtmp.hpp>
|
||||
|
||||
SrsEdge::SrsEdge()
|
||||
{
|
||||
|
@ -34,6 +35,15 @@ SrsEdge::~SrsEdge()
|
|||
{
|
||||
}
|
||||
|
||||
int SrsEdge::initialize(SrsRequest* req)
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
_req = req;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
int SrsEdge::on_client_play()
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue