I don't think you have to check the extension here, I've never noticed any problems with appending swfUrl etc to an unencrypted rtmp stream.