File: content-priv.h

package info (click to toggle)
telepathy-farstream 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 2,756 kB
  • ctags: 1,058
  • sloc: sh: 11,072; ansic: 9,131; python: 2,875; makefile: 223
file content (48 lines) | stat: -rw-r--r-- 1,153 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

#ifndef __TF_CONTENT_PRIV_H__
#define __TF_CONTENT_PRIV_H__

#include <glib-object.h>

#include <farstream/fs-conference.h>


G_BEGIN_DECLS

struct _TfContent {
  GObject parent;

  guint sending_count;
};

struct _TfContentClass{
  GObjectClass parent_class;

  void (*content_error) (TfContent *content,
      const gchar *message);

  void (*sending_failed) (TfContent *content,
      const gchar *message);
  void (*receiving_failed) (TfContent *content,
      guint *handles, guint handle_count,
      const gchar *message);

  GstIterator * (*iterate_src_pads) (TfContent *content, guint *handle,
      guint handle_count);
};

gboolean _tf_content_start_sending (TfContent *self);
void _tf_content_stop_sending (TfContent *self);
void _tf_content_mute_to_stop_sending (TfContent *self);

void _tf_content_emit_src_pad_added (TfContent *self, guint handle,
    FsStream *stream, GstPad *pad, FsCodec *codec);

gboolean _tf_content_start_receiving (TfContent *self, guint *handles,
    guint handle_count);
void _tf_content_stop_receiving (TfContent *self,
    guint *handles, guint handle_count);

G_END_DECLS

#endif /* __TF_CONTENT_PRIV_H__ */