1<html>
2<body>
3<p>Provides APIs for RTP (Real-time Transport Protocol), allowing applications to manage on-demand
4or interactive data streaming. In particular, apps that provide VOIP, push-to-talk, conferencing,
5and audio streaming can use these APIs to initiate sessions and transmit or receive data streams
6over any available network.</p>
7
8<p>To support audio conferencing and similar usages, you need to instantiate two classes as
9endpoints for the stream:</p>
10
11<ul>
12<li>{@link android.net.rtp.AudioStream} specifies a remote endpoint and consists of network mapping
13and a configured {@link android.net.rtp.AudioCodec}.</li>
14
15<li>{@link android.net.rtp.AudioGroup} represents the local endpoint for one or more {@link
16android.net.rtp.AudioStream}s. The {@link android.net.rtp.AudioGroup} mixes all the {@link
17android.net.rtp.AudioStream}s and optionally interacts with the device speaker and the microphone at
18the same time.</li>
19</ul>
20
21<p>The simplest usage involves a single remote endpoint and local endpoint. For more complex usages,
22refer to the limitations described for {@link android.net.rtp.AudioGroup}.</p>
23
24<p class="note"><strong>Note:</strong> To use the RTP APIs, you must request the {@link
25android.Manifest.permission#INTERNET} and {@link
26android.Manifest.permission#RECORD_AUDIO} permissions in your manifest file.</p>
27</body>
28</html>