mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix the stream caster build failed bug.
This commit is contained in:
parent
50feaacdde
commit
b3b6df365e
3 changed files with 21 additions and 3 deletions
|
@ -4418,3 +4418,18 @@ bool srs_config_dvr_is_plan_append(string plan)
|
|||
{
|
||||
return plan == SRS_CONF_DEFAULT_DVR_PLAN_APPEND;
|
||||
}
|
||||
|
||||
bool srs_stream_caster_is_udp(string caster)
|
||||
{
|
||||
return caster == SRS_CONF_DEFAULT_STREAM_CASTER_MPEGTS_OVER_UDP;
|
||||
}
|
||||
|
||||
bool srs_stream_caster_is_rtsp(string caster)
|
||||
{
|
||||
return caster == SRS_CONF_DEFAULT_STREAM_CASTER_RTSP;
|
||||
}
|
||||
|
||||
bool srs_stream_caster_is_flv(string caster)
|
||||
{
|
||||
return caster == SRS_CONF_DEFAULT_STREAM_CASTER_FLV;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue