[Libav-user] Can't open a Haivision Open SRT stream

Deron deron at pagestream.org
Fri Dec 20 23:40:03 EET 2024


I have a streaming program I wrote that can create live streams a number 
of ways, (thanks to libav!) it will play files one after the other, 
restream content from other streams, capture from tv tuners, etc. The 
restreaming from a variety of formats such as HLS works just fine. 
However, today I attempted to restream a private SRT that works fine 
from within the ffmpeg app using something as simple as "ffmpeg -i 
srt:192.168.100.100:5425?passphrase=abc123xyz789 test.mkv". However, 
when I attempt to pull from that stream using my own app, libav fails to 
connect and throws errors like:

14:35:11.195497/home-player*E:SRT.ea: EID:3 no sockets to check, this 
would deadlock
[srt @ 0x7fffb8001500] Operation not supported: All sockets removed from 
epoll, waiting would deadlock
[srt @ 0x7fffb8001500] Connection 
to srt:192.168.100.100:5425?passphrase=abc123xyz789 failed: Unknown 
error occurred
[srt @ 0x7fffc4001500] Connection 
to srt:192.168.100.100:5425?passphrase=abc123xyz789 failed: Connection 
timed out
14:35:19.451678/SRT:RcvQ:w7!W:SRT.cn: @780412091: 
processConnectResponse: rejecting per reception of a rejection HS 
response: ERROR:UNKNOWN
14:35:19.451740/SRT:RcvQ:w7!W:SRT.cn: @780412091: 
processAsyncConnectRequest: REJECT reported from HS processing: Unknown 
or erroneous - not processing further

I can only presume that I need to initialize something or pass 
something, but I need a bigger clue! What unknowns need be known?

The code that opens and processed the stream is closely based on the 
various samples given with ffmpeg.

Thanks for any guidance you can provide.

Deron



More information about the Libav-user mailing list