package zello

import com.fasterxml.jackson.annotation.JsonPropertyOrder

@Suppress("unused")
@JsonPropertyOrder(value = ["command", "type", "codec", "codec_header", "packet_duration", "stream_id", "channel", "from", "for"])
class Event_OnStreamStart {
    var command: String = ""    // must be "on_stream_start"
    var type: String = ""       // must be "audio"
    var codec: String = ""      // must be "opus"
    var codec_header: String = ""
    var packet_duration: Int = 0 // in milliseconds
    var stream_id: Int = 0
    var channel: String=""
    var from: String = "" // the user who started the stream
    var For: String = ""    // the user who is receiving the stream, should be "for" not "For"
}