mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add chad.wang to authors for srs-librtmp on windows build project
This commit is contained in:
parent
a63a3812e3
commit
a2f317a113
5 changed files with 56 additions and 3 deletions
|
@ -38,6 +38,7 @@ using namespace std;
|
|||
#include <srs_protocol_rtmp.hpp>
|
||||
#include <srs_app_dvr.hpp>
|
||||
#include <srs_kernel_stream.hpp>
|
||||
#include <srs_app_edge.hpp>
|
||||
|
||||
#define CONST_MAX_JITTER_MS 500
|
||||
#define DEFAULT_FRAME_TIME_MS 40
|
||||
|
@ -455,6 +456,7 @@ SrsSource::SrsSource(SrsRequest* _req)
|
|||
frame_rate = sample_rate = 0;
|
||||
_can_publish = true;
|
||||
|
||||
edge = new SrsEdge();
|
||||
gop_cache = new SrsGopCache();
|
||||
|
||||
_srs_config->subscribe(this);
|
||||
|
@ -487,6 +489,7 @@ SrsSource::~SrsSource()
|
|||
srs_freep(cache_sh_video);
|
||||
srs_freep(cache_sh_audio);
|
||||
|
||||
srs_freep(edge);
|
||||
srs_freep(gop_cache);
|
||||
|
||||
#ifdef SRS_AUTO_HLS
|
||||
|
@ -1177,8 +1180,7 @@ bool SrsSource::is_atc()
|
|||
|
||||
int SrsSource::on_edge_play_stream()
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
return ret;
|
||||
return edge->on_client_play();
|
||||
}
|
||||
|
||||
int SrsSource::create_forwarders()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue