Represents the state of an audio-video stream in an OpenTok session. To get the most updated information, use the Stream
property of a Publisher or Subscriber before accessing any of the properties of the stream.
More...
Inherits IDisposable.
|
void | Dispose () |
| Disposes of the Stream object's resources. More...
|
|
override bool | Equals (object obj) |
|
override int | GetHashCode () |
|
|
virtual void | Dispose (bool disposing) |
|
Represents the state of an audio-video stream in an OpenTok session. To get the most updated information, use the Stream
property of a Publisher or Subscriber before accessing any of the properties of the stream.
The Session object sends the Session.StreamReceived event when there is a new stream in the session. This object only represents the stream at the moment of the callback.
The Session sends a Session.StreamDropped event when a stream is dropped from the session (for example, when it is unpublished). Again, this instance only represents the stream at the moment of the callback.
◆ Dispose()
void OpenTok.Stream.Dispose |
( |
| ) |
|
Disposes of the Stream object's resources.
◆ Connection
The Connection object corresponding to the client that is publishing the stream. You can always use this to retrieve the connection even beyond the scope of the callback where this Stream object was received.
◆ CreationTime
DateTime OpenTok.Stream.CreationTime |
|
get |
The creation time of this stream.
◆ HasAudio
bool OpenTok.Stream.HasAudio |
|
get |
Whether audio is enabled (true
) or disabled (false
) in the stream. Add an event listener for the Session.StreamHasAudioChanged event to detect changes in the HasAudio property.
◆ HasCaptions
bool OpenTok.Stream.HasCaptions |
|
get |
Whether this stream has captions (true
) or not (false
).
◆ HasVideo
bool OpenTok.Stream.HasVideo |
|
get |
Whether video is enabled (true
) or disabled (false
) in the stream. Add an event listener for the Session.StreamHasVideoChanged event to detect changes in the HasVideo property.
◆ Height
int OpenTok.Stream.Height |
|
get |
The height of the video in this stream. Add an event listener for the Session.StreamDimensionsChanged event to detect changes in the Width or Height properties.
◆ Id
The unique identifier for this stream.
◆ Name
string OpenTok.Stream.Name |
|
get |
The name of the stream. You can display this name to identify the stream's publisher.
◆ VideoSourceType
◆ Width
The width of the video in this stream. Add an event listener for the Session.StreamDimensionsChanged event to detect changes in the Height or Width properties.
The documentation for this class was generated from the following file:
- /Users/jswartz_1/src/native-sdk-src/project/windows/OpenTok/src/Stream.cs