Virtual Method

ValentMediaAdapterexport_player

unstable since: 1.0

Declaration [src]

void
export_player (
  ValentMediaAdapter* adapter,
  ValentMediaPlayer* player
)

Description [src]

Export player on adapter.

This method is intended to allow device plugins to expose remote media players to the host system. Usually this means exporting an interface on D-Bus or an mDNS service.

Implementations must automatically unexport any players when destroyed.

Available since: 1.0

Parameters

player

Type: ValentMediaPlayer

A ValentMediaPlayer.

The data is owned by the caller of the method.