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

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

?? manual.txt

?? 利用rtp庫實現實時語音傳送
?? TXT
?? 第 1 頁 / 共 3 頁
字號:
--------------------------------------------------------------------------------                                                                6th January 2004                         JRTPLIB (v2.8) -  REFERENCE MANUAL1.    General Information1.1   Description	JRTPLIB (Jori's RTP Library) is an object oriented library for the use of RTP(Real-Time Transport Protocol). Normally, it should follow the specificationsaccording to RFC 1889. This textfile describes the classes and functions which form the interface of the library. If some of the used terms aren'tclear, you should consult RFC 1889.1.2   Author & contactThe library was written completely from scratch by Jori Liesenborgs. Anycomments, bugreports, ideas for improvements,... can be sent to the followinge-mail address:		jori@lumumba.luc.ac.be1.3   PlatformsThe library uses the socket mechanism for network communications. This meansit can be compiled (perhaps with some minor modifications) and used on various platforms. It has been tested on a Linux platform and on a Windowsplatform (using the Winsock library). It's also known to work on Solaris,HP-UX, FreeBSD and VxWorks platforms.1.4   Important general informationAll of the functions with return type 'int', return 0 or more on success. Thus, with these functions an error is always indicated by a negative number.1.5   What the library doesn't doAn important remark is that the library will not necessarily filter out duplicate packets. The packets from one sender which are in the received packetsqueue after a call to 'Poll', won't be duplicates of other packets in the queue.Once out of the queue, however, there is no guarantee that some accepted packet won't have been received already. There is a good reason for this: the application using the library probably hasmore information about which packets are expected. Using this information it's possible to filter out duplicate packets using less memory than would be required inside the library.1.6   Copyright & disclaimer  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.2.    class RTPSession2.1   DescriptionThis class is used to set up a RTP session.2.2   Member functions - int Create(int localportbase)	This function attempts to create a RTP session with a given portbase.	It creates an initial timestamp and an initial packet sequence	number. It also creates a local synchronization source identifier	(SSRC). When doing this, the list of illegal SSRCs is checked. This	list can be modified by the functions AddIllegalLocalSSRC,	DeleteIllegalLocalSSRC and ClearInvalidLocalSSRCList. In a newly 	created session, there are no destinations to send the RTP and RTCP 	packets to. Destinations can be set by the functions AddDestination, 	DeleteDestination and ClearDestinations. - int GetPortBase()	Returns the portbase of this session. - int GetLocalSSRC(unsigned long *ssrc)	This function retrieves the local synchronization source identifier. - int Destroy()	Destroys the session. All info is destroyed, including destinations,	default values for SendPacket, invalid local SSRC values,...	 - int GetRTPSocket(RTPSOCKET *sock)	Retrieves the RTP socket (used for receiving RTP data). This way, 	the socket can be used outside the library. A practical use would be 	in the 'select' function. - int GetRTCPSocket(RTPSOCKET *sock)	Retrieves the RTCP socket (used for receiving RTCP data). This way, 	the socket can be used outside the library. A practical use would 	be in the 'select' function. - int GetSendSocket(RTPSOCKET *sock)	Retrieves the socket which is used for sending the RTP data. This 	way, the socket can be used outside the library. A practical use 	would be in the 'select' function.  - int GetSendPort()	Retrieves the port to which the sending socket was bound. - int GetLocalIP(unsigned long *ip) 	Puts the local IP address which is used by the library in 'ip'. - int SetToS(int tos) 	Set the IP type of service (ToS) field for outgoing RTP and RTCP	packets.  - int AddDestination(unsigned long remoteIP,int remoteportbase) 	Adds a destination to send RTP and RTCP data to. - int DeleteDestination(unsigned long remoteIP,int remoteportbase)	Deletes a destination from the list of destinations.	 - void ClearDestinations()	Clears the list of destinations. - bool SupportsMulticasting()	Returns 'true' if the library is compiled with multicasting support,	otherwise the function returns 'false'. - int JoinMulticastGroup(unsigned long mcastIP) 	This function attempts to join the multicast group specified by the 	address in 'mcastIP'. Note that you only have to join a multicast 	group to receive packets which are sent to it. You don't have to be 	in a group to send packets to it. - int LeaveMulticastGroup(unsigned long mcastIP) 	This function attempts to leave the multicast group specified by the 	address in 'mcastIP' - void LeaveAllMulticastGroups() 	Leaves all multicast groups to which the session was previously joined 	through the use of JoinMulticastGroup 	 - int SetMulticastTTL(unsigned char ttl) 	Use this function to change the Time To Live (TTL) field for multicast 	packets. The TTL field is a field in the IP header which determines 	the lifetime for a packet (normally, this the maximum number of hops 	for a packet).	 - int SendPacket(void *data,int len)	Sends a RTP packet with a payload containing of 'len' bytes of 	'data'. To be able to use this function, you must first set the	default values for the payload type, the mark bit and the timestamp	increment value. These default values can be set with the functions	SetDefaultPayloadType, SetDefaultMark and SetDefaultTimeStampIncrement. - int SendPacket(void *data,int len,unsigned char pt,bool mark,unsigned long timestampinc)	Sends a RTP packet with a payload containing of 'len' bytes of 	'data'. The packet type is specified by 'pt', the mark bit by 'mark'	and the timestamp increment by 'timestampinc'. The values set by	SetDefaultPayloadType, SetDefaultMark and SetDefaultTimeStampIncrement	are ignored.	 - int SendPacket(void *data,int len,unsigned short hdrextID,void *hdrextdata,int numhdrextwords)	Sends a RTP packet with a payload containing of 'len' bytes of	'data'. To be able to use this function, you must first set the	default values for the payload type, the mark bit and the timestamp	increment value. These default values can be set with the functions	SetDefaultPayloadType, SetDefaultMark and SetDefaultTimeStampIncrement.	This function also causes a RTP header extension to be included in the	packet. This extension has identifier 'hdrextID' and the length of the	extension data is specified in 32-bit words by 'numhdrextwords'. The	data itself is contained in 'hdrextdata'. - int SendPacket(void *data,int len,unsigned char pt,bool mark,unsigned long timestampinc,unsigned short hdrextID,void *hdrextdata,int numhdrextwords)	Sends a RTP packet with a payload containing of 'len' bytes of	'data'. The packet type is specified by 'pt', the mark bit by 'mark'	and the timestamp increment by 'timestampinc'. The values set by	SetDefaultPayloadType, SetDefaultMark and SetDefaultTimeStampIncrement	are ignored. This function also causes a RTP header extension to be	included in the packet. This extension has identifier 'hdrextID' and	the length of the extension data is specified in 32-bit words by	'numhdrextwords'. The data itself is contained in 'hdrextdata'. - void SetDefaultPayloadType(unsigned char pt)	Sets the default packet type. - void SetDefaultMark(bool mark)	Sets the default value for the mark bit. - void SetDefaultTimeStampIncrement(unsigned long inc)	Sets the default timestamp increment value. - int IncrementTimeStamp(unsigned long inc)	Increments the current timestamp with value 'inc'. - int IncrementTimeStampDefault()	Increments the current timestamp with the default value, set by the	function SetDefaultTimeStampIncrement. - int PollData()	Checks for data on RTP and RTCP ports. If any data is present, it's	immediately processed. To retrieve RTP packets or info gathered from	RTCP packets, you can use the functions GotoFirstSource, GotoNextSource,	GotoFirstSourceWithData, GotoNextSourceWithData, GetNextPacket,	GetCurrentSourceInfo and GetSourceInfo. After calling PollData, you	should always use one of the GotoFirst functions before one of the	GotoNext functions, as the list of participating sources may have 	changed: sources could have joined the session or may have left the	session. 	Note that currently own RTCP packets are always discarded. - bool GotoFirstSource()	This function goes sets a pointer to the first participating source.	You can use this function to start an iteration over the participating	sources. It returns 'true' if there are any participating sources,	otherwise the function returns 'false'.	 - bool GotoNextSource()	You can use this function to iterate over the participating sources.	If there is a source that hasn't been processed yet, the function	returns 'true'. If all sources were covered, 'false' is returned. - bool GotoFirstSourceWithData()	This function is similar to GotoFirstSource, but it skips sources	that haven't got any data pending on their input queues. Returns	'true' is a source with data on its queue exists. Returns 'false'	otherwise. - bool GotoNextSourceWithData()	This function is similar to GotoNextSource, but it skips sources	that haven't got any data pending on their input queues. If there	aren't any sources left to process 'false' is returned. If another	source was found, 'true' is returned. - RTPPacket *GetNextPacket()	When iterating over the participating sources with GotoFirst and	GotoNext functions, you can use this function to extract a packet	from the current source's queue. If data is available, the function	returns an instance of the class RTPPacket containing the data. 	Otherwise, NULL is returned. If a packet is returned, it must be	destroyed by a call to 'delete' when it is no longer needed. - RTPSourceData *GetCurrentSourceInfo()	When iterating over the participating sources with GotoFirst and	GotoNext functions, you can use this function to get information	about the current source. If the iteration has stopped NULL is	returned, otherwise the function returns an instance of the class 	RTPSourceData containing the info about the current source. - RTPSourceData *GetSourceInfo(unsigned long ssrc)	Retrieves information about the participating source with 	synchronization source identifier 'ssrc'. If there is an entry for	that source, an instance of the class RTPSourceData is returned.	Otherwise the function returns NULL. - int AddInvalidLocalSSRC(unsigned long ssrc)	Adds the synchronization source identifier 'ssrc' to the list of	invalid local sychronization source identifiers. This list is checked	when the local SSRC identifier is created. - int RemoveInvalidLocalSSRC(unsigned long ssrc)	Removes an entry from the list of invalid local SSRCs. - void ClearInvalidLocalSSRCList()	Clears the list of invalid local SSRCs. - int AddCSRC(unsigned long csrc)	Adds an entry to the list of contributing sources. Info about these	sources can be set with SetCSRC functions. - int DeleteCSRC(unsigned long csrc)	Deletes an entry from the list of contributing sources. - void ClearCSRCList()	Clears the list of contributing sources. - int SetReceiveMode(int mode)	Sets the receive mode. The parameter 'mode' has three legal values:	* RECEIVEMODE_ALL 		Accept all incoming data on RTP and RTCP ports.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91丨porny丨蝌蚪视频| 国产成人在线看| 激情五月婷婷综合| 色又黄又爽网站www久久| 欧美一区二区三区不卡| 亚洲欧美日韩中文播放| 日韩1区2区日韩1区2区| 国产1区2区3区精品美女| 亚洲成人一区在线| 91精品国产高清一区二区三区 | 久久人人超碰精品| 中文字幕av不卡| 奇米精品一区二区三区四区 | 成人美女在线视频| 精品播放一区二区| 午夜精品久久久久久久蜜桃app| 高清成人在线观看| 精品理论电影在线观看| 日本在线播放一区二区三区| bt欧美亚洲午夜电影天堂| 久久久久久久性| 韩国欧美国产1区| 日韩欧美高清在线| 蜜桃91丨九色丨蝌蚪91桃色| 在线播放日韩导航| 亚洲成人动漫在线免费观看| 91蜜桃在线免费视频| 自拍偷拍亚洲激情| 99v久久综合狠狠综合久久| 日本一区二区综合亚洲| 不卡av在线免费观看| 中文av一区二区| bt欧美亚洲午夜电影天堂| 中文字幕综合网| 91偷拍与自偷拍精品| 亚洲欧美影音先锋| 一本色道**综合亚洲精品蜜桃冫| 中文字幕制服丝袜一区二区三区| 北岛玲一区二区三区四区| 中文字幕+乱码+中文字幕一区| 国产综合成人久久大片91| 久久影院午夜片一区| 91色porny| 一区二区国产盗摄色噜噜| 91福利社在线观看| 亚洲bt欧美bt精品777| 宅男在线国产精品| 奇米在线7777在线精品| 国产无人区一区二区三区| 成人高清免费观看| 亚洲综合一区二区三区| 制服丝袜av成人在线看| 国产专区欧美精品| 中文字幕日韩av资源站| 欧美性猛交xxxxxxxx| 日韩和欧美一区二区| 精品国产成人在线影院| 成人免费视频视频| 亚洲综合色自拍一区| 日韩一卡二卡三卡| 高清av一区二区| 亚洲一区二区精品久久av| 日韩欧美一区中文| 暴力调教一区二区三区| 日韩黄色片在线观看| 国产欧美日产一区| 欧美精品少妇一区二区三区| 精品一区在线看| 一区二区三区**美女毛片| 日韩欧美一区二区视频| 99re亚洲国产精品| 免费的国产精品| 国产精品久久久久久久久搜平片| 精品污污网站免费看| 国产毛片精品一区| 亚洲综合免费观看高清在线观看| 精品国产免费一区二区三区香蕉| 91香蕉国产在线观看软件| 免费成人在线网站| 亚洲一区二区不卡免费| 欧美国产激情一区二区三区蜜月| 欧美日本精品一区二区三区| 国产a视频精品免费观看| 日韩中文字幕91| 亚洲欧美日韩国产另类专区| 久久免费看少妇高潮| 欧美日韩精品一区二区天天拍小说| 国产成人精品亚洲777人妖 | 欧美日本一区二区| 91污在线观看| 国产盗摄女厕一区二区三区| 亚洲小说春色综合另类电影| 欧美激情中文不卡| 日韩欧美国产一区二区三区| 欧美在线色视频| 92国产精品观看| 国产成人av一区二区三区在线| 奇米影视在线99精品| 亚洲高清久久久| 夜夜亚洲天天久久| 亚洲男人的天堂在线aⅴ视频| 久久久午夜电影| 欧美xxx久久| 欧美成va人片在线观看| 91精品欧美一区二区三区综合在 | 久久久蜜臀国产一区二区| 制服视频三区第一页精品| 欧美日韩五月天| 色94色欧美sute亚洲13| 91一区一区三区| 91偷拍与自偷拍精品| 国产精品视频线看| 成人97人人超碰人人99| 成人精品视频一区二区三区| 国产成人免费9x9x人网站视频| 精品亚洲免费视频| 国产在线精品一区二区夜色| 久久精品久久精品| 韩国成人在线视频| 国产精品538一区二区在线| 精品在线你懂的| 成人小视频免费在线观看| 成人激情免费视频| 色综合夜色一区| 欧美日韩不卡在线| 日韩欧美在线不卡| 欧美国产一区视频在线观看| 国产精品丝袜黑色高跟| 亚洲日本丝袜连裤袜办公室| 亚洲柠檬福利资源导航| 一区二区三区视频在线观看| 亚洲国产精品麻豆| 久久精品国产久精国产| 国产在线视频一区二区| 高清不卡一二三区| 欧美在线观看视频在线| 制服丝袜亚洲色图| 国产欧美日本一区视频| 一区二区三区四区精品在线视频| 爽好久久久欧美精品| 国产乱码精品1区2区3区| 99精品视频在线播放观看| 欧美在线不卡一区| 精品国产一区二区三区av性色 | 91精品在线一区二区| 26uuu精品一区二区三区四区在线| 久久久99精品久久| 亚洲一区二区三区爽爽爽爽爽| 欧美aⅴ一区二区三区视频| 成人性视频免费网站| 欧美伊人久久大香线蕉综合69| 欧美电影免费观看高清完整版在线 | **性色生活片久久毛片| 亚洲国产精品自拍| 国产福利精品导航| 欧美性大战久久久久久久| 久久久99久久精品欧美| 亚洲福利视频一区| 风间由美性色一区二区三区| 欧美视频精品在线| 国产日韩欧美高清在线| 亚洲国产婷婷综合在线精品| 国产一区在线看| 欧美日韩二区三区| 国产精品美日韩| 美女爽到高潮91| 欧美三级在线看| 中国色在线观看另类| 美女精品一区二区| 欧美日韩免费一区二区三区| 久久精品一区八戒影视| 三级影片在线观看欧美日韩一区二区| 国产成人在线视频网址| 日韩欧美123| 亚洲一区二区三区国产| 北岛玲一区二区三区四区| 久久你懂得1024| 麻豆成人久久精品二区三区红| 91久久一区二区| 中文字幕在线观看一区| 国产乱理伦片在线观看夜一区| 欧美一区二区视频网站| 亚洲一区在线看| 在线视频你懂得一区二区三区| 国产精品久久久久久久第一福利 | 精品国产制服丝袜高跟| 亚洲免费观看高清完整版在线| 国产一区91精品张津瑜| 亚洲精品一区二区三区福利| 天天综合色天天| 欧美日韩美少妇| 一片黄亚洲嫩模| 91黄色在线观看| 亚洲视频1区2区| 波多野结衣在线一区| 最新高清无码专区| 色一情一乱一乱一91av| 日韩伦理电影网| 成人av网址在线| 国产精品不卡视频|