View Single Post
  #171  
Old 01-23-2014, 09:33 AM
gorilla.maguila gorilla.maguila is offline
Member
 
Join Date: Dec 2012
Posts: 62
gorilla.maguila is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


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?
Reply With Quote