is_shared


Description:

public bool is_shared ()

Check if the pipeline for this can be shared between multiple clients in theory.

This simply returns the value set via set_shared.

To know if a media can be shared in practice, i.e. if it's shareable and either reusable or was never unprepared before, use can_be_shared.

Parameters:

this

a Media

Returns:

true if the media can be shared between clients.