The Stream class provides methods for initializing and configuring a stream. Use the following order of method calls:
1.First of all, you have to call Init().
2.Then add a new session with AddSession().
3.To get information on a session, you can use GetSession().
4.Now, you have to add a stream to the session via AddStream().
5.To send the data, use SubmitData().
6.When you want to close the session and its stream call RemoveSession().
7.To exit finally, use Exit().
Methods
Method |
Description |
---|---|
Creates a new session for streaming. |
|
Creates a new data stream in a session. Currently, video streams are only supported. |
|
De-initializes the uEye.Streaming class. |
|
Returns the information of a session. The method can be called after creating a session with AddSession(). |
|
Initializes the uEye.Streaming class and therefore a RTSP server. Also a port is defined which is monitored by the server. |
|
Removes the session and its stream. |
|
Submits the data to be streamed. |
Error codes