Service-side media streaming helper interfaces

## Service-side media streaming helper interfaces Service-side media streaming helper interfaces — media session and media stream |

## Synopsis

    #include <telepathy-glib/svc-media-interfaces.h>

                        TpSvcMediaSessionHandler;
                        TpSvcMediaSessionHandlerClass;
    void                (*tp_svc_media_session_handler_error_impl)
                                                            (TpSvcMediaSessionHandler *self,
                                                             guint in_errno,
                                                             const gchar *in_message,
                                                             DBusGMethodInvocation *context);
    void                tp_svc_media_session_handler_implement_error
                                                            (TpSvcMediaSessionHandlerClass *klass,
                                                             tp_svc_media_session_handler_error_impl impl);
    void                tp_svc_media_session_handler_return_from_error
                                                            (DBusGMethodInvocation *context);
    void                (*tp_svc_media_session_handler_ready_impl)
                                                            (TpSvcMediaSessionHandler *self,
                                                             DBusGMethodInvocation *context);
    void                tp_svc_media_session_handler_implement_ready
                                                            (TpSvcMediaSessionHandlerClass *klass,
                                                             tp_svc_media_session_handler_ready_impl impl);
    void                tp_svc_media_session_handler_return_from_ready
                                                            (DBusGMethodInvocation *context);
    void                tp_svc_media_session_handler_emit_new_stream_handler
                                                            (gpointer instance,
                                                             const gchar *arg_stream_handler,
                                                             guint arg_id,
                                                             guint arg_media_type,
                                                             guint arg_direction);

                        TpSvcMediaStreamHandler;
                        TpSvcMediaStreamHandlerClass;
    void                (*tp_svc_media_stream_handler_codec_choice_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             guint in_codec_id,
                                                             DBusGMethodInvocation *context);
    void                tp_svc_media_stream_handler_implement_codec_choice
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_codec_choice_impl impl);
    void                tp_svc_media_stream_handler_return_from_codec_choice
                                                            (DBusGMethodInvocation *context);
    void                (*tp_svc_media_stream_handler_error_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             guint in_errno,
                                                             const gchar *in_message,
                                                             DBusGMethodInvocation *context);
    void                tp_svc_media_stream_handler_implement_error
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_error_impl impl);
    void                tp_svc_media_stream_handler_return_from_error
                                                            (DBusGMethodInvocation *context);
    void                (*tp_svc_media_stream_handler_native_candidates_prepared_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             DBusGMethodInvocation *context);
    void                tp_svc_media_stream_handler_implement_native_candidates_prepared
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_native_candidates_prepared_impl impl);
    void                tp_svc_media_stream_handler_return_from_native_candidates_prepared
                                                            (DBusGMethodInvocation *context);
    void                (*tp_svc_media_stream_handler_new_active_candidate_pair_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             const gchar *in_native_candidate_id,
                                                             const gchar *in_remote_candidate_id,
                                                             DBusGMethodInvocation *context);
    void                tp_svc_media_stream_handler_implement_new_active_candidate_pair
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_new_active_candidate_pair_impl impl);
    void                tp_svc_media_stream_handler_return_from_new_active_candidate_pair
                                                            (DBusGMethodInvocation *context);
    void                (*tp_svc_media_stream_handler_new_native_candidate_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             const gchar *in_candidate_id,
                                                             const GPtrArray *in_transports,
                                                             DBusGMethodInvocation *context);
    void                tp_svc_media_stream_handler_implement_new_native_candidate
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_new_native_candidate_impl impl);
    void                tp_svc_media_stream_handler_return_from_new_native_candidate
                                                            (DBusGMethodInvocation *context);
    void                (*tp_svc_media_stream_handler_ready_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             const GPtrArray *in_codecs,
                                                             DBusGMethodInvocation *context);
    void                tp_svc_media_stream_handler_implement_ready
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_ready_impl impl);
    void                tp_svc_media_stream_handler_return_from_ready
                                                            (DBusGMethodInvocation *context);
    void                (*tp_svc_media_stream_handler_set_local_codecs_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             const GPtrArray *in_codecs,
                                                             DBusGMethodInvocation *context);
    void                tp_svc_media_stream_handler_implement_set_local_codecs
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_set_local_codecs_impl impl);
    void                tp_svc_media_stream_handler_return_from_set_local_codecs
                                                            (DBusGMethodInvocation *context);
    void                (*tp_svc_media_stream_handler_stream_state_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             guint in_state,
                                                             DBusGMethodInvocation *context);
    void                tp_svc_media_stream_handler_implement_stream_state
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_stream_state_impl impl);
    void                tp_svc_media_stream_handler_return_from_stream_state
                                                            (DBusGMethodInvocation *context);
    void                (*tp_svc_media_stream_handler_supported_codecs_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             const GPtrArray *in_codecs,
                                                             DBusGMethodInvocation *context);
    void                tp_svc_media_stream_handler_implement_supported_codecs
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_supported_codecs_impl impl);
    void                tp_svc_media_stream_handler_return_from_supported_codecs
                                                            (DBusGMethodInvocation *context);
    void                tp_svc_media_stream_handler_emit_add_remote_candidate
                                                            (gpointer instance,
                                                             const gchar *arg_candidate_id,
                                                             const GPtrArray *arg_transports);
    void                tp_svc_media_stream_handler_emit_close
                                                            (gpointer instance);
    void                tp_svc_media_stream_handler_emit_remove_remote_candidate
                                                            (gpointer instance,
                                                             const gchar *arg_candidate_id);
    void                tp_svc_media_stream_handler_emit_set_active_candidate_pair
                                                            (gpointer instance,
                                                             const gchar *arg_native_candidate_id,
                                                             const gchar *arg_remote_candidate_id);
    void                tp_svc_media_stream_handler_emit_set_remote_candidate_list
                                                            (gpointer instance,
                                                             const GPtrArray *arg_remote_candidates);
    void                tp_svc_media_stream_handler_emit_set_remote_codecs
                                                            (gpointer instance,
                                                             const GPtrArray *arg_codecs);
    void                tp_svc_media_stream_handler_emit_set_stream_playing
                                                            (gpointer instance,
                                                             gboolean arg_playing);
    void                tp_svc_media_stream_handler_emit_set_stream_sending
                                                            (gpointer instance,
                                                             gboolean arg_sending);
    void                tp_svc_media_stream_handler_emit_start_telephony_event
                                                            (gpointer instance,
                                                             guchar arg_event);
    void                tp_svc_media_stream_handler_emit_stop_telephony_event
                                                            (gpointer instance);

