package zello

import com.fasterxml.jackson.annotation.JsonPropertyOrder

@Suppress("unused")
@JsonPropertyOrder(value=["command","seq","channels","type","codec","codec_header","packet_duration","For"])
class StartStreamCommand(val seq: Int, val channels: String, val packet_duration: Int=20, val For:String ) {
    val command: String = "start_stream"
    val type: String = "audio"
    val codec: String = "opus"
    val codec_header: String ="gD4BPA==" // base64 encoded header for [opus codec header](https://github.com/zelloptt/zello-channel-api/blob/master/API.md#codec_header-attribute)
}