/*
Here s a small Ipv4 example: it asks for a portbase and a destination and
starts sending packets to that destination.
這個Ipv4版的例子:它要求portbase(本地端口)與destination (目的端口)然后發送消息
同時還監聽消息。
例子測試一:
啟動一個運行實例,本地地址與目標地址用同一個端口8888
例子測試二:
啟動兩個運行實例,本地地址與目標地址用不同的端口(它要求是偶數端口號)
兩個實例互發
例子的中文解釋都由hanyuejun添加,有任何疑問請發hanyuejun2006@163.com
*/
/*
This Ipv4 example listens for incoming packets and automatically adds destinations
for new sources.
這個例子主要是讓大家了解下面3個函數的用法。
void OnNewSource(RTPSourceData *dat)
void OnBYEPacket(RTPSourceData *dat)
void OnRemoveSource(RTPSourceData *dat)
具體內容看我的測試文檔吧。
例子的中文解釋都由hanyuejun添加,有任何疑問請發hanyuejun2006@163.com
*/