## Description

These interfaces (auto-generated from the telepathy spec) make it easier to export the objects used to implement TpSvcChannelTypeStreamedMedia, with the correct method and signal signatures, and emit signals from those objects.

## Details

### TpSvcMediaSessionHandler

    typedef struct _TpSvcMediaSessionHandler TpSvcMediaSessionHandler;

Dummy typedef representing any implementation of this interface.

### TpSvcMediaSessionHandlerClass

    typedef struct _TpSvcMediaSessionHandlerClass TpSvcMediaSessionHandlerClass;

The class of TpSvcMediaSessionHandler.

### tp_svc_media_session_handler_error_impl ()

    void                (*tp_svc_media_session_handler_error_impl)
                                                            (TpSvcMediaSessionHandler *self,
                                                             guint in_errno,
                                                             const gchar *in_message,
                                                             DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method Error on interface org.freedesktop.Telepathy.Media.SessionHandler.

`self` : | The object implementing this interface
`in_errno` : | guint (FIXME, generate documentation)
`in_message` : | const gchar * (FIXME, generate documentation)
`context` : | Used to return values or throw an error

### tp_svc_media_session_handler_implement_error ()

    void                tp_svc_media_session_handler_implement_error
                                                            (TpSvcMediaSessionHandlerClass *klass,
                                                             tp_svc_media_session_handler_error_impl impl);

Register an implementation for the Error method in the vtable of an implementation of this interface. To be called from the interface init function.

`klass` : | A class whose instances implement this interface
`impl` : | A callback used to implement the Error D-Bus method

### tp_svc_media_session_handler_return_from_error ()

    void                tp_svc_media_session_handler_return_from_error
                                                            (DBusGMethodInvocation *context);

Return successfully by calling `dbus_g_method_return()`. This inline function exists only to provide type-safety.

`context` : | The D-Bus method invocation context

### tp_svc_media_session_handler_ready_impl ()

    void                (*tp_svc_media_session_handler_ready_impl)
                                                            (TpSvcMediaSessionHandler *self,
                                                             DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method Ready on interface org.freedesktop.Telepathy.Media.SessionHandler.

`self` : | The object implementing this interface
`context` : | Used to return values or throw an error

### tp_svc_media_session_handler_implement_ready ()

    void                tp_svc_media_session_handler_implement_ready
                                                            (TpSvcMediaSessionHandlerClass *klass,
                                                             tp_svc_media_session_handler_ready_impl impl);

Register an implementation for the Ready method in the vtable of an implementation of this interface. To be called from the interface init function.

`klass` : | A class whose instances implement this interface
`impl` : | A callback used to implement the Ready D-Bus method

### tp_svc_media_session_handler_return_from_ready ()

    void                tp_svc_media_session_handler_return_from_ready
                                                            (DBusGMethodInvocation *context);

Return successfully by calling `dbus_g_method_return()`. This inline function exists only to provide type-safety.

`context` : | The D-Bus method invocation context

### tp_svc_media_session_handler_emit_new_stream_handler ()

    void                tp_svc_media_session_handler_emit_new_stream_handler
                                                            (gpointer instance,
                                                             const gchar *arg_stream_handler,
                                                             guint arg_id,
                                                             guint arg_media_type,
                                                             guint arg_direction);

Type-safe wrapper around g_signal_emit to emit the NewStreamHandler signal on interface org.freedesktop.Telepathy.Media.SessionHandler.

`instance` : | The object implementing this interface
`arg_stream_handler` : | const gchar * (FIXME, generate documentation)
`arg_id` : | guint (FIXME, generate documentation)
`arg_media_type` : | guint (FIXME, generate documentation)
`arg_direction` : | guint (FIXME, generate documentation)

### TpSvcMediaStreamHandler

    typedef struct _TpSvcMediaStreamHandler TpSvcMediaStreamHandler;

Dummy typedef representing any implementation of this interface.

### TpSvcMediaStreamHandlerClass

    typedef struct _TpSvcMediaStreamHandlerClass TpSvcMediaStreamHandlerClass;

The class of TpSvcMediaStreamHandler.

### tp_svc_media_stream_handler_codec_choice_impl ()

    void                (*tp_svc_media_stream_handler_codec_choice_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             guint in_codec_id,
                                                             DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method CodecChoice on interface org.freedesktop.Telepathy.Media.StreamHandler.

`self` : | The object implementing this interface
`in_codec_id` : | guint (FIXME, generate documentation)
`context` : | Used to return values or throw an error

### tp_svc_media_stream_handler_implement_codec_choice ()

    void                tp_svc_media_stream_handler_implement_codec_choice
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_codec_choice_impl impl);

Register an implementation for the CodecChoice method in the vtable of an implementation of this interface. To be called from the interface init function.

`klass` : | A class whose instances implement this interface
`impl` : | A callback used to implement the CodecChoice D-Bus method

### tp_svc_media_stream_handler_return_from_codec_choice ()

    void                tp_svc_media_stream_handler_return_from_codec_choice
                                                            (DBusGMethodInvocation *context);

Return successfully by calling `dbus_g_method_return()`. This inline function exists only to provide type-safety.

`context` : | The D-Bus method invocation context

### tp_svc_media_stream_handler_error_impl ()

    void                (*tp_svc_media_stream_handler_error_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             guint in_errno,
                                                             const gchar *in_message,
                                                             DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method Error on interface org.freedesktop.Telepathy.Media.StreamHandler.

`self` : | The object implementing this interface
`in_errno` : | guint (FIXME, generate documentation)
`in_message` : | const gchar * (FIXME, generate documentation)
`context` : | Used to return values or throw an error

### tp_svc_media_stream_handler_implement_error ()

    void                tp_svc_media_stream_handler_implement_error
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_error_impl impl);

Register an implementation for the Error method in the vtable of an implementation of this interface. To be called from the interface init function.

`klass` : | A class whose instances implement this interface
`impl` : | A callback used to implement the Error D-Bus method

### tp_svc_media_stream_handler_return_from_error ()

    void                tp_svc_media_stream_handler_return_from_error
                                                            (DBusGMethodInvocation *context);

Return successfully by calling `dbus_g_method_return()`. This inline function exists only to provide type-safety.

`context` : | The D-Bus method invocation context

### tp_svc_media_stream_handler_native_candidates_prepared_impl ()

    void                (*tp_svc_media_stream_handler_native_candidates_prepared_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method NativeCandidatesPrepared on interface org.freedesktop.Telepathy.Media.StreamHandler.

`self` : | The object implementing this interface
`context` : | Used to return values or throw an error

### tp_svc_media_stream_handler_implement_native_candidates_prepared ()

    void                tp_svc_media_stream_handler_implement_native_candidates_prepared
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_native_candidates_prepared_impl impl);

Register an implementation for the NativeCandidatesPrepared method in the vtable of an implementation of this interface. To be called from the interface init function.

`klass` : | A class whose instances implement this interface
`impl` : | A callback used to implement the NativeCandidatesPrepared D-Bus method

### tp_svc_media_stream_handler_return_from_native_candidates_prepared ()

    void                tp_svc_media_stream_handler_return_from_native_candidates_prepared
                                                            (DBusGMethodInvocation *context);

Return successfully by calling `dbus_g_method_return()`. This inline function exists only to provide type-safety.

`context` : | The D-Bus method invocation context

### tp_svc_media_stream_handler_new_active_candidate_pair_impl ()

    void                (*tp_svc_media_stream_handler_new_active_candidate_pair_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             const gchar *in_native_candidate_id,
                                                             const gchar *in_remote_candidate_id,
                                                             DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method NewActiveCandidatePair on interface org.freedesktop.Telepathy.Media.StreamHandler.

`self` : | The object implementing this interface
`in_native_candidate_id` : | const gchar * (FIXME, generate documentation)
`in_remote_candidate_id` : | const gchar * (FIXME, generate documentation)
`context` : | Used to return values or throw an error

### tp_svc_media_stream_handler_implement_new_active_candidate_pair ()

    void                tp_svc_media_stream_handler_implement_new_active_candidate_pair
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_new_active_candidate_pair_impl impl);

Register an implementation for the NewActiveCandidatePair method in the vtable of an implementation of this interface. To be called from the interface init function.

`klass` : | A class whose instances implement this interface
`impl` : | A callback used to implement the NewActiveCandidatePair D-Bus method

### tp_svc_media_stream_handler_return_from_new_active_candidate_pair ()

    void                tp_svc_media_stream_handler_return_from_new_active_candidate_pair
                                                            (DBusGMethodInvocation *context);

Return successfully by calling `dbus_g_method_return()`. This inline function exists only to provide type-safety.

`context` : | The D-Bus method invocation context

### tp_svc_media_stream_handler_new_native_candidate_impl ()

    void                (*tp_svc_media_stream_handler_new_native_candidate_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             const gchar *in_candidate_id,
                                                             const GPtrArray *in_transports,
                                                             DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method NewNativeCandidate on interface org.freedesktop.Telepathy.Media.StreamHandler.

`self` : | The object implementing this interface
`in_candidate_id` : | const gchar * (FIXME, generate documentation)
`in_transports` : | const GPtrArray * (FIXME, generate documentation)
`context` : | Used to return values or throw an error

### tp_svc_media_stream_handler_implement_new_native_candidate ()

    void                tp_svc_media_stream_handler_implement_new_native_candidate
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_new_native_candidate_impl impl);

Register an implementation for the NewNativeCandidate method in the vtable of an implementation of this interface. To be called from the interface init function.

`klass` : | A class whose instances implement this interface
`impl` : | A callback used to implement the NewNativeCandidate D-Bus method

### tp_svc_media_stream_handler_return_from_new_native_candidate ()

    void                tp_svc_media_stream_handler_return_from_new_native_candidate
                                                            (DBusGMethodInvocation *context);

Return successfully by calling `dbus_g_method_return()`. This inline function exists only to provide type-safety.

`context` : | The D-Bus method invocation context

### tp_svc_media_stream_handler_ready_impl ()

    void                (*tp_svc_media_stream_handler_ready_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             const GPtrArray *in_codecs,
                                                             DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method Ready on interface org.freedesktop.Telepathy.Media.StreamHandler.

`self` : | The object implementing this interface
`in_codecs` : | const GPtrArray * (FIXME, generate documentation)
`context` : | Used to return values or throw an error

### tp_svc_media_stream_handler_implement_ready ()

    void                tp_svc_media_stream_handler_implement_ready
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_ready_impl impl);

Register an implementation for the Ready method in the vtable of an implementation of this interface. To be called from the interface init function.

`klass` : | A class whose instances implement this interface
`impl` : | A callback used to implement the Ready D-Bus method

### tp_svc_media_stream_handler_return_from_ready ()

    void                tp_svc_media_stream_handler_return_from_ready
                                                            (DBusGMethodInvocation *context);

Return successfully by calling `dbus_g_method_return()`. This inline function exists only to provide type-safety.

`context` : | The D-Bus method invocation context

### tp_svc_media_stream_handler_set_local_codecs_impl ()

    void                (*tp_svc_media_stream_handler_set_local_codecs_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             const GPtrArray *in_codecs,
                                                             DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method SetLocalCodecs on interface org.freedesktop.Telepathy.Media.StreamHandler.

`self` : | The object implementing this interface
`in_codecs` : | const GPtrArray * (FIXME, generate documentation)
`context` : | Used to return values or throw an error

### tp_svc_media_stream_handler_implement_set_local_codecs ()

    void                tp_svc_media_stream_handler_implement_set_local_codecs
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_set_local_codecs_impl impl);

Register an implementation for the SetLocalCodecs method in the vtable of an implementation of this interface. To be called from the interface init function.

`klass` : | A class whose instances implement this interface
`impl` : | A callback used to implement the SetLocalCodecs D-Bus method

### tp_svc_media_stream_handler_return_from_set_local_codecs ()

    void                tp_svc_media_stream_handler_return_from_set_local_codecs
                                                            (DBusGMethodInvocation *context);

Return successfully by calling `dbus_g_method_return()`. This inline function exists only to provide type-safety.

`context` : | The D-Bus method invocation context

### tp_svc_media_stream_handler_stream_state_impl ()

    void                (*tp_svc_media_stream_handler_stream_state_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             guint in_state,
                                                             DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method StreamState on interface org.freedesktop.Telepathy.Media.StreamHandler.

`self` : | The object implementing this interface
`in_state` : | guint (FIXME, generate documentation)
`context` : | Used to return values or throw an error

### tp_svc_media_stream_handler_implement_stream_state ()

    void                tp_svc_media_stream_handler_implement_stream_state
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_stream_state_impl impl);

Register an implementation for the StreamState method in the vtable of an implementation of this interface. To be called from the interface init function.

`klass` : | A class whose instances implement this interface
`impl` : | A callback used to implement the StreamState D-Bus method

### tp_svc_media_stream_handler_return_from_stream_state ()

    void                tp_svc_media_stream_handler_return_from_stream_state
                                                            (DBusGMethodInvocation *context);

Return successfully by calling `dbus_g_method_return()`. This inline function exists only to provide type-safety.

`context` : | The D-Bus method invocation context

### tp_svc_media_stream_handler_supported_codecs_impl ()

    void                (*tp_svc_media_stream_handler_supported_codecs_impl)
                                                            (TpSvcMediaStreamHandler *self,
                                                             const GPtrArray *in_codecs,
                                                             DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method SupportedCodecs on interface org.freedesktop.Telepathy.Media.StreamHandler.

`self` : | The object implementing this interface
`in_codecs` : | const GPtrArray * (FIXME, generate documentation)
`context` : | Used to return values or throw an error

### tp_svc_media_stream_handler_implement_supported_codecs ()

    void                tp_svc_media_stream_handler_implement_supported_codecs
                                                            (TpSvcMediaStreamHandlerClass *klass,
                                                             tp_svc_media_stream_handler_supported_codecs_impl impl);

Register an implementation for the SupportedCodecs method in the vtable of an implementation of this interface. To be called from the interface init function.

`klass` : | A class whose instances implement this interface
`impl` : | A callback used to implement the SupportedCodecs D-Bus method

### tp_svc_media_stream_handler_return_from_supported_codecs ()

    void                tp_svc_media_stream_handler_return_from_supported_codecs
                                                            (DBusGMethodInvocation *context);

Return successfully by calling `dbus_g_method_return()`. This inline function exists only to provide type-safety.

`context` : | The D-Bus method invocation context

### tp_svc_media_stream_handler_emit_add_remote_candidate ()

    void                tp_svc_media_stream_handler_emit_add_remote_candidate
                                                            (gpointer instance,
                                                             const gchar *arg_candidate_id,
                                                             const GPtrArray *arg_transports);

Type-safe wrapper around g_signal_emit to emit the AddRemoteCandidate signal on interface org.freedesktop.Telepathy.Media.StreamHandler.

`instance` : | The object implementing this interface
`arg_candidate_id` : | const gchar * (FIXME, generate documentation)
`arg_transports` : | const GPtrArray * (FIXME, generate documentation)

### tp_svc_media_stream_handler_emit_close ()

    void                tp_svc_media_stream_handler_emit_close
                                                            (gpointer instance);

Type-safe wrapper around g_signal_emit to emit the Close signal on interface org.freedesktop.Telepathy.Media.StreamHandler.

`instance` : | The object implementing this interface

### tp_svc_media_stream_handler_emit_remove_remote_candidate ()

    void                tp_svc_media_stream_handler_emit_remove_remote_candidate
                                                            (gpointer instance,
                                                             const gchar *arg_candidate_id);

Type-safe wrapper around g_signal_emit to emit the RemoveRemoteCandidate signal on interface org.freedesktop.Telepathy.Media.StreamHandler.

`instance` : | The object implementing this interface
`arg_candidate_id` : | const gchar * (FIXME, generate documentation)

### tp_svc_media_stream_handler_emit_set_active_candidate_pair ()

    void                tp_svc_media_stream_handler_emit_set_active_candidate_pair
                                                            (gpointer instance,
                                                             const gchar *arg_native_candidate_id,
                                                             const gchar *arg_remote_candidate_id);

Type-safe wrapper around g_signal_emit to emit the SetActiveCandidatePair signal on interface org.freedesktop.Telepathy.Media.StreamHandler.

`instance` : | The object implementing this interface
`arg_native_candidate_id` : | const gchar * (FIXME, generate documentation)
`arg_remote_candidate_id` : | const gchar * (FIXME, generate documentation)

### tp_svc_media_stream_handler_emit_set_remote_candidate_list ()

    void                tp_svc_media_stream_handler_emit_set_remote_candidate_list
                                                            (gpointer instance,
                                                             const GPtrArray *arg_remote_candidates);

Type-safe wrapper around g_signal_emit to emit the SetRemoteCandidateList signal on interface org.freedesktop.Telepathy.Media.StreamHandler.

`instance` : | The object implementing this interface
`arg_remote_candidates` : | const GPtrArray * (FIXME, generate documentation)

### tp_svc_media_stream_handler_emit_set_remote_codecs ()

    void                tp_svc_media_stream_handler_emit_set_remote_codecs
                                                            (gpointer instance,
                                                             const GPtrArray *arg_codecs);

Type-safe wrapper around g_signal_emit to emit the SetRemoteCodecs signal on interface org.freedesktop.Telepathy.Media.StreamHandler.

`instance` : | The object implementing this interface
`arg_codecs` : | const GPtrArray * (FIXME, generate documentation)

### tp_svc_media_stream_handler_emit_set_stream_playing ()

    void                tp_svc_media_stream_handler_emit_set_stream_playing
                                                            (gpointer instance,
                                                             gboolean arg_playing);

Type-safe wrapper around g_signal_emit to emit the SetStreamPlaying signal on interface org.freedesktop.Telepathy.Media.StreamHandler.

`instance` : | The object implementing this interface
`arg_playing` : | gboolean (FIXME, generate documentation)

### tp_svc_media_stream_handler_emit_set_stream_sending ()

    void                tp_svc_media_stream_handler_emit_set_stream_sending
                                                            (gpointer instance,
                                                             gboolean arg_sending);

Type-safe wrapper around g_signal_emit to emit the SetStreamSending signal on interface org.freedesktop.Telepathy.Media.StreamHandler.

`instance` : | The object implementing this interface
`arg_sending` : | gboolean (FIXME, generate documentation)

### tp_svc_media_stream_handler_emit_start_telephony_event ()

    void                tp_svc_media_stream_handler_emit_start_telephony_event
                                                            (gpointer instance,
                                                             guchar arg_event);

Type-safe wrapper around g_signal_emit to emit the StartTelephonyEvent signal on interface org.freedesktop.Telepathy.Media.StreamHandler.

`instance` : | The object implementing this interface
`arg_event` : | guchar (FIXME, generate documentation)

### tp_svc_media_stream_handler_emit_stop_telephony_event ()

    void                tp_svc_media_stream_handler_emit_stop_telephony_event
                                                            (gpointer instance);

Type-safe wrapper around g_signal_emit to emit the StopTelephonyEvent signal on interface org.freedesktop.Telepathy.Media.StreamHandler.

`instance` : | The object implementing this interface

## See Also

TpSvcChannelTypeStreamedMedia