Enable media stream on NIX and add initial Platform API.

Based on patch from Nick Diego Yamane <nick.yamane@openbossa.org>
and Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>.

Reviewed-by: Sergio Correia