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