[libav-api] Streaming video over wifi network

Luca Barbato lu_zero at gentoo.org
Sun Nov 6 01:38:45 CET 2011

On 11/2/11 3:48 AM, Hema A wrote:
> Hi,
> I am trying to encode and stream mpeg4 video using RTP to a vlc player.
> When tested on X86 platform, the streaming is successful over wired network
> (LAN). But when ported the same application on Android and tried to stream
> over wifi, i get the following error in line;
> url_fopen(&rtpctx->pb, rtpctx->filename, URL_WRONLY);
> The function return -2 which seems to be ENOENT [possible call for

Make sure your android application is allowed to use the network.
Usually that is the problem mostly overlooked.


More information about the libav-api mailing list