Using librtmp(rtmpdump),I have these 2 methods in my applications, namely:
RTMP_Connect(RTMP *r,NULL)
and
RTMP_ConnectStream(RTMP *r,0)
to connect to red5 server and publish streams to the server.
When RTMP_ConnectStream(RTMP *r,0)
gets executed, the following error appears in the log
Error: Closing connection: NetStream.Play.Failed
and thus the connection to the server is aborted.
Can someone tell me why does this happen?