From bcf09f8c995221e75c7cd328f25c7cc6d2b5f7c9 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Thu, 30 Aug 2012 14:51:40 -0700 Subject: Only run the wifi display RTSP server on demand, and only on the wifi direct interface. Change-Id: I7d3c44cb79cd40e73499f2d7ccf35c69b628e6d7 --- include/media/IMediaPlayerService.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/media/IMediaPlayerService.h b/include/media/IMediaPlayerService.h index dbcdf927..172975cb 100644 --- a/include/media/IMediaPlayerService.h +++ b/include/media/IMediaPlayerService.h @@ -50,7 +50,11 @@ public: virtual sp getOMX() = 0; virtual sp 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 { -- cgit v1.2.3