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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? rtpsessionparams.h

?? jrtp庫
?? H
字號:
/*  This file is a part of JRTPLIB  Copyright (c) 1999-2007 Jori Liesenborgs  Contact: jori.liesenborgs@gmail.com  This library was developed at the "Expertisecentrum Digitale Media"  (http://www.edm.uhasselt.be), a research center of the Hasselt University  (http://www.uhasselt.be). The library is based upon work done for   my thesis at the School for Knowledge Technology (Belgium/The Netherlands).  Permission is hereby granted, free of charge, to any person obtaining a  copy of this software and associated documentation files (the "Software"),  to deal in the Software without restriction, including without limitation  the rights to use, copy, modify, merge, publish, distribute, sublicense,  and/or sell copies of the Software, and to permit persons to whom the  Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included  in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS  IN THE SOFTWARE.*//** * \file rtpsessionparams.h */#ifndef RTPSESSIONPARAMS_H#define RTPSESSIONPARAMS_H#include "rtpconfig.h"#include "rtptypes.h"#include "rtptransmitter.h"#include "rtptimeutilities.h"#include "rtpsources.h"/** Describes the parameters for to be used by an RTPSession instance.  *  Describes the parameters for to be used by an RTPSession instance. Note that the own timestamp  *  unit must be set to a valid number, otherwise the session can't be created. */class RTPSessionParams{public:	RTPSessionParams();		/** If \c usethread is \c true, the session will use a poll thread to automatically process incoming	 *  data and to send RTCP packets when necessary.	 */	int SetUsePollThread(bool usethread);	/** Returns whether the session should use a poll thread or not (default is \c true). */	bool IsUsingPollThread() const						{ return usepollthread; }	/** Sets the maximum allowed packet size for the session. */	void SetMaximumPacketSize(size_t max)					{ maxpacksize = max; }	/** Returns the maximum allowed packet size (default is 1400 bytes). */	size_t GetMaximumPacketSize() const					{ return maxpacksize; }	/** If the argument is \c true, the session should accept its own packets and store 	 *  them accordingly in the source table.	 */	void SetAcceptOwnPackets(bool accept)					{ acceptown = accept; }		/** Returns \c true if the session should accept its own packets (default is \c false). */	bool AcceptOwnPackets() const						{ return acceptown; }	/** Sets the receive mode to be used by the session. */	void SetReceiveMode(RTPTransmitter::ReceiveMode recvmode)		{ receivemode = recvmode; }	/** Sets the receive mode to be used by the session (default is: accept all packets). */	RTPTransmitter::ReceiveMode GetReceiveMode() const			{ return receivemode; }	/** Sets the timestamp unit for our own data.	 *  Sets the timestamp unit for our own data. The timestamp unit is defined as a time interval in 	 *  seconds divided by the corresponding timestamp interval. For example, for 8000 Hz audio, the 	 *  timestamp unit would typically be 1/8000. Since this value is initially set to an illegal value, 	 *  the user must set this to an allowed value to be able to create a session.	 */	void SetOwnTimestampUnit(double tsunit)					{ owntsunit = tsunit; }	/** Returns the currently set timestamp unit. */	double GetOwnTimestampUnit() const					{ return owntsunit; }	/** Sets a flag indicating if a DNS lookup should be done to determine our hostname (to construct a CNAME item).	 *  If \c v is set to \c true, the session will ask the transmitter to find a host name based upon the IP	 *  addresses in its list of local IP addresses. If set to \c false, a call to \c gethostname or something	 *  similar will be used to find the local hostname. Note that the first method might take some time.	 */	void SetResolveLocalHostname(bool v)					{ resolvehostname = v; }	/** Returns whether the local hostname should be determined from the transmitter's list of local IP addresses 	 *  or not (default is \c false).	 */	bool GetResolveLocalHostname() const					{ return resolvehostname; }#ifdef RTP_SUPPORT_PROBATION	/** If probation support is enabled, this function sets the probation type to be used. */	void SetProbationType(RTPSources::ProbationType probtype)		{ probationtype = probtype; }	/** Returns the probation type which will be used (default is RTPSources::ProbationStore). */	RTPSources::ProbationType GetProbationType() const			{ return probationtype; }#endif // RTP_SUPPORT_PROBATION	/** Sets the session bandwidth in bytes per second. */	void SetSessionBandwidth(double sessbw)					{ sessionbandwidth = sessbw; }	/** Returns the session bandwidth in bytes per second (default is 10000 bytes per second). */	double GetSessionBandwidth() const					{ return sessionbandwidth; }	/** Sets the fraction of the session bandwidth to be used for control traffic. */	void SetControlTrafficFraction(double frac)				{ controlfrac = frac; }	/** Returns the fraction of the session bandwidth that will be used for control traffic (default is 5%). */	double GetControlTrafficFraction() const				{ return controlfrac; }	/** Sets the minimum fraction of the control traffic that will be used by senders. */	void SetSenderControlBandwidthFraction(double frac)			{ senderfrac = frac; }	/** Returns the minimum fraction of the control traffic that will be used by senders (default is 25%). */	double GetSenderControlBandwidthFraction() const			{ return senderfrac; }	/** Set the minimal time interval between sending RTCP packets. */	void SetMinimumRTCPTransmissionInterval(const RTPTime &t)		{ mininterval = t; }	/** Returns the minimal time interval between sending RTCP packets (default is 5 seconds). */	RTPTime GetMinimumRTCPTransmissionInterval() const			{ return mininterval; }	/** If \c usehalf is set to \c true, the session will only wait half of the calculated RTCP 	 *  interval before sending its first RTCP packet.	 */	void SetUseHalfRTCPIntervalAtStartup(bool usehalf)			{ usehalfatstartup = usehalf; }	/** Returns whether the session will only wait half of the calculated RTCP interval before sending its	 *  first RTCP packet or not (default is \c true).	 */	bool GetUseHalfRTCPIntervalAtStartup() const				{ return usehalfatstartup; }	/** If \c v is \c true, the session will send a BYE packet immediately if this is allowed. */	void SetRequestImmediateBYE(bool v) 					{ immediatebye = v; }	/** Returns whether the session should send a BYE packet immediately (if allowed) or not (default is \c true). */	bool GetRequestImmediateBYE() const					{ return immediatebye; }	/** When sending a BYE packet, this indicates whether it will be part of an RTCP compound packet 	 *  that begins with a sender report (if allowed) or a receiver report.	 */	void SetSenderReportForBYE(bool v)					{ SR_BYE = v; }	/** Returns \c true if a BYE packet will be sent in an RTCP compound packet which starts with a 	 *  sender report; if a receiver report will be used, the function returns \c false (default is \c true).	 */	bool GetSenderReportForBYE() const					{ return SR_BYE; }		/** Sets the multiplier to be used when timing out senders. */	void SetSenderTimeoutMultiplier(double m)				{ sendermultiplier = m; }	/** Returns the multiplier to be used when timing out senders (default is 2). */	double GetSenderTimeoutMultiplier() const				{ return sendermultiplier; }	/** Sets the multiplier to be used when timing out members. */	void SetSourceTimeoutMultiplier(double m)				{ generaltimeoutmultiplier = m; }	/** Returns the multiplier to be used when timing out members (default is 5). */	double GetSourceTimeoutMultiplier() const				{ return generaltimeoutmultiplier; }	/** Sets the multiplier to be used when timing out a member after it has sent a BYE packet. */	void SetBYETimeoutMultiplier(double m)					{ byetimeoutmultiplier = m; }	/** Returns the multiplier to be used when timing out a member after it has sent a BYE packet (default is 1). */	double GetBYETimeoutMultiplier() const					{ return byetimeoutmultiplier; }	/** Sets the multiplier to be used when timing out entries in the collision table. */	void SetCollisionTimeoutMultiplier(double m)				{ collisionmultiplier = m; }	/** Returns the multiplier to be used when timing out entries in the collision table (default is 10). */	double GetCollisionTimeoutMultiplier() const				{ return collisionmultiplier; }	/** Sets the multiplier to be used when timing out SDES NOTE information. */	void SetNoteTimeoutMultiplier(double m)					{ notemultiplier = m; }	/** Returns the multiplier to be used when timing out SDES NOTE information (default is 25). */	double GetNoteTimeoutMultiplier() const					{ return notemultiplier; }private:	bool acceptown;	bool usepollthread;	size_t maxpacksize;	double owntsunit;	RTPTransmitter::ReceiveMode receivemode;	bool resolvehostname;#ifdef RTP_SUPPORT_PROBATION	RTPSources::ProbationType probationtype;#endif // RTP_SUPPORT_PROBATION		double sessionbandwidth;	double controlfrac;	double senderfrac;	RTPTime mininterval;	bool usehalfatstartup;	bool immediatebye;	bool SR_BYE;	double sendermultiplier;	double generaltimeoutmultiplier;	double byetimeoutmultiplier;	double collisionmultiplier;	double notemultiplier;};#endif // RTPSESSIONPARAMS_H

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品污www在线观看| 欧美国产97人人爽人人喊| 国产另类ts人妖一区二区| 亚洲码国产岛国毛片在线| 日韩精品一区二区三区在线观看 | 一区二区三区在线看| 日韩美女在线视频| 欧美日韩视频在线一区二区| 国产成人精品亚洲日本在线桃色 | 精品一区二区成人精品| 有坂深雪av一区二区精品| 国产欧美日韩久久| 精品久久久影院| 欧美另类z0zxhd电影| 91蜜桃婷婷狠狠久久综合9色| 国产麻豆午夜三级精品| 日本不卡123| 午夜精品视频一区| 亚洲一区二区三区四区五区黄| 中文字幕制服丝袜成人av | 欧美精三区欧美精三区| 99国产精品视频免费观看| 色婷婷精品久久二区二区蜜臂av| 亚洲日本va在线观看| 欧美激情在线免费观看| 久久嫩草精品久久久精品一| 欧美一区二区三区人| 717成人午夜免费福利电影| 精品视频一区二区不卡| 91成人国产精品| 日本道精品一区二区三区| 91在线观看免费视频| 91小视频在线| 91色在线porny| 91色.com| 欧日韩精品视频| 在线观看视频一区二区欧美日韩| 日本精品免费观看高清观看| 色综合天天综合网国产成人综合天| 成人免费毛片嘿嘿连载视频| 成人av午夜影院| av午夜一区麻豆| 99国产欧美久久久精品| 日本高清无吗v一区| 欧美亚洲国产一区二区三区va | 中文字幕在线观看一区| 中文字幕一区在线观看视频| 亚洲丝袜另类动漫二区| 亚洲伦理在线免费看| 一区二区高清免费观看影视大全| 亚洲韩国精品一区| 人禽交欧美网站| 国产永久精品大片wwwapp | 日韩免费在线观看| 精品欧美乱码久久久久久1区2区| 2023国产精华国产精品| 欧美国产一区视频在线观看| 亚洲色图色小说| 亚洲成a人片在线观看中文| 男人的天堂亚洲一区| 精品制服美女丁香| 国产91精品免费| 在线免费一区三区| 欧美一区二区观看视频| 久久亚区不卡日本| 最好看的中文字幕久久| 舔着乳尖日韩一区| 欧美亚一区二区| 欧美日韩dvd在线观看| 日韩欧美高清dvd碟片| 国产偷国产偷精品高清尤物| 亚洲毛片av在线| 另类小说欧美激情| 99精品桃花视频在线观看| 欧美日韩国产欧美日美国产精品| 欧美成人一区二区三区片免费| 国产欧美日韩综合精品一区二区| 一区二区三区在线看| 国内精品自线一区二区三区视频| 91欧美一区二区| 欧美刺激脚交jootjob| 中文字幕亚洲一区二区av在线 | 欧美日韩精品专区| 国产视频一区在线播放| 一个色在线综合| 国产一区二区成人久久免费影院| 日本高清视频一区二区| 精品精品国产高清a毛片牛牛| 国产精品久久久久精k8| 青青草97国产精品免费观看 | 久久成人免费网站| 99久久精品国产网站| 精品国产网站在线观看| 亚洲另类春色国产| 国产精品996| 欧美一区二区网站| 中文字幕五月欧美| 美女视频黄a大片欧美| 91福利国产成人精品照片| 国产欧美一区二区三区在线看蜜臀 | 91精品一区二区三区久久久久久 | 国产精品伊人色| 在线电影国产精品| 亚洲欧美日韩中文字幕一区二区三区| 麻豆精品国产传媒mv男同| 欧美日韩一级视频| 亚洲天天做日日做天天谢日日欢| 国产一区二区三区免费看 | 亚洲免费观看高清完整版在线| 麻豆91免费观看| 欧美精品亚洲一区二区在线播放| 亚洲免费电影在线| 丰满岳乱妇一区二区三区| 久久综合色8888| 麻豆国产欧美日韩综合精品二区| 欧美视频在线播放| 亚洲最新在线观看| 99久久精品国产精品久久| 日本一区二区免费在线观看视频| 久久99国产精品久久| 欧美一区二区三区在线视频 | 午夜成人免费电影| 欧美日本乱大交xxxxx| 一区二区三区在线高清| av亚洲精华国产精华| 国产精品妹子av| av在线一区二区| 中文字幕日本不卡| 不卡一区二区在线| 中文字幕在线观看不卡| 99久久精品一区二区| 成人欧美一区二区三区白人| 成人免费毛片app| 国产精品毛片大码女人| bt7086福利一区国产| 国产精品久久久久久亚洲毛片| 成人自拍视频在线| 国产精品不卡视频| 色先锋aa成人| 亚洲高清中文字幕| 欧美疯狂性受xxxxx喷水图片| 日本在线不卡一区| 欧美成人video| 国产高清精品在线| 国产精品九色蝌蚪自拍| 色偷偷久久人人79超碰人人澡| 亚洲精品国产视频| 欧美久久久一区| 久久精品国产免费看久久精品| 日韩免费视频一区二区| 国产精品一区二区果冻传媒| 日本一区免费视频| 日本二三区不卡| 日韩av网站在线观看| 2024国产精品视频| 成人爱爱电影网址| 亚洲国产精品久久久久秋霞影院| 欧美精品免费视频| 国产老肥熟一区二区三区| |精品福利一区二区三区| 91成人免费在线视频| 日本在线不卡视频| 性欧美大战久久久久久久久| 3d动漫精品啪啪| 国产精品亚洲一区二区三区妖精 | 国产麻豆视频一区| 亚洲欧美aⅴ...| 91精品国产丝袜白色高跟鞋| 韩国女主播一区二区三区| 欧美激情一区在线| 欧美视频完全免费看| 久久精品国产99久久6| 国产精品久久夜| 欧美电影一区二区三区| 成熟亚洲日本毛茸茸凸凹| 亚洲一区二区黄色| 久久综合99re88久久爱| 91猫先生在线| 精品在线一区二区三区| 一区二区三区四区在线免费观看| 欧美一区二区三区在线视频| 99天天综合性| 激情国产一区二区| 亚洲一区二区三区四区在线免费观看| 2024国产精品视频| 欧美日韩一区久久| 成人激情av网| 毛片av一区二区| 依依成人精品视频| 久久久久久亚洲综合| 51精品国自产在线| 91日韩一区二区三区| 国产福利一区二区三区| 婷婷一区二区三区| 亚洲视频小说图片| 国产无人区一区二区三区| 欧美高清性hdvideosex| eeuss影院一区二区三区| 看电影不卡的网站| 日一区二区三区|