public interface VideoTrackPublication extends TrackPublication
Room
.Modifier and Type | Method and Description |
---|---|
VideoTrack |
getVideoTrack()
LocalVideoTrackPublication and RemoteVideoTrackPublication extend VideoTrackPublication and each interface implements getVideoTrack with different nullability
behavior. |
getTrackName, getTrackSid, isTrackEnabled
@Nullable VideoTrack getVideoTrack()
LocalVideoTrackPublication
and RemoteVideoTrackPublication
extend VideoTrackPublication
and each interface implements getVideoTrack with different nullability
behavior. LocalVideoTrackPublication.getVideoTrack()
is annotated as @NonNull and
RemoteVideoTrackPublication.getVideoTrack()
is annotated as @Nullable.
This method is marked as @Nullable because at least one of the subclasses returns null.
LocalVideoTrackPublication
,
RemoteVideoTrackPublication
6.0.0