A Baichuan parameter: a named top-level element of <body>.
Exported codecs are annotated with their value type, which keeps the public API explicit and makes the compiler check the field codecs against it:
export type RtspPort = { rtspPort: number; enable: number }; export const rtspPort: XmlParam<"RtspPort", RtspPort> = xmlParam( "RtspPort", { rtspPort: int(), enable: int() }, );