Don't like ads? PRO users don't see any ads ;-)
Guest

rtmpsupp

By: a guest on Apr 26th, 2012  |  syntax: C++  |  size: 0.46 KB  |  hits: 45  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. if ( (strncmp(filename, "http://", 7)) == 0 || (strncmp(filename, "udp://", 6)) == 0 || (strncmp(filename, "rtp://", 6)) == 0  || (strncmp(filename, "https://", 8)) == 0 || (strncmp(filename, "mms://", 6)) == 0 || (strncmp(filename, "rtsp://", 7)) == 0 || (strncmp(filename, "rtmp://", 7)) == 0 || (strncmp(filename, "rtmpt://", 8)) == 0 || (strncmp(filename, "rtmpe://", 8)) == 0 || (strncmp(filename, "rtmpte://", 9)) == 0 || (strncmp(filename, "rtmps://", 8)) == 0)