Class VideoChunk
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
- Inheritance
-
VideoChunk
- Inherited Members
-
- Extension Methods
-
Constructors
VideoChunk(ushort, ushort, byte[], ClipID, VideoHandle, NativeArray<byte>)
public VideoChunk(ushort chunkCount, ushort chunkIndex, byte[] chunk, ClipID clipID, VideoHandle videoID, NativeArray<byte> contentEventData)
Parameters
chunkCount
ushort
chunkIndex
ushort
chunk
byte[]
clipID
ClipID
videoID
VideoHandle
contentEventData
NativeArray<byte>
Fields
contentBuffer
public ContentBuffer contentBuffer
Field Value
- ContentBuffer
m_ChunksCompleted
public int m_ChunksCompleted
Field Value
- int
m_TotalBytes
Field Value
- int
m_chunks
Field Value
- byte[][]
Properties
ChunkData
public byte[] ChunkData { get; set; }
Property Value
- byte[]
ClipID
public ClipID ClipID { get; set; }
Property Value
- ClipID
Completed
public bool Completed { get; set; }
Property Value
- bool
NumberOfChunks
public int NumberOfChunks { get; set; }
Property Value
- int
VideoID
public VideoHandle VideoID { get; set; }
Property Value
- VideoHandle
Methods
AddChunk(byte[], ushort, NativeArray<byte>)
public void AddChunk(byte[] chunkData, ushort chunkIndex, NativeArray<byte> contentEventData)
Parameters
chunkData
byte[]
chunkIndex
ushort
contentEventData
NativeArray<byte>
AddChunk(ushort, byte[], NativeArray<byte>)
public void AddChunk(ushort index, byte[] chunkData, NativeArray<byte> contentEventData)
Parameters
index
ushort
chunkData
byte[]
contentEventData
NativeArray<byte>
CheckIfComplete()
public void CheckIfComplete()
ClearChunksCompleted()
public void ClearChunksCompleted()
IncrementChunksCompleted()
public void IncrementChunksCompleted()
MakeVideo()