public static interface Session.StreamPropertiesListener
Modifier and Type | Method and Description |
---|---|
void |
onStreamHasAudioChanged(Session session,
Stream stream,
boolean hasAudio)
Called when a stream in the session changes between having audio and
not having audio.
|
void |
onStreamHasVideoChanged(Session session,
Stream stream,
boolean hasVideo)
Called when a stream in the session changes between having video and
not having video.
|
void |
onStreamVideoDimensionsChanged(Session session,
Stream stream,
int width,
int height)
Called when the video dimensions of a stream in the session change.
|
void |
onStreamVideoTypeChanged(Session session,
Stream stream,
Stream.StreamVideoType videoType)
Called when the video type of a stream in the session change.
|
void onStreamHasAudioChanged(Session session, Stream stream, boolean hasAudio)
session
- The session containing the stream.stream
- The stream.hasAudio
- Whether the stream has audio (true
) or not (
false
).void onStreamHasVideoChanged(Session session, Stream stream, boolean hasVideo)
session
- The session containing the stream.stream
- The stream.hasVideo
- Whether the stream has video (true
) or not (
false
).void onStreamVideoDimensionsChanged(Session session, Stream stream, int width, int height)
session
- The session containing the stream.stream
- The stream.width
- The new width of the stream, in pixels.height
- The new height of the stream, in pixels.void onStreamVideoTypeChanged(Session session, Stream stream, Stream.StreamVideoType videoType)
session
- The session containing the stream.stream
- The stream.videoType
- The new video type of the stream.