## FsBaseConference

FsBaseConference — Base class for Farsight Conference Gstreamer Elements

## Synopsis

    #include <gst/farsight/fs-base-conference.h>

                        FsBaseConference;
                        FsBaseConferenceClass;

## Object Hierarchy

      GObject
       +----GstObject
             +----GstElement
                   +----GstBin
                         +----FsBaseConference

## Implemented Interfaces

FsBaseConference implements GstChildProxy, GstImplementsInterface and FsConference.

## Description

This base class must be subclassed by all Farsight Conference elements. It makes sure to agreggate the errors and maintain the lifecycles of the instances in the API.

## Details

### FsBaseConference

    typedef struct _FsBaseConference FsBaseConference;

The FsBaseConference structure, all the members are private

### FsBaseConferenceClass

    typedef struct {
      GstBinClass parent_class;

      /* virtual methods */
      FsSession *(*new_session) (FsBaseConference *conference,
                                 FsMediaType media_type,
                                 GError **error);
      FsParticipant *(*new_participant) (FsBaseConference *conference,
          const gchar *cname,
          GError **error);
    } FsBaseConferenceClass;

The class structure of FsBaseConference. Derived classes should override all members.

GstBinClass `parent_class`; | Our parent
`new_session` () | allocates a new FsSession for this conference
`new_participant` () | Creates a new FsParticipant of the type required for this conference