Guest User

Untitled

a guest
Jul 16th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. ...
  2. //from flex client
  3. NetConnection nc = new NetConnection();
  4. nc.connect("rtmp://localhost/firstApp"); - connected, works
  5.  
  6. //from libRTMP
  7.  
  8. RTMP* r = RTMP_Alloc();
  9. retVal = RTMP_SetupURL(r, "rtmp://localhost/firstApp");
  10. retVal = RTMP_Connect(r, NULL); - no connection
  11.  
  12. retVal = RTMP_SetupURL(r, "rtmp://localhost:1935/firstApp");
  13. retVal = RTMP_Connect(r, NULL); - still no connection
  14.  
  15. //The same thing works fine for Red5 "live" application
  16.  
  17. retVal = RTMP_SetupURL(r, "rtmp://localhost:1935/live/instance");
  18. retVal = RTMP_Connect(r, NULL); - works, connected
Add Comment
Please, Sign In to add comment