📄 h324port.h
字号:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
#include <process.h>
#include <ctadef.h>
#include <adidef.h>
#include <swidef.h>
#include <h324def.h>
#include <mspdef.h>
#include <mspcmd.h>
#include <endian.h>
#ifndef H324PORT_H
#define H324PORT_H
class TH324Port
{
public:
int OpenServices(int board, int timeslot, int userid, const char *ip);
void FreeRes();
bool Start324Stack();
bool SetLocalCaps();
bool SetupCall();
void WaitNmsEvent(CTAHD ctahd, CTA_EVENT *eventp);
bool StartMSP(int localport, int remoteport);
bool StopMSP();
void OnMspEvent(CTA_EVENT *pEvent);
void OnRemoteCap(CTA_EVENT *pEvent);
void OnLcd(CTA_EVENT *pEvent);
bool CreateVideoEp();
bool DisableVideoEp();
bool Enable2429VideoEp();
bool EnableVideoEp();
bool CreatVideoChannel();
bool ConnectVideoEP();
bool EnableVideoChannel();
bool CreateAudioEp();
bool CreatAudioChannel();
bool ConnectAudioEP();
bool EnableAudioChannel();
public:
CTAQUEUEHD m_quehd;
CTAHD m_ctahd;
int m_board;
int m_timeslot;
int m_userid;
char m_LocalIP[20];
int m_localport, m_remoteport;
int m_mspstate;
MSPHD m_muxep;
MSPHD m_videoep;
MSPHD m_audioep;
MSPHD m_videochannel;
MSPHD m_audiochannel;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -