readme.txt

来自「音/视频采集程序」· 文本 代码 · 共 18 行

TXT
18
字号

Problem 
The default implementation of RTPManager uses UDP/IP for transport. This sample shows how you can override that and use RTP over your own custom transport mechanism. 

Solution 
An implementation of RTPConnector, RTPSocketAdapter is built to support a custom transport mechanism. For simplicity, UDP sockets are used in this example to illustrate the concepts. The AVTransmit and AVReceive samples were modified to make use of RTPSocketAdapter for sending and receiving of the RTP data. 

运行方法:
Run AVTransmit3 and specifies the RTP session address to send to. 
Run AVReceive3 and specifies the RTP session addresses to receive from. 
For example, 

java AVTransmit3 224.1.2.3 42050 file:/temp/foo.mov 

java AVReceive3 224.1.2.3/42050 224.1.2.3/42052 

The above example assumes that foo.mov contains 2 different tracks and so 2 sessions were created on the client side to receive both streams. 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?