MediaStream.unrealize

void unrealize(gdk.surface.Surface surface)

Undoes a previous call to [gtk.media_stream.MediaStream.realize].

This causes the stream to release all resources it had allocated from surface.

Parameters

surfacethe [gdk.surface.Surface] the stream was realized with