rtmp - problem connecting to red5 "firstApp" from librtmp -


i trying connect red5 tutorial "firstapp" application librtmp client. note can connect flex client, tutorial describes:

... //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 red5 "live" application  retval = rtmp_setupurl(r, "rtmp://localhost:1935/live/instance"); retval = rtmp_connect(r, null); - works, connected 

any ideas problem might be? thank you, -v

can take @ logs? perhaps librtmp still send "live" name of application.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -