亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? main.h

?? openmcu 是開源的H.323會議服務(wù)器,需要pwlib 和 openh323的編譯庫文件支持。
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*
 * main.h
 *
 * A simple H.323 MCU
 *
 * Copyright (c) 1993-1998 Equivalence Pty. Ltd.
 *
 * The contents of this file are subject to the Mozilla Public License
 * Version 1.0 (the "License"); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 * the License for the specific language governing rights and limitations
 * under the License.
 *
 * The Original Code is Portable Windows Library.
 *
 * The Initial Developer of the Original Code is Equivalence Pty. Ltd.
 *
 * Portions of this code were written by Post Increment (http://www.postincrement.com) 
 * with the assistance of funding from Citron Networks (http://www.citron.com.tw)
 *
 * Portions are Copyright (C) 1993 Free Software Foundation, Inc.
 * All Rights Reserved.
 *
 * Contributor(s): Derek J Smithies (derek@indranet.co.nz)
 *
 * $Log: main.h,v $
 * Revision 2.5  2005/03/11 00:25:24  csoutheren
 * Fixed problems with flags
 *
 * Revision 2.4  2004/05/26 06:54:31  csoutheren
 * Changed to be a PHTTPServiceProcess
 * Added ability to play WAV files on member entry and exit
 * Added additional documentation on all classes
 * Preparation for re-introducing video
 *
 * Revision 2.3  2004/05/03 13:25:47  rjongbloed
 * Converted everything to be codec plug in freindly
 * Removed GSM and G.729 as now plug ins are "the way"!
 *
 * Revision 2.2  2004/03/31 03:36:39  csoutheren
 * Fixed problem with user indication messages
 * Fixed problems with room listener and unlisten
 *
 * Revision 2.1  2004/03/11 20:49:44  csoutheren
 * Removed warnings
 *
 * Revision 2.0  2004/03/08 02:06:24  csoutheren
 * Totally rewritten to use new connection locking mecahnism
 * Added ability to monitor conferences
 * Added initial support for H.323 MCU messages
 * Thanks to Citron Networks for supporting this work
 *
 * Revision 1.30  2004/02/23 23:18:04  csoutheren
 * Fixed iLBC compile problems
 * Fixed NO_VIDEO compile problems
 *
 * Revision 1.29  2003/10/23 01:10:25  dereksmithies
 * Add fix from Alex Epshteyn to fix NO_VIDEO compiling problem.
 *
 * Revision 1.28  2003/08/05 22:47:39  dereksmithies
 * Apply code from Martin Andre to give single stream functionality. Thanks!
 *
 * Revision 1.27  2003/06/17 03:05:24  dereksmithies
 * Add H263 codec.
 *
 * Revision 1.26  2003/06/12 23:20:38  dereksmithies
 * Bug fix from Dave, related to delays in VideoEncoding. Thanks!
 *
 * Revision 1.25  2003/05/01 06:29:59  robertj
 * Added propagation of user indications from a connection to all other
 *   connections in a room.
 * Minor API clean up.
 *
 * Revision 1.24  2003/02/06 02:43:49  rogerh
 * There is now a video buffer for each 'room', which stops people in
 * different rooms from seeing each other. Bug pointed out by Damien Sandras.
 * Will need for fix leaks and delete the video buffer when a room empties.
 *
 * Revision 1.23  2002/11/21 07:55:12  robertj
 * Removed redundent and incorrect function for making outgoing call.
 *
 * Revision 1.22  2002/06/14 08:05:08  dereks
 * Added tweak to support operation behind a NAT that forwards ports
 * This will use TranslateTCPAddress to change the address reported
 * to connections that occur from outside the 192. subnet. Thanks Sahai.
 *
 * Revision 1.21  2002/04/18 10:54:34  rogerh
 * Fix bug in audio mixing reportde by Bob Lindell <lindell@isi.edu>
 * AudioBuffer::Read() had been optimised to do reading and mixing and
 * contained memset()'s which were incorrect. Clean up the code with
 * a proper Read() method and an optimised ReadAndMix() method.
 *
 * Revision 1.20  2001/12/02 08:17:57  rogerh
 * Change --audio-loopback to take a room name. Only connections to the
 * specified room will have audio loopback applied. The remainder of the rooms
 * in OpenMCU will work as normal.
 * Submitted by Malcolm Caldwell <malcolm.caldwell@ntu.edu.au>
 * I hard coded room "loopback" as a loopback room regardless of
 * the --audio-loopback parameter.
 *
 * Revision 1.19  2001/11/22 13:06:38  rogerh
 * Add --audio-loopback. Users of OpenMCU can hear their own voice echoed back
 * which is very handy for testing purposes.
 *
 * Revision 1.18  2001/07/23 03:55:13  rogerh
 * Seperate out codec names for audio and video
 *
 * Revision 1.17  2001/07/23 03:28:03  rogerh
 * Display the codec name in the statistics page
 *
 * Revision 1.16  2001/05/31 17:01:52  rogerh
 * Fixes from Dan Johansson <djn98006@student.mdh.se> to make video work.
 *  Go back to using 'closed' for the Video Classes. This is needed as
 *  the the video classes come from PVideoChannel which does not use os_handle
 *  in its IsOpen() method. Instead, we must define our own IsOpen() method.
 *  Also, back out the size of the image change.
 *  Finally, add a new feature. For the first 4 connections, video from an
 *  endpoint is displayed immediatly rather than waiting until that ep sends
 *  some audio. (handy for endpoints with video only and with no talking)
 *
 * Revision 1.15  2001/05/31 14:29:29  rogerh
 * Add --disable-menu to OpenMCU
 *
 * Revision 1.14  2001/05/08 13:43:11  rogerh
 * Connections without a room name will now join the default room (room101)
 * Handy for NetMeeting users who cannot specify the room to OpenMCU.
 * Add --defaultroom to change the default room name. Add --no-defaultroom to
 * prevent use of the default room and to reject calls without a room name.
 *
 * Revision 1.13  2001/03/18 07:40:45  robertj
 * Fixed MSVC compatibility.
 *
 * Revision 1.12  2001/03/18 06:50:20  robertj
 * More changes for multiple conferences from Patrick Koorevaar.
 *
 * Revision 1.11  2001/03/05 22:36:22  robertj
 * Changes for logging and multiple conferences from Patrick Koorevaar.
 *
 * Revision 1.10  2001/02/09 06:09:42  robertj 
 * Added fix for crashing on exit problem, thanks Dhomin. 
 *
 * Revision 1.9  2001/02/08 07:06:37  robertj
 * Added 'm' command to make call, thanks Paul Zaremba.
 * Added ability to send CIF size images, thanks again Paul Zaremba.
 *
 * Revision 1.8  2001/01/23 02:55:05  dereks
 * Add user interface thread to openmcu.
 * tidy up the exiting process, but it is still in need of work.
 *
 * Revision 1.7  2001/01/03 03:59:26  dereks
 * Adjusted algorithm for selecting which corners contain which video stream.
 * Add gsmframes and g711frames option. Add documentation describing data flows.
 *
 * Revision 1.6  2000/12/22 08:28:23  dereks
 * Optimise video handling, and reduce load on mcu computer
 * Include noise detection routine, to determine which images are displayed when > 4 connections.
 *
 * Revision 1.5  2000/12/19 22:41:44  dereks
 * Add video conferencing - limited to 5 connected nodes.
 * Use the video channel facility now in openh323 and pwlib modules
 * Add simple interface to handle commands entered at the keyboard.
 *
 * Revision 1.4  2000/11/02 03:33:41  craigs
 * Changed to provide some sort of software timeing loop
 *
 * Revision 1.3  2000/05/25 12:06:20  robertj
 * Added PConfigArgs class so can save program arguments to config files.
 *
 * Revision 1.2  2000/05/10 08:11:57  craigs
 * Fixed copyrights and names
 *
 * Revision 1.1  2000/05/10 05:54:07  craigs
 * Initial version
 *
 */

#ifndef _OpenMCU_MAIN_H
#define _OpenMCU_MAIN_H

#ifdef _WIN32
#pragma warning(disable:4786)
#endif

#include <ptlib.h>

#include <map>
#include <h323.h>
#include <h323pdu.h>
#include <h245.h>
#include <lid.h>

#include "custom.h"
#include "conference.h"
#include "filemembers.h"

#if P_SSL
#include <ptclib/shttpsvc.h>
typedef PSecureHTTPServiceProcess OpenMCUProcessAncestor;
#else
#include <ptclib/httpsvc.h>
typedef PHTTPServiceProcess OpenMCUProcessAncestor;
#endif


/** *****
  Data flow.

  ***Audio.
 At any point in time, there are N nodes connected.
 Consequently, there are N copies of OpenMCUH323Connection class, which
 I will label connA, connB... connN
 Ther is only ever one endpoint class, which is MyH323EndPoint.
 There are N*(N-1) instances of audiobuffers
 Each connection has a dictionary, containing (N-1) instances of audiobuffers.
 connI has audioBuffers, labelled abA, abB, abC... (not abI) ...abM, abN

>> IncomingAudio (audio data arives at the mcu)
 a)the audio codecs write to the IncomingAudio channel
 b)IncomingAudio  sends data to connI
 c)connI writes the data to the endpoint.
 d)the endpoint copies the data to connA, connB.. (not connI)...connM, connN
 e)the connections listed in step d copy the data to the specified audiobuffer.
   Thus, audio data from connI is copied into abI for connA,
   copied into abI for connB, copied into abI for connC etc. 
   Thus, audio data from connI is copied (N-1) times.
   
>> OutgoingAudio (the audio encoder requests audio data to send) 
 a)the audio codec requests data from the OutgoingAudio channel
 b)the OutgoingAudio channel requests data from the connI
 c)connI requests data from the endpoint.
 d)the endpoint (MyH323EndPoint::ReadAudio) method then finds the connection 
   associated with audio codec that has requested data. - in this case connI.
 e)The OpenMCUH323Connection::ReadAudio method is then called for connI.
 f)OpenMCUH323Connection::ReadAudio combines the data in each of its audiobuffers.
    which is abA, abB, abC... (not abI) ...abM, abN

 You will notice that Outgoing audio has additional work, in that connI
 (at step c) could bypass the endpoint and go directly to its own audiobuffers
 and read the data. This code is not SMP safe, because then the memberMutex does
 not protect access (by outgoing audio code) to the connections.

 *****Video is simple.
 There is a video buffer in the endpoint class.
 When an audio packet arrives, it moves the marker for that connection up a list.
 If a particular connection is in the top 4 (it has spoken recently), then when
 a video frame arrives, the connection writes the frame to the specified 
 section of the video buffer (eg, top left corner)

 When video is requested, the entire frame of data in the video buffer is copied
 and returned to the connection.
   
**/

class MyConferenceManager : public ConferenceManager

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美在线小视频| 国产亚洲精品福利| 国产亚洲1区2区3区| 一级女性全黄久久生活片免费| 日本强好片久久久久久aaa| 成人免费视频app| 久久综合久久综合久久| 性感美女极品91精品| 91麻豆精品在线观看| 久久久噜噜噜久久中文字幕色伊伊 | 欧美性猛交一区二区三区精品| 久久综合网色—综合色88| 亚洲国产综合色| 色婷婷亚洲精品| 国产日韩精品视频一区| 精品亚洲欧美一区| 91精品国产色综合久久不卡电影 | 色猫猫国产区一区二在线视频| www国产亚洲精品久久麻豆| 亚洲国产日韩综合久久精品| 92国产精品观看| 国产精品理论片在线观看| 国产乱子伦视频一区二区三区| 日韩视频一区二区三区| 日本亚洲天堂网| 欧美精品精品一区| 亚洲成人动漫精品| 欧美久久久影院| 天堂影院一区二区| 7777精品伊人久久久大香线蕉经典版下载 | 亚洲午夜在线电影| 欧亚一区二区三区| 亚洲在线一区二区三区| 色悠悠久久综合| 亚洲男人的天堂在线观看| 一本色道久久加勒比精品| 一区二区三区中文字幕电影| 色老汉一区二区三区| 亚洲一区二区三区在线| 欧美性受极品xxxx喷水| 亚洲宅男天堂在线观看无病毒| 色乱码一区二区三区88| 亚洲丰满少妇videoshd| 欧美日本韩国一区| 免费日本视频一区| 久久精品一二三| 成人av网在线| 亚洲影院理伦片| 日韩欧美中文字幕精品| 国产精品自拍毛片| 亚洲欧美另类在线| 欧美日韩和欧美的一区二区| 美国毛片一区二区| 久久久www成人免费毛片麻豆| 大胆亚洲人体视频| 亚洲国产日韩一区二区| 精品国产污网站| 91蜜桃免费观看视频| 日韩精品一级二级| 中文字幕不卡在线| 欧美性三三影院| 精品在线亚洲视频| 亚洲色图视频免费播放| 欧美日韩国产另类一区| 国产精品资源在线观看| 亚洲一线二线三线久久久| 精品国产免费人成在线观看| 99久久精品国产一区二区三区| 视频一区二区欧美| 国产精品视频一二三| 欧美二区三区91| 99热在这里有精品免费| 日韩av电影免费观看高清完整版在线观看 | 欧美激情中文字幕| 欧美日韩国产大片| kk眼镜猥琐国模调教系列一区二区| 午夜视频在线观看一区二区| 国产亚洲精品精华液| 欧美美女一区二区| 97se亚洲国产综合在线| 久久99国产乱子伦精品免费| 亚洲激情中文1区| 国产午夜一区二区三区| 538在线一区二区精品国产| av不卡免费在线观看| 国产在线播放一区| 日韩主播视频在线| 亚洲美女视频在线观看| 久久免费美女视频| 日韩一区二区三区四区| 欧美伊人精品成人久久综合97 | 日韩成人dvd| 综合久久久久综合| 国产亚洲一区二区三区在线观看| 欧美精品九九99久久| 色一区在线观看| 99国产精品久久久久| 丁香六月久久综合狠狠色| 国产一区二区三区最好精华液| 天天综合网 天天综合色| 亚洲自拍偷拍综合| 亚洲女女做受ⅹxx高潮| 1000精品久久久久久久久| 欧美激情综合在线| 中文字幕不卡在线观看| 国产欧美精品一区aⅴ影院| 久久久久久久久一| 久久久久久电影| 精品福利一区二区三区| 久久综合久久99| 国产色产综合色产在线视频| 久久影音资源网| 国产欧美日韩久久| 国产精品女人毛片| 国产精品素人视频| 亚洲欧美在线高清| 亚洲精品ww久久久久久p站| 一区二区在线电影| 亚洲综合小说图片| 天天影视涩香欲综合网| 日韩激情一二三区| 激情成人综合网| 成人中文字幕合集| 色域天天综合网| 欧美精品一卡二卡| 精品久久一区二区| 国产日产欧美一区| 《视频一区视频二区| 亚洲欧美激情小说另类| 亚洲香肠在线观看| 男女男精品网站| 国产精品12区| 色欧美片视频在线观看在线视频| 色国产精品一区在线观看| 欧美剧情片在线观看| 久久久噜噜噜久久人人看 | 不卡一区二区中文字幕| 99久久精品免费观看| 欧美伊人久久大香线蕉综合69| 制服丝袜亚洲色图| 久久久99久久精品欧美| 亚洲婷婷综合久久一本伊一区 | 国产精品一二二区| 色婷婷综合久色| 日韩精品一区国产麻豆| 中文字幕成人网| 偷拍日韩校园综合在线| 国产乱一区二区| 欧美在线观看视频一区二区| 精品99一区二区三区| 亚洲人成电影网站色mp4| 麻豆91免费看| 91亚洲精华国产精华精华液| 欧美大度的电影原声| 最好看的中文字幕久久| 青青草国产成人av片免费| 成人黄色在线视频| 日韩欧美一卡二卡| 亚洲欧美另类久久久精品2019| 久久爱另类一区二区小说| 色av成人天堂桃色av| 国产亚洲一本大道中文在线| 婷婷国产在线综合| 成人av在线资源网| 精品欧美一区二区在线观看| 亚洲天堂中文字幕| 国产精品资源在线看| 日韩欧美在线123| 亚洲综合区在线| 9l国产精品久久久久麻豆| 日韩欧美黄色影院| 亚洲国产成人av好男人在线观看| 国产大陆亚洲精品国产| 精品美女一区二区三区| 日韩精品电影在线| 欧美亚洲综合网| 亚洲精品中文在线影院| 成人aa视频在线观看| 久久综合九色综合欧美就去吻| 午夜私人影院久久久久| 在线观看视频一区二区| 亚洲免费观看高清完整版在线观看| 国产一区二区福利| 欧美不卡123| 免费高清在线视频一区·| 欧美高清视频一二三区 | 7777精品伊人久久久大香线蕉的| 亚洲免费资源在线播放| 波波电影院一区二区三区| 久久久91精品国产一区二区三区| 看电视剧不卡顿的网站| 91精品国产黑色紧身裤美女| 亚洲国产精品人人做人人爽| 色菇凉天天综合网| 亚洲一级片在线观看| 欧美色手机在线观看| 亚洲成人一二三| 欧美一区二区三区在线电影| 免费成人在线视频观看| 日韩欧美成人一区|