Only run the wifi display RTSP server on demand, and only on the wifi direct
interface.
Change-Id: I7d3c44cb79cd40e73499f2d7ccf35c69b628e6d7
diff --git a/include/media/IMediaPlayerService.h b/include/media/IMediaPlayerService.h
index dbcdf92..172975c 100644
--- a/include/media/IMediaPlayerService.h
+++ b/include/media/IMediaPlayerService.h
@@ -50,7 +50,11 @@
virtual sp<IOMX> getOMX() = 0;
virtual sp<ICrypto> makeCrypto() = 0;
- virtual status_t enableRemoteDisplay(bool enable) = 0;
+ // If iface == NULL, disable remote display, otherwise
+ // iface should be of the form "x.x.x.x:y", i.e. ip address
+ // of the local interface to bind to and the port number
+ // to listen on.
+ virtual status_t enableRemoteDisplay(const char *iface) = 0;
// codecs and audio devices usage tracking for the battery app
enum BatteryDataBits {