-
Notifications
You must be signed in to change notification settings - Fork 64
/
GstRtp-0.10.gir
3140 lines (3140 loc) · 143 KB
/
GstRtp-0.10.gir
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="GLib" version="2.0"/>
<include name="GModule" version="2.0"/>
<include name="GObject" version="2.0"/>
<include name="Gst" version="0.10"/>
<include name="GstBase" version="0.10"/>
<include name="libxml2" version="2.0"/>
<package name="gstreamer-rtp-0.10"/>
<c:include name="gst/rtp/gstbasertpaudiopayload.h"/>
<c:include name="gst/rtp/gstbasertpdepayload.h"/>
<c:include name="gst/rtp/gstbasertppayload.h"/>
<c:include name="gst/rtp/gstrtcpbuffer.h"/>
<c:include name="gst/rtp/gstrtpbuffer.h"/>
<c:include name="gst/rtp/gstrtppayloads.h"/>
<namespace name="GstRtp"
version="0.10"
shared-library="libgstrtp-0.10.so.0"
c:identifier-prefixes="Gst"
c:symbol-prefixes="gst">
<class name="BaseRTPAudioPayload"
c:symbol-prefix="base_rtp_audio_payload"
c:type="GstBaseRTPAudioPayload"
parent="BaseRTPPayload"
glib:type-name="GstBaseRTPAudioPayload"
glib:get-type="gst_base_rtp_audio_payload_get_type"
glib:type-struct="BaseRTPAudioPayloadClass">
<method name="flush"
c:identifier="gst_base_rtp_audio_payload_flush"
version="0.10.25">
<doc xml:whitespace="preserve">Create an RTP buffer and store @payload_len bytes of the adapter as the
payload. Set the timestamp on the new buffer to @timestamp before pushing
the buffer downstream.
If @payload_len is -1, all pending bytes will be flushed. If @timestamp is
-1, the timestamp will be calculated automatically.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstFlowReturn</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<parameter name="payload_len" transfer-ownership="none">
<doc xml:whitespace="preserve">length of payload</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="timestamp" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstClockTime</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
</parameters>
</method>
<method name="get_adapter"
c:identifier="gst_base_rtp_audio_payload_get_adapter"
version="0.10.13"
introspectable="0">
<doc xml:whitespace="preserve">Gets the internal adapter used by the depayloader.</doc>
<return-value>
<doc xml:whitespace="preserve">a #GstAdapter.</doc>
<type name="GstBase.Adapter" c:type="GstAdapter*"/>
</return-value>
</method>
<method name="push"
c:identifier="gst_base_rtp_audio_payload_push"
version="0.10.13">
<doc xml:whitespace="preserve">Create an RTP buffer and store @payload_len bytes of @data as the
payload. Set the timestamp on the new buffer to @timestamp before pushing
the buffer downstream.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstFlowReturn</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
<doc xml:whitespace="preserve">data to set as payload</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="payload_len" transfer-ownership="none">
<doc xml:whitespace="preserve">length of payload</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="timestamp" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstClockTime</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
</parameters>
</method>
<method name="set_frame_based"
c:identifier="gst_base_rtp_audio_payload_set_frame_based">
<doc xml:whitespace="preserve">Tells #GstBaseRTPAudioPayload that the child element is for a frame based
audio codec</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</method>
<method name="set_frame_options"
c:identifier="gst_base_rtp_audio_payload_set_frame_options">
<doc xml:whitespace="preserve">Sets the options for frame based audio codecs.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="frame_duration" transfer-ownership="none">
<doc xml:whitespace="preserve">The duraction of an audio frame in milliseconds.</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="frame_size" transfer-ownership="none">
<doc xml:whitespace="preserve">The size of an audio frame in bytes.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_sample_based"
c:identifier="gst_base_rtp_audio_payload_set_sample_based">
<doc xml:whitespace="preserve">Tells #GstBaseRTPAudioPayload that the child element is for a sample based
audio codec</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</method>
<method name="set_sample_options"
c:identifier="gst_base_rtp_audio_payload_set_sample_options">
<doc xml:whitespace="preserve">Sets the options for sample based audio codecs.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="sample_size" transfer-ownership="none">
<doc xml:whitespace="preserve">Size per sample in bytes.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_samplebits_options"
c:identifier="gst_base_rtp_audio_payload_set_samplebits_options"
version="0.10.18">
<doc xml:whitespace="preserve">Sets the options for sample based audio codecs.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="sample_size" transfer-ownership="none">
<doc xml:whitespace="preserve">Size per sample in bits.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<property name="buffer-list" writable="1" transfer-ownership="none">
<type name="gboolean"/>
</property>
<field name="payload">
<type name="BaseRTPPayload" c:type="GstBaseRTPPayload"/>
</field>
<field name="priv">
<type name="BaseRTPAudioPayloadPrivate"
c:type="GstBaseRTPAudioPayloadPrivate*"/>
</field>
<field name="base_ts">
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</field>
<field name="frame_size">
<type name="gint" c:type="gint"/>
</field>
<field name="frame_duration">
<type name="gint" c:type="gint"/>
</field>
<field name="sample_size">
<type name="gint" c:type="gint"/>
</field>
<field name="_gst_reserved">
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="BaseRTPAudioPayloadClass"
c:type="GstBaseRTPAudioPayloadClass"
glib:is-gtype-struct-for="BaseRTPAudioPayload">
<field name="parent_class">
<type name="BaseRTPPayloadClass" c:type="GstBaseRTPPayloadClass"/>
</field>
<field name="_gst_reserved">
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="BaseRTPAudioPayloadPrivate"
c:type="GstBaseRTPAudioPayloadPrivate"
disguised="1">
</record>
<class name="BaseRTPDepayload"
c:symbol-prefix="base_rtp_depayload"
c:type="GstBaseRTPDepayload"
parent="Gst.Element"
glib:type-name="GstBaseRTPDepayload"
glib:get-type="gst_base_rtp_depayload_get_type"
glib:type-struct="BaseRTPDepayloadClass">
<virtual-method name="add_to_queue">
<return-value transfer-ownership="none">
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<parameter name="in" transfer-ownership="none">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="packet_lost">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="event" transfer-ownership="none">
<type name="Gst.Event" c:type="GstEvent*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="process" introspectable="0">
<return-value>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="in" transfer-ownership="none">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="set_caps">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="caps" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="set_gst_timestamp">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="timestamp" transfer-ownership="none">
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="buf" transfer-ownership="none">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</virtual-method>
<method name="push" c:identifier="gst_base_rtp_depayload_push">
<doc xml:whitespace="preserve">Push @out_buf to the peer of @filter. This function takes ownership of
Unlike gst_base_rtp_depayload_push_ts(), this function will not apply
any timestamp on the outgoing buffer. Subclasses should therefore timestamp
outgoing buffers themselves.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstFlowReturn.</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<parameter name="out_buf" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</method>
<method name="push_ts" c:identifier="gst_base_rtp_depayload_push_ts">
<doc xml:whitespace="preserve">Push @out_buf to the peer of @filter. This function takes ownership of
Unlike gst_base_rtp_depayload_push(), this function will by default apply
the last incomming timestamp on the outgoing buffer when it didn't have a
timestamp already. The set_get_timestamp vmethod can be overwritten to change
this behaviour (and take, for example, @timestamp into account).</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstFlowReturn.</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<parameter name="timestamp" transfer-ownership="none">
<doc xml:whitespace="preserve">an RTP timestamp to apply</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="out_buf" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</method>
<property name="queue-delay" writable="1" transfer-ownership="none">
<type name="guint"/>
</property>
<field name="parent">
<type name="Gst.Element" c:type="GstElement"/>
</field>
<field name="sinkpad">
<type name="Gst.Pad" c:type="GstPad*"/>
</field>
<field name="srcpad">
<type name="Gst.Pad" c:type="GstPad*"/>
</field>
<field name="queuelock">
<type name="GLib.StaticRecMutex" c:type="GStaticRecMutex"/>
</field>
<field name="thread_running">
<type name="gboolean" c:type="gboolean"/>
</field>
<field name="thread">
<type name="GLib.Thread" c:type="GThread*"/>
</field>
<field name="clock_rate">
<type name="guint" c:type="guint"/>
</field>
<field name="queue_delay">
<type name="guint" c:type="guint"/>
</field>
<field name="queue">
<type name="GLib.Queue" c:type="GQueue*"/>
</field>
<field name="segment">
<type name="Gst.Segment" c:type="GstSegment"/>
</field>
<field name="need_newsegment">
<type name="gboolean" c:type="gboolean"/>
</field>
<field name="priv">
<type name="BaseRTPDepayloadPrivate"
c:type="GstBaseRTPDepayloadPrivate*"/>
</field>
<field name="_gst_reserved">
<array zero-terminated="0" c:type="gpointer" fixed-size="3">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="BaseRTPDepayloadClass"
c:type="GstBaseRTPDepayloadClass"
glib:is-gtype-struct-for="BaseRTPDepayload">
<field name="parent_class">
<type name="Gst.ElementClass" c:type="GstElementClass"/>
</field>
<field name="set_caps">
<callback name="set_caps">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="filter" transfer-ownership="none">
<type name="BaseRTPDepayload" c:type="GstBaseRTPDepayload*"/>
</parameter>
<parameter name="caps" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="add_to_queue">
<callback name="add_to_queue">
<return-value transfer-ownership="none">
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<parameter name="filter" transfer-ownership="none">
<type name="BaseRTPDepayload" c:type="GstBaseRTPDepayload*"/>
</parameter>
<parameter name="in" transfer-ownership="none">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="process" introspectable="0">
<callback name="process" introspectable="0">
<return-value>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="base" transfer-ownership="none">
<type name="BaseRTPDepayload" c:type="GstBaseRTPDepayload*"/>
</parameter>
<parameter name="in" transfer-ownership="none">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="set_gst_timestamp">
<callback name="set_gst_timestamp">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="filter" transfer-ownership="none">
<type name="BaseRTPDepayload" c:type="GstBaseRTPDepayload*"/>
</parameter>
<parameter name="timestamp" transfer-ownership="none">
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="buf" transfer-ownership="none">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="packet_lost">
<callback name="packet_lost">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="filter" transfer-ownership="none">
<type name="BaseRTPDepayload" c:type="GstBaseRTPDepayload*"/>
</parameter>
<parameter name="event" transfer-ownership="none">
<type name="Gst.Event" c:type="GstEvent*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_gst_reserved">
<array zero-terminated="0" c:type="gpointer" fixed-size="3">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="BaseRTPDepayloadPrivate"
c:type="GstBaseRTPDepayloadPrivate"
disguised="1">
</record>
<class name="BaseRTPPayload"
c:symbol-prefix="basertppayload"
c:type="GstBaseRTPPayload"
parent="Gst.Element"
abstract="1"
glib:type-name="GstBaseRTPPayload"
glib:get-type="gst_basertppayload_get_type"
glib:type-struct="BaseRTPPayloadClass">
<virtual-method name="get_caps">
<return-value transfer-ownership="full">
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
<parameters>
<parameter name="pad" transfer-ownership="none">
<type name="Gst.Pad" c:type="GstPad*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="handle_buffer">
<return-value transfer-ownership="none">
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="set_caps">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="caps" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</virtual-method>
<method name="is_filled" c:identifier="gst_basertppayload_is_filled">
<doc xml:whitespace="preserve">Check if the packet with @size and @duration would exceed the configured
maximum size.
configured MTU or max_ptime.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the packet of @size and @duration would exceed the</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="size" transfer-ownership="none">
<doc xml:whitespace="preserve">the size of the packet</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:whitespace="preserve">the duration of the packet</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
</parameters>
</method>
<method name="push" c:identifier="gst_basertppayload_push">
<doc xml:whitespace="preserve">Push @buffer to the peer element of the payloader. The SSRC, payload type,
seqnum and timestamp of the RTP buffer will be updated first.
This function takes ownership of @buffer.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstFlowReturn.</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</method>
<method name="push_list"
c:identifier="gst_basertppayload_push_list"
version="0.10.24">
<doc xml:whitespace="preserve">Push @list to the peer element of the payloader. The SSRC, payload type,
seqnum and timestamp of the RTP buffer will be updated first.
This function takes ownership of @list.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstFlowReturn.</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<parameter name="list" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstBufferList</doc>
<type name="Gst.BufferList" c:type="GstBufferList*"/>
</parameter>
</parameters>
</method>
<method name="set_options" c:identifier="gst_basertppayload_set_options">
<doc xml:whitespace="preserve">Set the rtp options of the payloader. These options will be set in the caps
of the payloader. Subclasses must call this method before calling
gst_basertppayload_push() or gst_basertppayload_set_outcaps().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="media" transfer-ownership="none">
<doc xml:whitespace="preserve">the media type (typically "audio" or "video")</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="dynamic" transfer-ownership="none">
<doc xml:whitespace="preserve">if the payload type is dynamic</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="encoding_name" transfer-ownership="none">
<doc xml:whitespace="preserve">the encoding name</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="clock_rate" transfer-ownership="none">
<doc xml:whitespace="preserve">the clock rate of the media</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="set_outcaps"
c:identifier="gst_basertppayload_set_outcaps"
introspectable="0">
<doc xml:whitespace="preserve">Configure the output caps with the optional parameters.
Variable arguments should be in the form field name, field type
(as a GType), value(s). The last variable argument should be NULL.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the caps could be set.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="fieldname" transfer-ownership="none">
<doc xml:whitespace="preserve">the first field name or %NULL</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter transfer-ownership="none">
<varargs>
</varargs>
</parameter>
</parameters>
</method>
<property name="max-ptime" writable="1" transfer-ownership="none">
<type name="gint64"/>
</property>
<property name="min-ptime" writable="1" transfer-ownership="none">
<type name="gint64"/>
</property>
<property name="mtu" writable="1" transfer-ownership="none">
<type name="guint"/>
</property>
<property name="perfect-rtptime" writable="1" transfer-ownership="none">
<type name="gboolean"/>
</property>
<property name="pt" writable="1" transfer-ownership="none">
<type name="guint"/>
</property>
<property name="ptime-multiple" writable="1" transfer-ownership="none">
<type name="gint64"/>
</property>
<property name="seqnum" transfer-ownership="none">
<type name="guint"/>
</property>
<property name="seqnum-offset" writable="1" transfer-ownership="none">
<type name="gint"/>
</property>
<property name="ssrc" writable="1" transfer-ownership="none">
<type name="guint"/>
</property>
<property name="timestamp" transfer-ownership="none">
<type name="guint"/>
</property>
<property name="timestamp-offset" writable="1" transfer-ownership="none">
<type name="guint"/>
</property>
<field name="element">
<type name="Gst.Element" c:type="GstElement"/>
</field>
<field name="sinkpad">
<type name="Gst.Pad" c:type="GstPad*"/>
</field>
<field name="srcpad">
<type name="Gst.Pad" c:type="GstPad*"/>
</field>
<field name="seq_rand">
<type name="GLib.Rand" c:type="GRand*"/>
</field>
<field name="ssrc_rand">
<type name="GLib.Rand" c:type="GRand*"/>
</field>
<field name="ts_rand">
<type name="GLib.Rand" c:type="GRand*"/>
</field>
<field name="ts_base">
<type name="guint32" c:type="guint32"/>
</field>
<field name="seqnum_base">
<type name="guint16" c:type="guint16"/>
</field>
<field name="media">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="encoding_name">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="dynamic">
<type name="gboolean" c:type="gboolean"/>
</field>
<field name="clock_rate">
<type name="guint32" c:type="guint32"/>
</field>
<field name="ts_offset">
<type name="gint32" c:type="gint32"/>
</field>
<field name="timestamp">
<type name="guint32" c:type="guint32"/>
</field>
<field name="seqnum_offset">
<type name="gint16" c:type="gint16"/>
</field>
<field name="seqnum">
<type name="guint16" c:type="guint16"/>
</field>
<field name="max_ptime">
<type name="gint64" c:type="gint64"/>
</field>
<field name="pt">
<type name="guint" c:type="guint"/>
</field>
<field name="ssrc">
<type name="guint" c:type="guint"/>
</field>
<field name="current_ssrc">
<type name="guint" c:type="guint"/>
</field>
<field name="mtu">
<type name="guint" c:type="guint"/>
</field>
<field name="segment">
<type name="Gst.Segment" c:type="GstSegment"/>
</field>
<field name="min_ptime">
<type name="guint64" c:type="guint64"/>
</field>
<field name="priv">
<type name="BaseRTPPayloadPrivate" c:type="GstBaseRTPPayloadPrivate*"/>
</field>
<union name="abidata" c:type="abidata">
<record name="ABI" c:type="ABI">
<field name="ptime" writable="1">
<type name="guint64" c:type="guint64"/>
</field>
<field name="ptime_multiple" writable="1">
<type name="guint64" c:type="guint64"/>
</field>
</record>
<field name="_gst_reserved" writable="1">
<array zero-terminated="0" c:type="gpointer" fixed-size="3">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</union>
</class>
<record name="BaseRTPPayloadClass"
c:type="GstBaseRTPPayloadClass"
glib:is-gtype-struct-for="BaseRTPPayload">
<field name="parent_class">
<type name="Gst.ElementClass" c:type="GstElementClass"/>
</field>
<field name="set_caps">
<callback name="set_caps">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="payload" transfer-ownership="none">
<type name="BaseRTPPayload" c:type="GstBaseRTPPayload*"/>
</parameter>
<parameter name="caps" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="handle_buffer">
<callback name="handle_buffer">
<return-value transfer-ownership="none">
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<parameter name="payload" transfer-ownership="none">
<type name="BaseRTPPayload" c:type="GstBaseRTPPayload*"/>
</parameter>
<parameter name="buffer" transfer-ownership="none">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="handle_event">
<callback name="handle_event">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="pad" transfer-ownership="none">
<type name="Gst.Pad" c:type="GstPad*"/>
</parameter>
<parameter name="event" transfer-ownership="none">
<type name="Gst.Event" c:type="GstEvent*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="get_caps">
<callback name="get_caps">
<return-value transfer-ownership="full">
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
<parameters>
<parameter name="payload" transfer-ownership="none">
<type name="BaseRTPPayload" c:type="GstBaseRTPPayload*"/>
</parameter>
<parameter name="pad" transfer-ownership="none">
<type name="Gst.Pad" c:type="GstPad*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_gst_reserved">
<array zero-terminated="0" c:type="gpointer" fixed-size="2">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="BaseRTPPayloadPrivate"
c:type="GstBaseRTPPayloadPrivate"
disguised="1">
</record>
<enumeration name="RTCPFBType" version="0.10.23" c:type="GstRTCPFBType">
<doc xml:whitespace="preserve">Different types of feedback messages.</doc>
<member name="fb_type_invalid"
value="0"
c:identifier="GST_RTCP_FB_TYPE_INVALID"/>
<member name="rtpfb_type_nack"
value="1"
c:identifier="GST_RTCP_RTPFB_TYPE_NACK"/>
<member name="psfb_type_pli"
value="1"
c:identifier="GST_RTCP_PSFB_TYPE_PLI"/>
<member name="psfb_type_sli"
value="2"
c:identifier="GST_RTCP_PSFB_TYPE_SLI"/>
<member name="psfb_type_rpsi"
value="3"
c:identifier="GST_RTCP_PSFB_TYPE_RPSI"/>
<member name="psfb_type_afb"
value="15"
c:identifier="GST_RTCP_PSFB_TYPE_AFB"/>
</enumeration>
<record name="RTCPPacket" c:type="GstRTCPPacket">
<doc xml:whitespace="preserve">Data structure that points to a packet at @offset in @buffer.
The size of the structure is made public to allow stack allocations.</doc>
<field name="buffer" writable="1">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</field>
<field name="offset" writable="1">
<type name="guint" c:type="guint"/>
</field>
<field name="padding" writable="1">
<type name="gboolean" c:type="gboolean"/>
</field>
<field name="count" writable="1">
<type name="guint8" c:type="guint8"/>
</field>
<field name="type" writable="1">
<type name="RTCPType" c:type="GstRTCPType"/>
</field>
<field name="length" writable="1">
<type name="guint16" c:type="guint16"/>
</field>
<field name="item_offset" writable="1">
<type name="guint" c:type="guint"/>
</field>
<field name="item_count" writable="1">
<type name="guint" c:type="guint"/>
</field>
<field name="entry_offset" writable="1">
<type name="guint" c:type="guint"/>
</field>
<method name="add_rb" c:identifier="gst_rtcp_packet_add_rb">
<doc xml:whitespace="preserve">Add a new report block to @packet with the given values.
the max MTU is exceeded or the number of report blocks is greater than
#GST_RTCP_MAX_RB_COUNT.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the packet was created. This function can return %FALSE if</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="ssrc" transfer-ownership="none">
<doc xml:whitespace="preserve">data source being reported</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="fractionlost" transfer-ownership="none">
<doc xml:whitespace="preserve">fraction lost since last SR/RR</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="packetslost" transfer-ownership="none">
<doc xml:whitespace="preserve">the cumululative number of packets lost</doc>
<type name="gint32" c:type="gint32"/>
</parameter>
<parameter name="exthighestseq" transfer-ownership="none">
<doc xml:whitespace="preserve">the extended last sequence number received</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="jitter" transfer-ownership="none">
<doc xml:whitespace="preserve">the interarrival jitter</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="lsr" transfer-ownership="none">
<doc xml:whitespace="preserve">the last SR packet from this source</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="dlsr" transfer-ownership="none">
<doc xml:whitespace="preserve">the delay since last SR packet</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="bye_add_ssrc" c:identifier="gst_rtcp_packet_bye_add_ssrc">
<doc xml:whitespace="preserve">Add @ssrc to the BYE @packet.
the max MTU is exceeded or the number of sources blocks is greater than
#GST_RTCP_MAX_BYE_SSRC_COUNT.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the ssrc was added. This function can return %FALSE if</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="ssrc" transfer-ownership="none">
<doc xml:whitespace="preserve">an SSRC to add</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="bye_add_ssrcs"
c:identifier="gst_rtcp_packet_bye_add_ssrcs">
<doc xml:whitespace="preserve">Adds @len SSRCs in @ssrc to BYE @packet.
the max MTU is exceeded or the number of sources blocks is greater than
#GST_RTCP_MAX_BYE_SSRC_COUNT.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the all the SSRCs were added. This function can return %FALSE if</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="ssrc" transfer-ownership="none">
<doc xml:whitespace="preserve">an array of SSRCs to add</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:whitespace="preserve">number of elements in @ssrc</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="bye_get_nth_ssrc"
c:identifier="gst_rtcp_packet_bye_get_nth_ssrc">
<doc xml:whitespace="preserve">Get the @nth SSRC of the BYE @packet.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The @nth SSRC of @packet.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<parameter name="nth" transfer-ownership="none">
<doc xml:whitespace="preserve">the nth SSRC to get</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="bye_get_reason"
c:identifier="gst_rtcp_packet_bye_get_reason">
<doc xml:whitespace="preserve">Get the reason in @packet.
a reason string. The string must be freed with g_free() after usage.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The reason for the BYE @packet or NULL if the packet did not contain</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="bye_get_reason_len"
c:identifier="gst_rtcp_packet_bye_get_reason_len">
<doc xml:whitespace="preserve">Get the length of the reason string.
present.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The length of the reason string or 0 when there is no reason string</doc>
<type name="guint8" c:type="guint8"/>
</return-value>
</method>
<method name="bye_get_ssrc_count"
c:identifier="gst_rtcp_packet_bye_get_ssrc_count">
<doc xml:whitespace="preserve">Get the number of SSRC fields in @packet.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The number of SSRC fields in @packet.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="bye_set_reason"
c:identifier="gst_rtcp_packet_bye_set_reason">
<doc xml:whitespace="preserve">Set the reason string to @reason in @packet.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">TRUE if the string could be set.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="reason" transfer-ownership="none">
<doc xml:whitespace="preserve">a reason string</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
<method name="fb_get_fci"
c:identifier="gst_rtcp_packet_fb_get_fci"
version="0.10.31">
<doc xml:whitespace="preserve">Get the Feedback Control Information attached to a RTPFB or PSFB @packet.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">a pointer to the FCI</doc>
<type name="guint8" c:type="guint8*"/>
</return-value>
</method>
<method name="fb_get_fci_length"
c:identifier="gst_rtcp_packet_fb_get_fci_length"
version="0.10.31">
<doc xml:whitespace="preserve">Get the length of the Feedback Control Information attached to a
RTPFB or PSFB @packet.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The length of the FCI in 32-bit words.</doc>
<type name="guint16" c:type="guint16"/>
</return-value>
</method>
<method name="fb_get_media_ssrc"
c:identifier="gst_rtcp_packet_fb_get_media_ssrc"
version="0.10.23">
<doc xml:whitespace="preserve">Get the media SSRC field of the RTPFB or PSFB @packet.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the media SSRC.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
</method>
<method name="fb_get_sender_ssrc"
c:identifier="gst_rtcp_packet_fb_get_sender_ssrc"
version="0.10.23">
<doc xml:whitespace="preserve">Get the sender SSRC field of the RTPFB or PSFB @packet.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the sender SSRC.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
</method>
<method name="fb_set_fci_length"
c:identifier="gst_rtcp_packet_fb_set_fci_length"
version="0.10.31">
<doc xml:whitespace="preserve">Set the length of the Feedback Control Information attached to a
RTPFB or PSFB @packet.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if there was enough space in the packet to add this much FCI</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="wordlen" transfer-ownership="none">
<doc xml:whitespace="preserve">Length of the FCI in 32-bit words</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
</parameters>
</method>
<method name="fb_set_media_ssrc"
c:identifier="gst_rtcp_packet_fb_set_media_ssrc"
version="0.10.23">