Package de.sfuhrm.radiorecorder.consumer
Class StreamCastConsumer
java.lang.Object
de.sfuhrm.radiorecorder.consumer.AbstractConsumer
de.sfuhrm.radiorecorder.consumer.MetaDataConsumer
de.sfuhrm.radiorecorder.consumer.StreamCastConsumer
- All Implemented Interfaces:
Consumer<HttpConnection>
Plays a stream using a named Chrome Cast device.
- Author:
- Stephan Fuhrmann
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void__accept(HttpConnection t, InputStream inputStream) The accept method to overwrite by implementing classes.Methods inherited from class de.sfuhrm.radiorecorder.consumer.MetaDataConsumer
_acceptMethods inherited from class de.sfuhrm.radiorecorder.consumer.AbstractConsumer
accept
-
Field Details
-
APP_ID
The ID of the default media receiver app.- See Also:
-
-
Constructor Details
-
StreamCastConsumer
Constructor.- Parameters:
consumerContext- the context to work in.
-
-
Method Details
-
__accept
Description copied from class:MetaDataConsumerThe accept method to overwrite by implementing classes.- Specified by:
__acceptin classMetaDataConsumer- Parameters:
t- the http connection being processed.inputStream- the input stream that is processed.
-