AirenSoft / OvenMediaEngine

OvenMediaEngine (OME) is a Sub-Second Latency Live Streaming Server with Large-Scale and High-Definition. #WebRTC #LLHLS
https://airensoft.com/ome.html
GNU Affero General Public License v3.0
2.61k stars 1.06k forks source link

Errors when running latest build #11

Closed valkoivanov closed 5 years ago

valkoivanov commented 5 years ago

Hello, trying to run latest version screenshot from 2019-01-09 20-01-37 screenshot from 2019-01-09 20-03-29 Server.xml.txt

of OME got following error:

[01-09 20:10:54.656] I 8197 MediaRouter | media_router.cpp:61 | Media router is started. [01-09 20:10:54.658] E 8197 Socket | socket.cpp:186 | [0x5590c1ea5660] [#7] Could not bind to [v4] 0.0.0.0:80 (-1) [01-09 20:10:54.658] E 8197 Socket | socket.cpp:638 | [#2] Invalid state: 1 (expected: _state(1) == SocketState::Listening)

The above error happens with and without Apache2 service running.

When started OBS streaming got following error (multiple times):

[01-09 20:14:17.629] E 8513 TranscodeCodec | transcode_codec_dec_avc.cpp:78 | DecodeFrameNoDelay failed, state=4,len=61 [01-09 20:14:17.652] E 8513 TranscodeCodec | transcode_codec_dec_avc.cpp:78 | DecodeFrameNoDelay failed, state=4,len=37 ...

I'm hoping you can help me with this issue

Regards,

Valko Ivanov

sfreet commented 5 years ago
  1. Are you sure that your system does not use port 80? Please check your port with "netstat -na | grep :80" or "lsof -i :80" command in terminal For sure, you can change it another port as follows

    <HLS>
    <IP>192.168.0.50</IP>
    <Port>9999</Port>
    </HLS>
    <DASH>
    <IP>192.168.0.50</IP>
    <Port>9999</Port>
    </DASH>
  2. What is the encoding profile of OBS studio setting? (main or high or baseline) If it's not a baseline, try changing it to baseline.

sfreet commented 5 years ago

I close this issue. If the issue is not resolved, please let me know again.

crcorrea commented 4 years ago

HI, socket error when starting ovenmediaengine 2020-03-21

dimiden commented 4 years ago

@crcorrea Other daemons using ports 1935 and 80 seem to be running. Execute the following command to terminate the process using the port or change the port used by OvenMediaEngine.

$ sudo netstat -plnt | grep -e ":1935" -e ":80"
tcp        0      0 0.0.0.0:1935            0.0.0.0:*               LISTEN      26583/./OvenMediaEn
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      26583/./OvenMediaEn