Class RecordingsHandler
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class RecordingsHandler : RetrievableSingleton<RecordingsHandler>
- Inheritance
-
RecordingsHandler
- Inherited Members
-
RetrievableSingleton<RecordingsHandler>.RemoveInstance()
RetrievableSingleton<RecordingsHandler>.Instance
- Extension Methods
-
Constructors
RecordingsHandler()
public RecordingsHandler()
Fields
activateNextSharingJobHandle
public ListenerHandle activateNextSharingJobHandle
Field Value
- ListenerHandle
clipEncodedHandle
public ListenerHandle clipEncodedHandle
Field Value
- ListenerHandle
m_camerasCurrentRecording
public BidirectionalDictionary<Guid, VideoHandle> m_camerasCurrentRecording
Field Value
- BidirectionalDictionary<Guid, VideoHandle>
m_clipRequestCount
public Dictionary<ClipID, int> m_clipRequestCount
Field Value
- Dictionary<ClipID, int>
m_currentJob
public VideoClipShareJob m_currentJob
Field Value
- VideoClipShareJob
m_encoder
public FfmpegEncoder m_encoder
Field Value
- FfmpegEncoder
m_playersRecording
public BidirectionalDictionary<int, VideoHandle> m_playersRecording
Field Value
- BidirectionalDictionary<int, VideoHandle>
m_recordings
public Dictionary<VideoHandle, CameraRecording> m_recordings
Field Value
- Dictionary<VideoHandle, CameraRecording>
m_sendVideoHandler
public PhotonSendVideoHandler m_sendVideoHandler
Field Value
- PhotonSendVideoHandler
m_sharingQueue
public List<VideoClipShareJob> m_sharingQueue
Field Value
- List<VideoClipShareJob>
reRequestClipHandle
public ListenerHandle reRequestClipHandle
Field Value
- ListenerHandle
sendClipCompletedHandle
public ListenerHandle sendClipCompletedHandle
Field Value
- ListenerHandle
startRecordingHandle
public ListenerHandle startRecordingHandle
Field Value
- ListenerHandle
stopRecordingHandle
public ListenerHandle stopRecordingHandle
Field Value
- ListenerHandle
Methods
AddClipToShareQueue(AddClipToShareQueuePackage)
public void AddClipToShareQueue(AddClipToShareQueuePackage package)
Parameters
package
AddClipToShareQueuePackage
CheckIfClipIsComplete(Clip)
public IEnumerator CheckIfClipIsComplete(Clip clip)
Parameters
clip
Clip
Returns
- IEnumerator
ClearRecordings()
public void ClearRecordings()
CreateNewRecording(VideoHandle)
public CameraRecording CreateNewRecording(VideoHandle entryVideoID)
Parameters
entryVideoID
VideoHandle
Returns
- CameraRecording
Encode(Clip)
public IEnumerator Encode(Clip clip)
Parameters
clip
Clip
Returns
- IEnumerator
ExtractRecording(CameraRecording)
public bool ExtractRecording(CameraRecording recording)
Parameters
recording
CameraRecording
Returns
- bool
FindFreePlayer()
public static int FindFreePlayer()
Returns
- int
GetCamerasCurrentRecording()
public static BidirectionalDictionary<Guid, VideoHandle> GetCamerasCurrentRecording()
Returns
- BidirectionalDictionary<Guid, VideoHandle>
GetCurrentSharingJob()
public static VideoClipShareJob GetCurrentSharingJob()
Returns
- VideoClipShareJob
GetDirectory()
public static string GetDirectory()
Returns
- string
GetPlayersRecording()
public static BidirectionalDictionary<int, VideoHandle> GetPlayersRecording()
Returns
- BidirectionalDictionary<int, VideoHandle>
GetRecordings()
public static Dictionary<VideoHandle, CameraRecording> GetRecordings()
Returns
- Dictionary<VideoHandle, CameraRecording>
GetSharingQueue()
public static List<VideoClipShareJob> GetSharingQueue()
Returns
- List<VideoClipShareJob>
LateUpdate()
OnActivateNextSharingJob(ActivateNextSharingJobPackage)
public void OnActivateNextSharingJob(ActivateNextSharingJobPackage package)
Parameters
package
ActivateNextSharingJobPackage
OnCreated()
protected override void OnCreated()
OnDestroy()
OnFileSystemChanged(object, FileSystemEventArgs)
public void OnFileSystemChanged(object sender, FileSystemEventArgs e)
Parameters
sender
object
e
FileSystemEventArgs
OnFileSystemError(object, ErrorEventArgs)
public void OnFileSystemError(object sender, ErrorEventArgs e)
Parameters
sender
object
e
ErrorEventArgs
OnReRequestClip(ReRequestClipPackage)
public void OnReRequestClip(ReRequestClipPackage obj)
Parameters
obj
ReRequestClipPackage
OnRemoved()
protected override void OnRemoved()
OnRenamed(object, RenamedEventArgs)
public void OnRenamed(object sender, RenamedEventArgs e)
Parameters
sender
object
e
RenamedEventArgs
OnStartRecording(StartRecordingCommandPackage)
public void OnStartRecording(StartRecordingCommandPackage package)
Parameters
package
StartRecordingCommandPackage
OnStopRecording(StopRecordingCommandPackage)
public void OnStopRecording(StopRecordingCommandPackage package)
Parameters
package
StopRecordingCommandPackage
OnStopRecording(Guid, bool)
public void OnStopRecording(Guid instanceDataID, bool validClip)
Parameters
instanceDataID
Guid
validClip
bool
RecievedClip(VideoHandle, ClipID, ContentBuffer)
public static void RecievedClip(VideoHandle chunkVideoID, ClipID chunkClipID, ContentBuffer contentBuffer)
Parameters
chunkVideoID
VideoHandle
chunkClipID
ClipID
contentBuffer
ContentBuffer
SendIsComplete(SendClipCompletedPackage)
public void SendIsComplete(SendClipCompletedPackage package)
Parameters
package
SendClipCompletedPackage
ShareClipJob(Clip, bool)
public IEnumerator ShareClipJob(Clip clip, bool isReRequest)
Parameters
clip
Clip
isReRequest
bool
Returns
- IEnumerator
StartRecording(ItemInstanceData, PhotonView)
public static void StartRecording(ItemInstanceData data, PhotonView playerView)
Parameters
data
ItemInstanceData
playerView
PhotonView
StopRecording(ItemInstanceData)
public static void StopRecording(ItemInstanceData data)
Parameters
data
ItemInstanceData
TryGetRecording(VideoHandle, out CameraRecording)
public static bool TryGetRecording(VideoHandle tVideoID, out CameraRecording recording)
Parameters
tVideoID
VideoHandle
recording
CameraRecording
Returns
- bool
TryGetRecordingPath(VideoHandle, out string)
public static bool TryGetRecordingPath(VideoHandle videoHandle, out string path)
Parameters
videoHandle
VideoHandle
path
string
Returns
- bool