YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.sendspin.hub.PcmStreamer.Output Interface Reference

What the streamer sends; the connection implements it. More...

Inheritance diagram for de.yaacc.sendspin.hub.PcmStreamer.Output:
Inheritance graph
Collaboration diagram for de.yaacc.sendspin.hub.PcmStreamer.Output:
Collaboration graph

Public Member Functions

void streamStart (long serverTransmittedMicros, int sampleRate) throws IOException
 
void streamClear (long serverTransmittedMicros) throws IOException
 
void streamEnd () throws IOException
 
void audio (long timestampMicros, long sendAheadMicros, byte[] pcm, int offset, int length) throws IOException
 
default void abort ()
 Breaks a write that does not end: the streamer calls it when a write has been stuck for a while (the player is gone and the socket can not take more), so that end, discard and removeMember are not held up behind it.
 
default String describe ()
 A short text for the stream report (the codec and what its encoding costs), or null.
 

Detailed Description

What the streamer sends; the connection implements it.

Member Function Documentation

◆ abort()

default void de.yaacc.sendspin.hub.PcmStreamer.Output.abort ( )

Breaks a write that does not end: the streamer calls it when a write has been stuck for a while (the player is gone and the socket can not take more), so that end, discard and removeMember are not held up behind it.

Any thread; the stuck write then fails with an IOException.

Implemented in de.yaacc.sendspin.hub.HubConnection.

◆ describe()

default String de.yaacc.sendspin.hub.PcmStreamer.Output.describe ( )

A short text for the stream report (the codec and what its encoding costs), or null.

Implemented in de.yaacc.sendspin.hub.HubConnection.

Referenced by de.yaacc.sendspin.hub.PcmStreamer.removeMember(), and de.yaacc.sendspin.hub.PcmStreamer.statsOf().

Here is the caller graph for this function:

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