lib5Tutorial "firstApp"응용 프로그램에 libRTMP 클라이언트로 연결하려고합니다. 내가 튜토리얼로, 플렉스 클라이언트에서 연결할 수 참고 설명 :librtmp에서 red5 "firstApp"에 연결하는 중 문제가 발생했습니다.
...
//from flex client
NetConnection nc = new NetConnection();
nc.connect("rtmp://localhost/firstApp"); - connected, works
//from libRTMP
RTMP* r = RTMP_Alloc();
retVal = RTMP_SetupURL(r, "rtmp://localhost/firstApp");
retVal = RTMP_Connect(r, NULL); - no connection
retVal = RTMP_SetupURL(r, "rtmp://localhost:1935/firstApp");
retVal = RTMP_Connect(r, NULL); - still no connection
//The same thing works fine for Red5 "live" application
retVal = RTMP_SetupURL(r, "rtmp://localhost:1935/live/instance");
retVal = RTMP_Connect(r, NULL); - works, connected
어떤 아이디어 문제가 무엇인지? 감사합니다. -V
로그를 볼 수 있습니까? 아마도 librtmp는 여전히 응용 프로그램의 이름으로 "라이브"를 보냅니다. 아니요, wireshark로 확인했습니다 ... red5 webapps 디렉토리에 "firstApp"라는 설치 및 구성된 응용 프로그램이 있습니까? 예 – user270398