diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-09-04 21:38:42 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-09-05 08:47:36 -0700 |
commit | 2013a54981d4ffb036dff279b88cc9f08c0ee1c2 (patch) | |
tree | 0be5853ec89f5d075763a8228513a6e98a27a30e /include/media/IMediaPlayerService.h | |
parent | 62a1904e6beaa8848eddd2b635053536fbe5e804 (diff) | |
download | frameworks_av-2013a54981d4ffb036dff279b88cc9f08c0ee1c2.zip frameworks_av-2013a54981d4ffb036dff279b88cc9f08c0ee1c2.tar.gz frameworks_av-2013a54981d4ffb036dff279b88cc9f08c0ee1c2.tar.bz2 |
Implement remote display service stubs.
Change-Id: I582ed000026bba6d116db8304e15a3c52f8a9a01
Diffstat (limited to 'include/media/IMediaPlayerService.h')
-rw-r--r-- | include/media/IMediaPlayerService.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/media/IMediaPlayerService.h b/include/media/IMediaPlayerService.h index 172975c..c4c37b6 100644 --- a/include/media/IMediaPlayerService.h +++ b/include/media/IMediaPlayerService.h @@ -34,6 +34,8 @@ namespace android { struct ICrypto; class IMediaRecorder; class IOMX; +class IRemoteDisplay; +class IRemoteDisplayClient; struct IStreamSource; class IMediaPlayerService: public IInterface @@ -50,6 +52,16 @@ public: virtual sp<IOMX> getOMX() = 0; virtual sp<ICrypto> makeCrypto() = 0; + // Connects to a remote display. + // 'iface' specifies the address of the local interface on which to listen for + // a connection from the remote display as an ip address and port number + // of the form "x.x.x.x:y". The media server should call back into the provided remote + // display client when display connection, disconnection or errors occur. + // The assumption is that at most one remote display will be connected to the + // provided interface at a time. + virtual sp<IRemoteDisplay> listenForRemoteDisplay(const sp<IRemoteDisplayClient>& client, + const String8& iface) = 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 |