VNMediaClientNET

VideoFrameEventArgs.h
1 namespace VideoNext
2 {
3 using namespace System;
4
5 ref class AnalyticsRenderer;
6
10 public ref class VideoFrameEventArgs sealed : public EventArgs
11 {
12 public:
20 VideoFrameEventArgs(IntPtr buffer, Int64 bufferLen, Int32 videoWidth, Int32 videoHeight)
21 {
22 m_buffer = buffer;
23 m_bufferLength = bufferLen;
24 m_videoWidth = videoWidth;
25 m_videoHeight = videoHeight;
26 }
27
28 public:
32 property IntPtr Buffer
33 {
34 IntPtr get()
35 {
36 return m_buffer;
37 }
38 };
39
43 property Int64 BufferLength
44 {
45 Int64 get()
46 {
47 return m_bufferLength;
48 }
49 };
50
54 property Int32 VideoWidth
55 {
56 Int32 get()
57 {
58 return m_videoWidth;
59 }
60 };
61
65 property Int32 VideoHeight
66 {
67 Int32 get()
68 {
69 return m_videoHeight;
70 }
71 };
72
76 property DateTime TimeStamp;
77
81 property AnalyticsRenderer^ Analytics;
82
83 private:
84 IntPtr m_buffer;
85 Int64 m_bufferLength;
86 Int32 m_videoWidth;
87 Int32 m_videoHeight;
88 };
89 }
VideoNext::AnalyticsRenderer
Definition: AnalyticsRenderer.h:9
VideoNext::VideoFrameEventArgs::VideoFrameEventArgs
VideoFrameEventArgs(IntPtr buffer, Int64 bufferLen, Int32 videoWidth, Int32 videoHeight)
Constructor.
Definition: VideoFrameEventArgs.h:20
VideoNext
VideoNEXT media player API.
Definition: AnalyticsRenderer.cpp:7
VideoNext::VideoFrameEventArgs
Video frame received event arguments.
Definition: VideoFrameEventArgs.h:11
VideoNext::VideoFrameEventArgs::TimeStamp
property DateTime TimeStamp
Frame time.
Definition: VideoFrameEventArgs.h:76
VideoNext::VideoFrameEventArgs::Analytics
property AnalyticsRenderer Analytics
Analytics renderer instance.
Definition: VideoFrameEventArgs.h:81