@construct


Description:

public virtual Media @construct (Url url)

Construct the media object and create its streams.

Implementations should create the needed gstreamer elements and add them to the result object. No state changes should be performed on them yet.

One or more GstRTSPStream objects should be created from the result with gst_rtsp_media_create_stream ().

After the media is constructed, it can be configured and then prepared with gst_rtsp_media_prepare ().

Parameters:

this

a MediaFactory

url

the url used

Returns:

a new Media if the media could be prepared.




2022 vala-language.org