mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
remove the edge message flag, use directly send mode
This commit is contained in:
parent
5ddc71685b
commit
2295ebb346
2 changed files with 0 additions and 7 deletions
|
@ -313,7 +313,6 @@ SrsEdgeProxyContext::SrsEdgeProxyContext()
|
|||
edge_io = NULL;
|
||||
edge_rtmp = NULL;
|
||||
edge_stfd = NULL;
|
||||
edge_got_message = false;
|
||||
|
||||
origin_stream_id = 0;
|
||||
origin_io = NULL;
|
||||
|
@ -408,8 +407,6 @@ int SrsEdgeForwarder::proxy(SrsEdgeProxyContext* context)
|
|||
context->origin_rtmp->set_recv_timeout(SRS_RECV_TIMEOUT_US);
|
||||
context->edge_rtmp->set_recv_timeout(SRS_RECV_TIMEOUT_US);
|
||||
|
||||
context->edge_got_message = false;
|
||||
|
||||
SrsPithyPrint pithy_print(SRS_STAGE_EDGE);
|
||||
|
||||
pollfd fds[2];
|
||||
|
@ -478,7 +475,6 @@ int SrsEdgeForwarder::proxy_origin_message(SrsEdgeProxyContext* context)
|
|||
srs_assert(msg);
|
||||
|
||||
if (msg->size <= 0
|
||||
|| !context->edge_got_message
|
||||
|| msg->header.is_set_chunk_size()
|
||||
|| msg->header.is_window_ackledgement_size()
|
||||
|| msg->header.is_ackledgement()
|
||||
|
@ -511,8 +507,6 @@ int SrsEdgeForwarder::proxy_edge_message(SrsEdgeProxyContext* context)
|
|||
|
||||
srs_assert(msg);
|
||||
|
||||
//context->edge_got_message = true;
|
||||
|
||||
if (msg->size <= 0
|
||||
|| msg->header.is_set_chunk_size()
|
||||
|| msg->header.is_window_ackledgement_size()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue