Question
LibRtmp streaming to and from FMS
Hello,
I have some C++ code for LibRtmp. I am unable to connect to fms. Does anyone have experience with this?
char *uri = "rtmp://127.0.0.1:1935/myapp";
r = RTMP_Alloc();
RTMP_Init(r);
int retSetup = RTMP_SetupURL(r, uri);
if(writer)
{
RTMP_EnableWrite(r);
}
int retConn = RTMP_Connect(r, 0);
int retTest = RTMP_IsConnected(r);
int retConnStream = RTMP_ConnectStream(r,0);
int retTest2 = RTMP_IsConnected(r);
