18:57
I am opening a network file via HTTPS like this:
avformat_open_input(&m_format, "https://www.example.com/file.mp4", nullptr, nullptr);
It works, however sometimes connection is closed and this is logged:
[tls ⓐ 0x7f600ba690] Error in the pull function.
[tls ⓐ 0x7f600ba690] IO error: Connection reset by peer
[mov,mp4,m4a,3gp,3g2,mj2 ⓐ 0x7f6007e450] Packet corrupt (stream = 0, dts = 24188928).
[aac ⓐ 0x7f60324800] Input buffer exhausted before END element found
I found it possible to setup reconnection by logs from this post. Here are their (...)