diff options
author | Andreas Huber <andih@google.com> | 2012-08-30 14:51:40 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-08-30 14:51:40 -0700 |
commit | ab1bd84889273bc21efdabe5ff6f4633eb918a85 (patch) | |
tree | c7b13774524756c1add0ebf76de25be2ff8244e9 /include/media | |
parent | c869702b6aa0c4af48226c7385eee60a1642761c (diff) | |
download | frameworks_av-ab1bd84889273bc21efdabe5ff6f4633eb918a85.zip frameworks_av-ab1bd84889273bc21efdabe5ff6f4633eb918a85.tar.gz frameworks_av-ab1bd84889273bc21efdabe5ff6f4633eb918a85.tar.bz2 |
Only run the wifi display RTSP server on demand, and only on the wifi direct
interface.
Change-Id: I7d3c44cb79cd40e73499f2d7ccf35c69b628e6d7
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/IMediaPlayerService.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 @@ public: 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 { |