Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
VideoNetDlg.h
Package: meeting_video_system.rar [view]
Upload User: panstart
Upload Date: 2022-04-12
Package Size: 199k
Code Size: 3k
Category:
VOIP program
Development Platform:
C++ Builder
- // VideoNetDlg.h : header file
- //
- #if !defined(AFX_VIDEONETDLG_H__B0986306_5F44_11D6_8897_000B2B0F84B6__INCLUDED_)
- #define AFX_VIDEONETDLG_H__B0986306_5F44_11D6_8897_000B2B0F84B6__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "DSocket.h"
- #include "ConnectDlg.h"
- #include "RecordSound.h"
- #include "VideoCapture.h"
- #include "PlaySound.h"
- #include "Volume.h"
- #include "Encoder/libr263.h"
- #include "Decoder/tmndec.h"
- class CVideoNetDlg : public CDialog
- {
- // Attributes
- public:
- VideoCapture *vidcap;
- BOOL isVideo , isAudio , isStarted , isCaptureStarted;
- BOOL isViewLocalVideo,isViewRemoteVideo;
- BOOL isAudioSend,isAudioReceive;
- BOOL isVideoSend,isVideoReceive;
- PBITMAPINFO m_bmpinfo;
- BITMAPINFO compbmp;
- RecordSound *record;
- PlaySound1 *play;
- HDC m_hdc;
- CMenu *menu;
- CButton *bsend;
- CListBox *list;
- CStdioFile log;
- HICON m_hIcon;
- HWND hwnd;
- ConnectDlg *connectdlg;
- DSocket dcontrol,daudio,dvideo,dtext;
- HDRAWDIB hdib;
- int local_wnd_x , local_wnd_y;
- int remote_wnd_x , remote_wnd_y;
- // Compression parameters....
- CParam cparams;
- // Buffer for storing YUV data....
- unsigned int yuv[ QCIF_WIDTH*QCIF_HEIGHT + (QCIF_WIDTH*QCIF_HEIGHT)/2 ];
- // Construction
- public:
- CVideoNetDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CVideoNetDlg)
- enum { IDD = IDD_VIDEONET_DIALOG };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CVideoNetDlg)
- public:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- // Generated message map functions
- //{{AFX_MSG(CVideoNetDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- virtual void OnCancel();
- // Conference menu handlers
- void OnConnect();
- void OnDisconnect();
- // View menu handlers
- void OnViewLocal();
- void OnViewRemote();
- //Audio menu handlers
- void OnVolumeControl();
- void OnAudioSend();
- void OnAudioReceive();
- // Video menu handlers
- void OnVideoSend();
- void OnVideoReceive();
- // Help menu handlers
- void OnAbout();
- void StartConference();
- void DestroyConference();
- void OnSendMesg();
- void DisplayMesg(char *str);
- void SendVideo(BYTE *data,int size);
- void DisplayRemoteFrame(unsigned char *data,int size);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_VIDEONETDLG_H__B0986306_5F44_11D6_8897_000B2B0F84B6__INCLUDED_)