# CommandSessionHistory

class CommandSessionHistory(commandHistory: HashMap<Int, String> = HashMap(), headerHistory: MutableList<RtmpHeader> = ArrayList())

Created by pedro on 22/04/21.

## Constructors

CommandSessionHistory
Link copied to clipboard
constructor(commandHistory: HashMap<Int, String> = HashMap(), headerHistory: MutableList<RtmpHeader> = ArrayList())

## Functions

getLastReadHeader
Link copied to clipboard
fun getLastReadHeader(chunkStreamId: Int): RtmpHeader?
getName
Link copied to clipboard
fun getName(id: Int): String?
reset
Link copied to clipboard
fun reset()
setPacket
Link copied to clipboard
fun setPacket(id: Int, name: String)
setReadHeader
Link copied to clipboard
fun setReadHeader(header: RtmpHeader)