StreamingLib¶
-
public interface
StreamingLib
¶
Methods¶
createStream¶
-
public IStream
createStream
(HashMap<String, String> configParams, Handler notificationHandler)¶ This factory method provides a new IStrean instance
Parameters: - configParams – All needed configuration string parameters. All the supported parameters are the following:
- name: (mandatory) the name of the stream (it must be unique for stream)
- uri: (mandatory) the uri of the stream (it can be also changed later)
- latency: (optional) the preferred latency of the stream in ms (default value: 200 ms)
Parameters: - notificationHandler – the handler where to receive all notifications from the Library
Throws: - Exception – if an error occurred during the stream initialization