I was trying to figure out why a simple rtmpdump command was blocking with message:
Code:
onStatus.............level...error..code...NetConnection.Connect.Rejected
Then I realized that the error can be handled, avoiding blocking, adding:
Code:
if (AVMATCH(&code, &av_NetStream_Failed)
|| AVMATCH(&code, &av_NetStream_Play_Failed)
|| AVMATCH(&code, &av_NetStream_Play_StreamNotFound)
|| AVMATCH(&code, &av_NetConnection_Connect_Rejected)
|| AVMATCH(&code, &av_NetConnection_Connect_InvalidApp))
Does anybody know why this isn't included by default?