VNMediaClientNET

Enums.h
1 #pragma once
2
3 #include "vn_player.h"
4
5 namespace VideoNext
6 {
10 public enum class StreamState
11 {
12 Idle = IDLE,
13 PlayFromServer = PLAY_FROM_SERVER,
14 PlayFromBuffer = PLAY_FROM_BUFFER,
15 Stopped = STOPPED,
16 Opening = OPENING,
17 Buffering = BUFFERING,
18 Opened = OPENED
19 };
20
24 public enum class PlaybackDirection
25 {
26 Backwards = -1,
27 Forwards = 1
28 };
29
33 public enum class RtpTransport
34 {
35 Tcp = RTP_TRANSPORT_TCP,
36 Udp = RTP_TRANSPORT_UDP
37 };
38
42 public enum class PixelFormat
43 {
44 Yuv420P = PIX_YUV420P,
45 Rgb24 = PIX_RGB24,
46 Rgb32 = PIX_RGB32,
47 Bgr32 = PIX_BGR32
48 };
49
53 public enum class DecoderType
54 {
55 None = DECODER_NONE,
56 Hardware = DECODER_HW,
57 SoftwareMT = DECODER_SW_MT,
58 Software = DECODER_SW
59 };
60
64 public enum class StreamType
65 {
66 Audio = AUDIO,
67 Video = VIDEO,
68 Data = DATA,
69 Unknown = UNKNOWN
70 };
71
75 public enum class RecordingStatus
76 {
77 Idle = RECORDING_IDLE,
78 Started = RECORDING_STARTED,
79 Ending = RECORDING_ENDING,
80 Ended = RECORDING_ENDED,
81 Error = RECORDING_ERROR
82 };
83 }
VideoNext::StreamState::Idle
@ Idle
VideoNext::StreamType::Unknown
@ Unknown
VideoNext::RecordingStatus
RecordingStatus
Recording video to file status.
Definition: Enums.h:76
VideoNext::PixelFormat
PixelFormat
Pixel format.
Definition: Enums.h:43
VideoNext::DecoderType::SoftwareMT
@ SoftwareMT
VideoNext::PlaybackDirection::Backwards
@ Backwards
VideoNext::DecoderType::Software
@ Software
VideoNext::PixelFormat::Rgb32
@ Rgb32
VideoNext::PixelFormat::Yuv420P
@ Yuv420P
VideoNext::DecoderType
DecoderType
Decoder type.
Definition: Enums.h:54
VideoNext::StreamState::Opened
@ Opened
VideoNext::RecordingStatus::Started
@ Started
VideoNext
VideoNEXT media player API.
Definition: AnalyticsRenderer.cpp:7
VideoNext::StreamState::Buffering
@ Buffering
VideoNext::PixelFormat::Rgb24
@ Rgb24
VideoNext::PlaybackDirection
PlaybackDirection
Playback direction.
Definition: Enums.h:25
VideoNext::RecordingStatus::Error
@ Error
VideoNext::PlaybackDirection::Forwards
@ Forwards
VideoNext::RecordingStatus::Idle
@ Idle
VideoNext::StreamState::PlayFromBuffer
@ PlayFromBuffer
VideoNext::StreamType
StreamType
Stream type.
Definition: Enums.h:65
VideoNext::RecordingStatus::Ended
@ Ended
VideoNext::StreamType::Audio
@ Audio
VideoNext::DecoderType::Hardware
@ Hardware
VideoNext::RtpTransport::Udp
@ Udp
VideoNext::PixelFormat::Bgr32
@ Bgr32
VideoNext::RtpTransport::Tcp
@ Tcp
VideoNext::StreamState
StreamState
Media player state.
Definition: Enums.h:11
VideoNext::RtpTransport
RtpTransport
RTP transport.
Definition: Enums.h:34
VideoNext::RecordingStatus::Ending
@ Ending
VideoNext::StreamType::Video
@ Video
VideoNext::StreamState::PlayFromServer
@ PlayFromServer
VideoNext::DecoderType::None
@ None
VideoNext::StreamState::Stopped
@ Stopped
VideoNext::StreamState::Opening
@ Opening
VideoNext::StreamType::Data
@ Data