YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.upnp.server.http.YaaccUpnpServerContentHttpHandler Class Reference

A http service to retrieve media content by an id. More...

Inheritance diagram for de.yaacc.upnp.server.http.YaaccUpnpServerContentHttpHandler:
Inheritance graph
Collaboration diagram for de.yaacc.upnp.server.http.YaaccUpnpServerContentHttpHandler:
Collaboration graph

Classes

class  ByteArrayContentHolder
 
class  ContentHolder
 ValueHolder for media content.
 
class  FileContentHolder
 
class  LiveStreamContentHolder
 ContentHolder for live streams (no known length).
 
class  SafContentHolder
 Special ContentHolder for SAF content that avoids blocking DocumentFile operations.
 

Public Member Functions

 YaaccUpnpServerContentHttpHandler (Context context)
 
AsyncRequestConsumer< Message< HttpRequest, byte[]> > prepare (HttpRequest request, EntityDetails entityDetails, HttpContext context)
 
void handle (final Message< HttpRequest, byte[]> request, final ResponseTrigger responseTrigger, final HttpContext context) throws HttpException, IOException
 

Static Public Member Functions

static void updateRendererPosition (Context context, String shareKey, String deviceId, long timeMs, boolean isPaused)
 Tells the server-side time range management where a renderer is playing (position change, seek).
 

Detailed Description

A http service to retrieve media content by an id.

Author
Tobias Schoene (tobexyz)

Member Function Documentation

◆ updateRendererPosition()

static void de.yaacc.upnp.server.http.YaaccUpnpServerContentHttpHandler.updateRendererPosition ( Context context,
String shareKey,
String deviceId,
long timeMs,
boolean isPaused )
static

Tells the server-side time range management where a renderer is playing (position change, seek).

Only an EXISTING state of a live http(s) share is changed; nothing is created, and an invalid key or device id does nothing. Neither is logged.

Parameters
shareKeythe key of the share (last segment of its proxy URL)
deviceIdthe renderer's id
Here is the call graph for this function:

The documentation for this class was generated from the following file: