Click or drag to resize

Stream Class

Stream Class.

This class will trigger StreamChange and AttributeChange events.

Inheritance Hierarchy

Namespace: Crestron.SimplSharpPro.DeviceSupport
Assembly: Crestron.SimplSharpPro.DeviceSupport (in Crestron.SimplSharpPro.DeviceSupport.dll) Version: 2.21.121
Syntax
C#
public class Stream : IVideoAttributesBasic, IDMAudioInformation

The Stream type exposes the following members.

Properties
 NameDescription
Public propertyAudioChannelsFeedback 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.

Public propertyAudioFormatFeedback 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.
Public propertyEncryptionMode Property to set the encryption mode. This property is only valid if the Type is equal to Transmit
Public propertyEncryptionModeFeedback 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.

Public propertyEncryptionStatusAsTextFeedback This property is only valid if the Type is equal to Receive

The StreamChange event will trigger with EncryptionStatusEventId for Input Streams.

Public propertyEncryptionStatusFeedback 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.

Public propertyMulticastTTL Property to set the time to live for the multicast. This property is only valid if the Type is equal to Transmit
Public propertyMulticastTTLFeedback 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.

Public propertyOwner This represents the owner of this stream and needs to be cast accordingly.
Public propertyRtspFileName 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.
Public propertyRtspFileNameFeedback 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.

Public propertyRtspSessionName Property to set the session name when used in RTSP mode. This property is only valid if the Type is equal to Transmit
Public propertyRtspSessionNameFeedback 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.

Public propertyStreamAuthenticatedFeedback 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.

Public propertyType Property to return the stream type.
Public propertyVideoAttributes Video Attributes for the DM device

This property will trigger AttributeChange event with VideoAttributeEventIds.

Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventStreamChange Event triggered when the Stream reports information to the Control System.

Valid event IDs are available in DMInputEventIds and DMOutputEventIds.

Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also