Stream Class |
This class will trigger StreamChange and AttributeChange events.
public class Stream : IVideoAttributesBasic, IDMAudioInformation
The Stream type exposes the following members.
| Name | Description | |
|---|---|---|
| AudioChannelsFeedback |
Reports the number of audio channels detected.
The StreamChange event will trigger with AudioChannelsEventId for Input Streams. The StreamChange event will trigger with AudioChannelsEventId for Output Streams. | |
| AudioFormatFeedback |
Reports the detected audio format accompanying the video.
The StreamChange event will trigger with AudioFormatEventId for Input Streams. The StreamChange event will trigger with AudioFormatEventId for Output Streams. This property is supported for "DmRmc100Str" device. | |
| EncryptionMode | Property to set the encryption mode. This property is only valid if the Type is equal to Transmit | |
| EncryptionModeFeedback |
Property to report the encryption mode.
This property is only valid if the Type is equal to Transmit The StreamChange event will trigger with EncryptionModeEventId for Output Streams. | |
| EncryptionStatusAsTextFeedback |
This property is only valid if the Type is equal to Receive The StreamChange event will trigger with EncryptionStatusEventId for Input Streams. | |
| EncryptionStatusFeedback |
Property to report the encryption status of the stream.
This property is only valid if the Type is equal to Receive The StreamChange event will trigger with EncryptionStatusEventId for Input Streams. | |
| MulticastTTL | Property to set the time to live for the multicast. This property is only valid if the Type is equal to Transmit | |
| MulticastTTLFeedback |
Property to report the time to live for the multicast.
This property is only valid if the Type is equal to Transmit The StreamChange event will trigger with MulticastTTLEventId for Output Streams. | |
| Owner | This represents the owner of this stream and needs to be cast accordingly. | |
| RtspFileName | Property to set the file name when used in RTSP mode. Default value is = "live.sdp". This property is only valid if the Type is equal to Transmit. | |
| RtspFileNameFeedback |
Property to report the file name when used in RTSP mode.
This property is only valid if the Type is equal to Transmit The StreamChange event will trigger with RtspFileNameEventId for Output Streams. | |
| RtspSessionName | Property to set the session name when used in RTSP mode. This property is only valid if the Type is equal to Transmit | |
| RtspSessionNameFeedback |
Property to report the session name when used in RTSP mode.
This property is only valid if the Type is equal to Transmit The StreamChange event will trigger with RtspSessionNameEventId for Output Streams. | |
| StreamAuthenticatedFeedback |
Property to report if the stream is authenticated.
This property is only valid if the Type is equal to Receive The StreamChange event will trigger with StreamAuthenticatedEventId for Input Streams. | |
| Type | Property to return the stream type. | |
| VideoAttributes |
Video Attributes for the DM device
This property will trigger AttributeChange event with VideoAttributeEventIds. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| StreamChange |
Event triggered when the Stream reports information to the Control System.
Valid event IDs are available in DMInputEventIds and DMOutputEventIds. |