![]() |
![]() |
![]() |
Farsight2 Reference Manual | ![]() |
---|---|---|---|---|
FsConference; FsSession* fs_conference_new_session (FsConference *conference, FsMediaType media_type, GError **error); FsParticipant* fs_conference_new_participant (FsConference *conference, gchar *cname, GError **error); #define FS_ERROR enum FsError;
This interface is implemented by the FsBaseConference base class element. A Farsight conference is a conversation space that takes place between 2 or more participants. Each conference must have one or more Farsight sessions that are associated to the conference participants. Different protocols simply need to derive from the FsBaseConference class and don't need to implement this interface directly.
FsSession* fs_conference_new_session (FsConference *conference, FsMediaType media_type, GError **error);
Create a new Farsight session for the given conference.
|
FsConference interface of a GstElement |
|
FsMediaType of the new session |
|
location of a GError, or NULL if no error occured
|
Returns : |
the new FsSession that has been created. The FsSession must be unref'd by the user when closing the session. |
FsParticipant* fs_conference_new_participant (FsConference *conference, gchar *cname, GError **error);
Create a new Farsight Participant for the type of the given conference.
|
FsConference interface of a GstElement |
|
The cname of the participant |
|
location of a GError, or NULL if no error occured
|
Returns : |
the new FsParticipant that has been created. The FsParticipant is owned by the user and he must unref it when he is done with it. |
#define FS_ERROR (fs_error_quark ())
This quark is used to denote errors coming from Farsight objects
typedef enum { FS_ERROR_CONSTRUCTION, FS_ERROR_INVALID_ARGUMENTS, FS_ERROR_INTERNAL, FS_ERROR_NETWORK, FS_ERROR_NOT_IMPLEMENTED, FS_ERROR_NEGOTIATION_FAILED, FS_ERROR_UNKNOWN_CODEC, FS_ERROR_UNKNOWN_CNAME } FsError;
This is the enum of error numbers that will come either on the "error" signal or from the Gst Bus.
Error constructing some of the sub-elements | |
Invalid arguments to the function | |
An internal error happened in Farsight | |
A network related error | |
This functionality is not implemented by this plugins | |
The codec negotiation has failed | |
The codec is unknown | |
Data was received for an unknown cname |