I was able to fix the problem I described in private message.
I am on Windows I was able to attach debugger and reproduced crash multiple times in same place:
Code:
...
if (server->f_cur && server->rc.m_mediaChannel && !paused)
{
> server->rc.m_pauseStamp = server->rc.m_channelTimestamp[server->rc.m_mediaChannel];
if (RTMP_ToggleStream(&server->rc))
{
I checked if server is 0 but it didn't help, so I just called inside this if:
and it works, no more crashes with rtmpdumphelper
I think in some cases this server structure is messed up and crash happens