Provides APIs for RTP (Real-time Transport Protocol), allowing applications to manage on-demand or interactive data streaming. In particular, apps that provide VOIP, push-to-talk, conferencing, and audio streaming can use these APIs to initiate sessions and transmit or receive data streams over any available network.
To support audio conferencing and similar usages, you need to instantiate two classes as endpoints for the stream:
The simplest usage involves a single remote endpoint and local endpoint. For more complex usages, refer to the limitations described for {@link android.net.rtp.AudioGroup}.
Note: To use the RTP APIs, you must request the {@link android.Manifest.permission#INTERNET} and {@link android.Manifest.permission#RECORD_AUDIO} permissions in your manifest file.