track property

CustomStreamTrack? track
final

The tested track, or null when the check failed.

When you passed videoTrack / audioTrack, this is that same CustomStreamTrack. When the test opened the device itself, it is a new CustomStreamTrack that stays open and belongs to the app: preview it, hand it to VideoSDK.createRoom, or CustomStreamTrack.stop it.

Implementation

final CustomStreamTrack? track;