Edward-Wu / srt-live-server

srt live server for low latency
Other
654 stars 196 forks source link

open sls socket err #47

Open ggouxiong opened 4 years ago

ggouxiong commented 4 years ago

2020-06-29 11:15:23:135 SLS INFO: [0x9e19c0]CSLSManager::start, new m_list_role=0x9e01b0. 2020-06-29 11:15:23:135 SLS INFO: [0x7f931e541010]CSLSListener::start... 2020-06-29 11:15:23:135 SLS INFO: [0x7f931e541010]CSLSListener::init_conf_app, m_back_log=100, m_idle_streams_timeout=10. 2020-06-29 11:15:23:135 SLS INFO: [0x7f931e541010]CSLSListener::init_conf_app, add app push 'uplive.sls.com/live'. 2020-06-29 11:15:23:135 SLS INFO: [0x7f931e541010]CSLSListener::init_conf_app, add app live='live.sls.com/live', app push='uplive.sls.com/live'. 2020-06-29 11:15:23:135 SLS INFO: [0x7f931e541010]CSLSListener::init_conf_app, add app live='live-1.sls.com/live', app push='uplive.sls.com/live'. 2020-06-29 11:15:23:135 SLS INFO: [0x9dca60]CSLSSrt::libsrt_setup, fd=208459879. 2020-06-29 11:15:23:135 SLS INFO: [0x7f931e541010]CSLSListener::start, libsrt_setup ok. 2020-06-29 11:15:23:135 SLS ERROR: [0x9dca60]CSLSSrt::libsrt_setsockopt, failed to set option SRTO_LATENCY on socket: Operation not supported: Cannot do this operation on a BOUND socket

2020-06-29 11:15:23:135 SLS INFO: [0x7f931e541010]CSLSListener::start, libsrt_setsockopt latency=20 failure. 2020-06-29 11:15:23:135 SLS INFO: [0x9e19c0]CSLSManager::start, p->start failed. 2020-06-29 11:15:23:135 SLS INFO: sls_manager->start failed, EXIT! 2020-06-29 11:15:23:135 SLS INFO: exit, stop srt live server... 2020-06-29 11:15:23:135 SLS INFO: [0x9e19c0]CSLSManager::stop. 2020-06-29 11:15:23:135 SLS INFO: [0x9dc7f8]CSLSMapPublisher::clear. 2020-06-29 11:15:23:135 SLS INFO: [0x9dc8e8]CSLSMapRelay::clear. 2020-06-29 11:15:23:135 SLS INFO: [0x9dc9a8]CSLSMapRelay::clear. 2020-06-29 11:15:23:135 SLS INFO: [0x9e19c0]CSLSManager::stop, release rolelist, size=0. 2020-06-29 11:15:23:135 SLS INFO: exit, release sls_manager ok. 2020-06-29 11:15:23:135 SLS INFO: exit, release reload_manager_list begin,count=0. 2020-06-29 11:15:23:135 SLS INFO: exit, release reload_manager_list ok. 2020-06-29 11:15:23:135 SLS INFO: exit, release http_stat_client. 2020-06-29 11:15:23:135 SLS INFO: exit, uninit srt . 2020-06-29 11:15:23:137 SLS INFO: exit, close conf. 2020-06-29 11:15:23:137 SLS INFO: exit, bye bye!

i don't know why i got this? socket err

Edward-Wu commented 4 years ago

this is a compatibility issue of new SRT version, please download the new version of SLS which is compatible with this issue.