{{define "form/streamKCP"}}
<a-form layout="inline">
    <a-form-item label='{{ i18n "camouflage" }}'>
        <a-select v-model="inbound.stream.kcp.type" style="width: 280px;">
            <a-select-option value="none">None（Not Camouflage）</a-select-option>
            <a-select-option value="srtp">SRTP（Camouflage Video Call）</a-select-option>
            <a-select-option value="utp">UTP（Camouflage BT Download）</a-select-option>
            <a-select-option value="wechat-video">Wechat-Video（Camouflage WeChat Video）</a-select-option>
            <a-select-option value="dtls">DTLS（Camouflage DTLS 1.2 Packages）</a-select-option>
            <a-select-option value="wireguard">Wireguard（Camouflage Wireguard Packages）</a-select-option>
        </a-select>
    </a-form-item>
    <a-form-item label='{{ i18n "password" }}'>
        <a-input v-model.number="inbound.stream.kcp.seed"></a-input>
    </a-form-item>
    <a-form-item label="MTU">
        <a-input type="number" v-model.number="inbound.stream.kcp.mtu"></a-input>
    </a-form-item>
    <a-form-item label="TTI (ms)">
        <a-input type="number" v-model.number="inbound.stream.kcp.tti"></a-input>
    </a-form-item>
    <a-form-item label="Uplink Capacity (MB/S)">
        <a-input type="number" v-model.number="inbound.stream.kcp.upCap"></a-input>
    </a-form-item>
    <a-form-item label="Downlink Capacity (MB/S)">
        <a-input type="number" v-model.number="inbound.stream.kcp.downCap"></a-input>
    </a-form-item>
    <a-form-item label="Congestion">
        <a-switch v-model="inbound.stream.kcp.congestion"></a-switch>
    </a-form-item>
    <a-form-item label="Read Buffer Size (MB)">
        <a-input type="number" v-model.number="inbound.stream.kcp.readBuffer"></a-input>
    </a-form-item>
    <a-form-item label="Write Buffer Size (MB)">
        <a-input type="number" v-model.number="inbound.stream.kcp.writeBuffer"></a-input>
    </a-form-item>
</a-form>
{{end}}