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 | bcf09f8c995221e75c7cd328f25c7cc6d2b5f7c9 (patch) | |
tree | 12db95dcd0186648022458280b950cf4aa154849 /include | |
parent | 86b1961a8d61086ef8d5475182f2a3cf4392b42c (diff) | |
download | frameworks_av-bcf09f8c995221e75c7cd328f25c7cc6d2b5f7c9.zip frameworks_av-bcf09f8c995221e75c7cd328f25c7cc6d2b5f7c9.tar.gz frameworks_av-bcf09f8c995221e75c7cd328f25c7cc6d2b5f7c9.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')
-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 { |