class
FFMpegMediaFrameSourceContext
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
private let thread: Thread
var closed = false
fileprivate var postbox: Postbox?
fileprivate var resourceReference: MediaResourceReference?
fileprivate var tempFilePath: String?
fileprivate var streamable: Bool?
fileprivate var statsCategory: MediaResourceStatsCategory?
private let ioBufferSize = 1 * 1024
fileprivate var readingOffset = 0
fileprivate var requestedDataOffset: Int?
fileprivate let fetchedDataDisposable = MetaDisposable()
fileprivate let fetchedFullDataDisposable = MetaDisposable()
fileprivate var requestedCompleteFetch = false
private var initializedState: InitializedState?
private var packetQueue: [FFMpegPacket] = []