Just experience. Read the RTMP documentation, and try to find a playpath, swfurl and pageurl for each stream. Many streams with file extensions work by just adding the playpath to the end of the rtmp part as yours did.