surface

val surface: Surface

Returns the Surface associated with this source. Rendering to this Surface will add frames to the video track.

Throws an exception if the track is in an invalid state.