{"success":true,"data":{"ext":"rm","name":"RealMedia streaming media file","description":"RealMedia (RM) is a multimedia container format created and maintained by RealNetworks for streaming audio and video. It was used for internet media delivery, especially in older web players, broadcasting systems, and downloadable clips distributed through RealPlayer. The format is now largely legacy, and files from untrusted sources should still be handled with standard caution, although the format itself is not typically associated with high security risk.","mime":["application/vnd.rn-realmedia"],"risk_level":"Safe","signatures":[{"hex":"2E 52 4D 46","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["rmvb","mxf","asf","mp4","wmv","3g2"],"usage":{"python":"def is_rm(file_path: str) -> bool:\n    \"\"\"Check if file is a valid RM by magic bytes.\"\"\"\n    signature = bytes([0x2E, 0x52, 0x4D, 0x46])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isRM(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x2E, 0x52, 0x4D, 0x46]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsRM(data []byte) bool {\n    signature := []byte{0x2E, 0x52, 0x4D, 0x46}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Video"}}