This file is indexed.

/usr/share/gir-1.0/GstRtspServer-0.10.gir is in libgstrtspserver-0.10-dev 0.10.8-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
<?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="GstRtsp" version="0.10"/>
  <include name="GstSdp" version="0.10"/>
  <include name="libxml2" version="2.0"/>
  <package name="gstreamer-rtsp-server-0.10"/>
  <c:include name="gst/gst.h"/>
  <namespace name="GstRtspServer"
             version="0.10"
             shared-library="libgstrtspserver-0.10.so.0"
             c:identifier-prefixes="Gst"
             c:symbol-prefixes="gst">
    <class name="RTSPAuth"
           c:symbol-prefix="rtsp_auth"
           c:type="GstRTSPAuth"
           parent="GObject.Object"
           glib:type-name="GstRTSPAuth"
           glib:get-type="gst_rtsp_auth_get_type"
           glib:type-struct="RTSPAuthClass">
      <doc xml:whitespace="preserve">The authentication structure.</doc>
      <constructor name="new" c:identifier="gst_rtsp_auth_new">
        <doc xml:whitespace="preserve">Create a new #GstRTSPAuth instance.</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">a new #GstRTSPAuth</doc>
          <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
        </return-value>
      </constructor>
      <function name="make_basic" c:identifier="gst_rtsp_auth_make_basic">
        <doc xml:whitespace="preserve">Construct a Basic authorisation token from @user and @pass.

after usage.</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">the base64 encoding of the string @user:@pass. g_free()</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <parameter name="user" transfer-ownership="none">
            <doc xml:whitespace="preserve">a userid</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="pass" transfer-ownership="none">
            <doc xml:whitespace="preserve">a password</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="check_method" invoker="check_method">
        <doc xml:whitespace="preserve">Check if @client is allowed to perform the actions of @state.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">FALSE if the action is not allowed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="client" transfer-ownership="none">
            <doc xml:whitespace="preserve">the client</doc>
            <type name="RTSPClient" c:type="GstRTSPClient*"/>
          </parameter>
          <parameter name="hint" transfer-ownership="none">
            <doc xml:whitespace="preserve">a hint</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:whitespace="preserve">client state</doc>
            <type name="RTSPClientState" c:type="GstRTSPClientState*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="setup_auth" invoker="setup_auth">
        <doc xml:whitespace="preserve">Add authentication tokens to @response.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">FALSE if something is wrong.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="client" transfer-ownership="none">
            <doc xml:whitespace="preserve">the client</doc>
            <type name="RTSPClient" c:type="GstRTSPClient*"/>
          </parameter>
          <parameter name="hint" transfer-ownership="none">
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="state" transfer-ownership="none">
            <type name="RTSPClientState" c:type="GstRTSPClientState*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="check_method" c:identifier="gst_rtsp_auth_check_method">
        <doc xml:whitespace="preserve">Check if @client is allowed to perform the actions of @state.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">FALSE if the action is not allowed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="client" transfer-ownership="none">
            <doc xml:whitespace="preserve">the client</doc>
            <type name="RTSPClient" c:type="GstRTSPClient*"/>
          </parameter>
          <parameter name="hint" transfer-ownership="none">
            <doc xml:whitespace="preserve">a hint</doc>
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:whitespace="preserve">client state</doc>
            <type name="RTSPClientState" c:type="GstRTSPClientState*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_basic" c:identifier="gst_rtsp_auth_set_basic">
        <doc xml:whitespace="preserve">Set the basic token for the default authentication algorithm.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="basic" transfer-ownership="none">
            <doc xml:whitespace="preserve">the basic token</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="setup_auth" c:identifier="gst_rtsp_auth_setup_auth">
        <doc xml:whitespace="preserve">Add authentication tokens to @response.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">FALSE if something is wrong.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="client" transfer-ownership="none">
            <doc xml:whitespace="preserve">the client</doc>
            <type name="RTSPClient" c:type="GstRTSPClient*"/>
          </parameter>
          <parameter name="hint" transfer-ownership="none">
            <type name="GLib.Quark" c:type="GQuark"/>
          </parameter>
          <parameter name="state" transfer-ownership="none">
            <type name="RTSPClientState" c:type="GstRTSPClientState*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="basic" readable="0" private="1">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="methods" readable="0" private="1">
        <type name="GstRtsp.RTSPMethod" c:type="GstRTSPMethod"/>
      </field>
    </class>
    <record name="RTSPAuthClass"
            c:type="GstRTSPAuthClass"
            glib:is-gtype-struct-for="RTSPAuth">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="setup_auth">
        <callback name="setup_auth">
          <return-value transfer-ownership="none">
            <doc xml:whitespace="preserve">FALSE if something is wrong.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="auth" transfer-ownership="none">
              <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
            </parameter>
            <parameter name="client" transfer-ownership="none">
              <doc xml:whitespace="preserve">the client</doc>
              <type name="RTSPClient" c:type="GstRTSPClient*"/>
            </parameter>
            <parameter name="hint" transfer-ownership="none">
              <type name="GLib.Quark" c:type="GQuark"/>
            </parameter>
            <parameter name="state" transfer-ownership="none">
              <type name="RTSPClientState" c:type="GstRTSPClientState*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="check_method">
        <callback name="check_method">
          <return-value transfer-ownership="none">
            <doc xml:whitespace="preserve">FALSE if the action is not allowed.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="auth" transfer-ownership="none">
              <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
            </parameter>
            <parameter name="client" transfer-ownership="none">
              <doc xml:whitespace="preserve">the client</doc>
              <type name="RTSPClient" c:type="GstRTSPClient*"/>
            </parameter>
            <parameter name="hint" transfer-ownership="none">
              <doc xml:whitespace="preserve">a hint</doc>
              <type name="GLib.Quark" c:type="GQuark"/>
            </parameter>
            <parameter name="state" transfer-ownership="none">
              <doc xml:whitespace="preserve">client state</doc>
              <type name="RTSPClientState" c:type="GstRTSPClientState*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <class name="RTSPClient"
           c:symbol-prefix="rtsp_client"
           c:type="GstRTSPClient"
           parent="GObject.Object"
           glib:type-name="GstRTSPClient"
           glib:get-type="gst_rtsp_client_get_type"
           glib:type-struct="RTSPClientClass">
      <doc xml:whitespace="preserve">The client structure.</doc>
      <constructor name="new" c:identifier="gst_rtsp_client_new">
        <doc xml:whitespace="preserve">Create a new #GstRTSPClient instance.</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">a new #GstRTSPClient</doc>
          <type name="RTSPClient" c:type="GstRTSPClient*"/>
        </return-value>
      </constructor>
      <virtual-method name="closed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </virtual-method>
      <method name="accept" c:identifier="gst_rtsp_client_accept">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="channel" transfer-ownership="none">
            <type name="GLib.IOChannel" c:type="GIOChannel*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_auth"
              c:identifier="gst_rtsp_client_get_auth"
              introspectable="0">
        <doc xml:whitespace="preserve">Get the #GstRTSPAuth used as the authentication manager of @client.

usage.</doc>
        <return-value>
          <doc xml:whitespace="preserve">the #GstRTSPAuth of @client. g_object_unref() after</doc>
          <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
        </return-value>
      </method>
      <method name="get_media_mapping"
              c:identifier="gst_rtsp_client_get_media_mapping"
              introspectable="0">
        <doc xml:whitespace="preserve">Get the #GstRTSPMediaMapping object that @client uses to manage its sessions.</doc>
        <return-value>
          <doc xml:whitespace="preserve">a #GstRTSPMediaMapping, unref after usage.</doc>
          <type name="RTSPMediaMapping" c:type="GstRTSPMediaMapping*"/>
        </return-value>
      </method>
      <method name="get_server"
              c:identifier="gst_rtsp_client_get_server"
              introspectable="0">
        <doc xml:whitespace="preserve">Get the #GstRTSPServer object that @client was created from.</doc>
        <return-value>
          <doc xml:whitespace="preserve">a #GstRTSPServer, unref after usage.</doc>
          <type name="RTSPServer" c:type="GstRTSPServer*"/>
        </return-value>
      </method>
      <method name="get_session_pool"
              c:identifier="gst_rtsp_client_get_session_pool"
              introspectable="0">
        <doc xml:whitespace="preserve">Get the #GstRTSPSessionPool object that @client uses to manage its sessions.</doc>
        <return-value>
          <doc xml:whitespace="preserve">a #GstRTSPSessionPool, unref after usage.</doc>
          <type name="RTSPSessionPool" c:type="GstRTSPSessionPool*"/>
        </return-value>
      </method>
      <method name="set_auth" c:identifier="gst_rtsp_client_set_auth">
        <doc xml:whitespace="preserve">configure @auth to be used as the authentication manager of @client.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="auth" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GstRTSPAuth</doc>
            <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_media_mapping"
              c:identifier="gst_rtsp_client_set_media_mapping">
        <doc xml:whitespace="preserve">Set @mapping as the media mapping for @client which it will use to map urls
to media streams. These mapping is usually inherited from the server that
created the client but can be overriden later.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="mapping" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GstRTSPMediaMapping</doc>
            <type name="RTSPMediaMapping" c:type="GstRTSPMediaMapping*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_server" c:identifier="gst_rtsp_client_set_server">
        <doc xml:whitespace="preserve">Set @server as the server that created @client.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="server" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GstRTSPServer</doc>
            <type name="RTSPServer" c:type="GstRTSPServer*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_session_pool"
              c:identifier="gst_rtsp_client_set_session_pool">
        <doc xml:whitespace="preserve">Set @pool as the sessionpool for @client which it will use to find
or allocate sessions. the sessionpool is usually inherited from the server
that created the client but can be overridden later.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="pool" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GstRTSPSessionPool</doc>
            <type name="RTSPSessionPool" c:type="GstRTSPSessionPool*"/>
          </parameter>
        </parameters>
      </method>
      <property name="media-mapping" writable="1" transfer-ownership="none">
        <type name="RTSPMediaMapping"/>
      </property>
      <property name="session-pool" writable="1" transfer-ownership="none">
        <type name="RTSPSessionPool"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="connection">
        <type name="GstRtsp.RTSPConnection" c:type="GstRTSPConnection*"/>
      </field>
      <field name="watch">
        <type name="GstRtsp.RTSPWatch" c:type="GstRTSPWatch*"/>
      </field>
      <field name="watchid">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="server_ip">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="is_ipv6">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="server">
        <type name="RTSPServer" c:type="GstRTSPServer*"/>
      </field>
      <field name="session_pool">
        <type name="RTSPSessionPool" c:type="GstRTSPSessionPool*"/>
      </field>
      <field name="media_mapping">
        <type name="RTSPMediaMapping" c:type="GstRTSPMediaMapping*"/>
      </field>
      <field name="auth">
        <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
      </field>
      <field name="uri">
        <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
      </field>
      <field name="media">
        <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
      </field>
      <field name="streams">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <field name="sessions">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <glib:signal name="closed" when="last">
        <return-value transfer-ownership="none">
          <type name="none"/>
        </return-value>
      </glib:signal>
    </class>
    <record name="RTSPClientClass"
            c:type="GstRTSPClientClass"
            glib:is-gtype-struct-for="RTSPClient">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="closed">
        <callback name="closed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="client" transfer-ownership="none">
              <type name="RTSPClient" c:type="GstRTSPClient*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <record name="RTSPClientState" c:type="GstRTSPClientState">
      <doc xml:whitespace="preserve">Information passed around containing the client state of a request.</doc>
      <field name="request" writable="1">
        <type name="GstRtsp.RTSPMessage" c:type="GstRTSPMessage*"/>
      </field>
      <field name="uri" writable="1">
        <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
      </field>
      <field name="method" writable="1">
        <type name="GstRtsp.RTSPMethod" c:type="GstRTSPMethod"/>
      </field>
      <field name="session" writable="1">
        <type name="RTSPSession" c:type="GstRTSPSession*"/>
      </field>
      <field name="sessmedia" writable="1">
        <type name="RTSPSessionMedia" c:type="GstRTSPSessionMedia*"/>
      </field>
      <field name="factory" writable="1">
        <type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory*"/>
      </field>
      <field name="media" writable="1">
        <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
      </field>
      <field name="response" writable="1">
        <type name="GstRtsp.RTSPMessage" c:type="GstRTSPMessage*"/>
      </field>
    </record>
    <enumeration name="RTSPFilterResult" c:type="GstRTSPFilterResult">
      <doc xml:whitespace="preserve">Possible return values for gst_rtsp_session_pool_filter().</doc>
      <member name="remove" value="0" c:identifier="GST_RTSP_FILTER_REMOVE"/>
      <member name="keep" value="1" c:identifier="GST_RTSP_FILTER_KEEP"/>
      <member name="ref" value="2" c:identifier="GST_RTSP_FILTER_REF"/>
    </enumeration>
    <callback name="RTSPKeepAliveFunc" c:type="GstRTSPKeepAliveFunc">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="user_data" transfer-ownership="none" closure="0">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <class name="RTSPMedia"
           c:symbol-prefix="rtsp_media"
           c:type="GstRTSPMedia"
           parent="GObject.Object"
           glib:type-name="GstRTSPMedia"
           glib:get-type="gst_rtsp_media_get_type"
           glib:type-struct="RTSPMediaClass">
      <doc xml:whitespace="preserve">A class that contains the GStreamer element along with a list of
#GstRTSPMediaStream objects that can produce data.

This object is usually created from a #GstRTSPMediaFactory.</doc>
      <constructor name="new" c:identifier="gst_rtsp_media_new">
        <doc xml:whitespace="preserve">Create a new #GstRTSPMedia instance. The #GstRTSPMedia object contains the
element to produde RTP data for one or more related (audio/video/..) 
streams.</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">a new #GstRTSPMedia object.</doc>
          <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
        </return-value>
      </constructor>
      <virtual-method name="handle_message">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="message" transfer-ownership="none">
            <type name="Gst.Message" c:type="GstMessage*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="new_state">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="state" transfer-ownership="none">
            <type name="Gst.State" c:type="GstState"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="prepared">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </virtual-method>
      <virtual-method name="unprepare" invoker="unprepare">
        <doc xml:whitespace="preserve">Unprepare @media. After this call, the media should be prepared again before
it can be used again. If the media is set to be non-reusable, a new instance
must be created.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </virtual-method>
      <virtual-method name="unprepared">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </virtual-method>
      <method name="get_auth"
              c:identifier="gst_rtsp_media_get_auth"
              introspectable="0">
        <doc xml:whitespace="preserve">Get the #GstRTSPAuth used as the authentication manager of @media.

usage.</doc>
        <return-value>
          <doc xml:whitespace="preserve">the #GstRTSPAuth of @media. g_object_unref() after</doc>
          <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
        </return-value>
      </method>
      <method name="get_protocols" c:identifier="gst_rtsp_media_get_protocols">
        <doc xml:whitespace="preserve">Get the allowed protocols of @media.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">a #GstRTSPLowerTrans</doc>
          <type name="GstRtsp.RTSPLowerTrans" c:type="GstRTSPLowerTrans"/>
        </return-value>
      </method>
      <method name="get_range_string"
              c:identifier="gst_rtsp_media_get_range_string">
        <doc xml:whitespace="preserve">Get the current range as a string.</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">The range as a string, g_free() after usage.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <parameter name="play" transfer-ownership="none">
            <doc xml:whitespace="preserve">for the PLAY request</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_stream"
              c:identifier="gst_rtsp_media_get_stream"
              introspectable="0">
        <doc xml:whitespace="preserve">Retrieve the stream with index @idx from @media.

that index did not exist.</doc>
        <return-value>
          <doc xml:whitespace="preserve">the #GstRTSPMediaStream at index @idx or %NULL when a stream with</doc>
          <type name="RTSPMediaStream" c:type="GstRTSPMediaStream*"/>
        </return-value>
        <parameters>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:whitespace="preserve">the stream index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_eos_shutdown"
              c:identifier="gst_rtsp_media_is_eos_shutdown">
        <doc xml:whitespace="preserve">Check if the pipeline for @media will send an EOS down the pipeline before
unpreparing.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">%TRUE if the media will send EOS before unpreparing.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </method>
      <method name="is_prepared" c:identifier="gst_rtsp_media_is_prepared">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </method>
      <method name="is_reusable" c:identifier="gst_rtsp_media_is_reusable">
        <doc xml:whitespace="preserve">Check if the pipeline for @media can be reused after an unprepare.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">%TRUE if the media can be reused</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </method>
      <method name="is_shared" c:identifier="gst_rtsp_media_is_shared">
        <doc xml:whitespace="preserve">Check if the pipeline for @media can be shared between multiple clients.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">%TRUE if the media can be shared between clients.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </method>
      <method name="n_streams" c:identifier="gst_rtsp_media_n_streams">
        <doc xml:whitespace="preserve">Get the number of streams in this media.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">The number of streams.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
      </method>
      <method name="prepare" c:identifier="gst_rtsp_media_prepare">
        <doc xml:whitespace="preserve">Prepare @media for streaming. This function will create the pipeline and
other objects to manage the streaming.

It will preroll the pipeline and collect vital information about the streams
such as the duration.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </method>
      <method name="remove_elements"
              c:identifier="gst_rtsp_media_remove_elements">
        <doc xml:whitespace="preserve">Remove all elements and the pipeline controlled by @media.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </method>
      <method name="seek" c:identifier="gst_rtsp_media_seek">
        <doc xml:whitespace="preserve">Seek the pipeline to @range.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="range" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GstRTSPTimeRange</doc>
            <type name="GstRtsp.RTSPTimeRange" c:type="GstRTSPTimeRange*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_auth" c:identifier="gst_rtsp_media_set_auth">
        <doc xml:whitespace="preserve">configure @auth to be used as the authentication manager of @media.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="auth" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GstRTSPAuth</doc>
            <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_eos_shutdown"
              c:identifier="gst_rtsp_media_set_eos_shutdown">
        <doc xml:whitespace="preserve">Set or unset if an EOS event will be sent to the pipeline for @media before
it is unprepared.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="eos_shutdown" transfer-ownership="none">
            <doc xml:whitespace="preserve">the new value</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_protocols" c:identifier="gst_rtsp_media_set_protocols">
        <doc xml:whitespace="preserve">Configure the allowed lower transport for @media.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="protocols" transfer-ownership="none">
            <doc xml:whitespace="preserve">the new flags</doc>
            <type name="GstRtsp.RTSPLowerTrans" c:type="GstRTSPLowerTrans"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_reusable" c:identifier="gst_rtsp_media_set_reusable">
        <doc xml:whitespace="preserve">Set or unset if the pipeline for @media can be reused after the pipeline has
been unprepared.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="reusable" transfer-ownership="none">
            <doc xml:whitespace="preserve">the new value</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_shared" c:identifier="gst_rtsp_media_set_shared">
        <doc xml:whitespace="preserve">Set or unset if the pipeline for @media can be shared will multiple clients.
When @shared is %TRUE, client requests for this media will share the media
pipeline.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="shared" transfer-ownership="none">
            <doc xml:whitespace="preserve">the new value</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_state" c:identifier="gst_rtsp_media_set_state">
        <doc xml:whitespace="preserve">Set the state of @media to @state and for the transports in @transports.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="state" transfer-ownership="none">
            <doc xml:whitespace="preserve">the target state of the media</doc>
            <type name="Gst.State" c:type="GstState"/>
          </parameter>
          <parameter name="transports" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GArray of #GstRTSPMediaTrans pointers</doc>
            <array name="GLib.Array" c:type="GArray*">
              <type name="gpointer" c:type="gpointer"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="unprepare" c:identifier="gst_rtsp_media_unprepare">
        <doc xml:whitespace="preserve">Unprepare @media. After this call, the media should be prepared again before
it can be used again. If the media is set to be non-reusable, a new instance
must be created.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </method>
      <property name="eos-shutdown" writable="1" transfer-ownership="none">
        <type name="gboolean"/>
      </property>
      <property name="protocols" writable="1" transfer-ownership="none">
        <type name="GstRtsp.RTSPLowerTrans"/>
      </property>
      <property name="reusable" writable="1" transfer-ownership="none">
        <type name="gboolean"/>
      </property>
      <property name="shared" writable="1" transfer-ownership="none">
        <type name="gboolean"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="lock">
        <type name="GLib.Mutex" c:type="GMutex*"/>
      </field>
      <field name="cond">
        <type name="GLib.Cond" c:type="GCond*"/>
      </field>
      <field name="shared">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="reusable">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="protocols">
        <type name="GstRtsp.RTSPLowerTrans" c:type="GstRTSPLowerTrans"/>
      </field>
      <field name="reused">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="is_ipv6">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="eos_shutdown">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="auth">
        <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
      </field>
      <field name="element">
        <type name="Gst.Element" c:type="GstElement*"/>
      </field>
      <field name="streams">
        <array name="GLib.Array" c:type="GArray*">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <field name="dynamic">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <field name="status">
        <type name="RTSPMediaStatus" c:type="GstRTSPMediaStatus"/>
      </field>
      <field name="active">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="eos_pending">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="adding">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="pipeline">
        <type name="Gst.Element" c:type="GstElement*"/>
      </field>
      <field name="fakesink">
        <type name="Gst.Element" c:type="GstElement*"/>
      </field>
      <field name="source">
        <type name="GLib.Source" c:type="GSource*"/>
      </field>
      <field name="id">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="is_live">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="buffering">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="target_state">
        <type name="Gst.State" c:type="GstState"/>
      </field>
      <field name="rtpbin">
        <type name="Gst.Element" c:type="GstElement*"/>
      </field>
      <field name="range">
        <type name="GstRtsp.RTSPTimeRange" c:type="GstRTSPTimeRange"/>
      </field>
      <glib:signal name="new-state" when="last">
        <return-value transfer-ownership="none">
          <type name="none"/>
        </return-value>
      </glib:signal>
      <glib:signal name="prepared" when="last">
        <return-value transfer-ownership="none">
          <type name="none"/>
        </return-value>
      </glib:signal>
      <glib:signal name="unprepared" when="last">
        <return-value transfer-ownership="none">
          <type name="none"/>
        </return-value>
      </glib:signal>
    </class>
    <record name="RTSPMediaClass"
            c:type="GstRTSPMediaClass"
            glib:is-gtype-struct-for="RTSPMedia">
      <doc xml:whitespace="preserve">The RTSP media class</doc>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="context">
        <type name="GLib.MainContext" c:type="GMainContext*"/>
      </field>
      <field name="loop">
        <type name="GLib.MainLoop" c:type="GMainLoop*"/>
      </field>
      <field name="thread">
        <type name="GLib.Thread" c:type="GThread*"/>
      </field>
      <field name="handle_message">
        <callback name="handle_message">
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="media" transfer-ownership="none">
              <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
            </parameter>
            <parameter name="message" transfer-ownership="none">
              <type name="Gst.Message" c:type="GstMessage*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="unprepare">
        <callback name="unprepare">
          <return-value transfer-ownership="none">
            <doc xml:whitespace="preserve">%TRUE on success.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="media" transfer-ownership="none">
              <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="prepared">
        <callback name="prepared">
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="media" transfer-ownership="none">
              <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="unprepared">
        <callback name="unprepared">
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="media" transfer-ownership="none">
              <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="new_state">
        <callback name="new_state">
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="media" transfer-ownership="none">
              <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
            </parameter>
            <parameter name="state" transfer-ownership="none">
              <type name="Gst.State" c:type="GstState"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <class name="RTSPMediaFactory"
           c:symbol-prefix="rtsp_media_factory"
           c:type="GstRTSPMediaFactory"
           parent="GObject.Object"
           glib:type-name="GstRTSPMediaFactory"
           glib:get-type="gst_rtsp_media_factory_get_type"
           glib:type-struct="RTSPMediaFactoryClass">
      <doc xml:whitespace="preserve">The definition and logic for constructing the pipeline for a media. The media
can contain multiple streams like audio and video.</doc>
      <constructor name="new" c:identifier="gst_rtsp_media_factory_new">
        <doc xml:whitespace="preserve">Create a new #GstRTSPMediaFactory instance.</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">a new #GstRTSPMediaFactory object.</doc>
          <type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory*"/>
        </return-value>
      </constructor>
      <virtual-method name="configure">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="media" transfer-ownership="none">
            <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="construct" invoker="construct" introspectable="0">
        <doc xml:whitespace="preserve">Prepare the media object and create its streams. Implementations
should create the needed gstreamer elements and add them to the result
object. No state changes should be performed on them yet.

One or more GstRTSPMediaStream objects should be added to the result with
the srcpad member set to a source pad that produces buffer of type 
application/x-rtp.</doc>
        <return-value>
          <doc xml:whitespace="preserve">a new #GstRTSPMedia if the media could be prepared.</doc>
          <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
        </return-value>
        <parameters>
          <parameter name="url" transfer-ownership="none">
            <doc xml:whitespace="preserve">the url used</doc>
            <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="create_pipeline" introspectable="0">
        <return-value>
          <type name="Gst.Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <parameter name="media" transfer-ownership="none">
            <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="gen_key">
        <return-value transfer-ownership="full">
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <parameter name="url" transfer-ownership="none">
            <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_element" introspectable="0">
        <return-value>
          <type name="Gst.Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <parameter name="url" transfer-ownership="none">
            <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="collect_streams"
              c:identifier="gst_rtsp_media_factory_collect_streams">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="url" transfer-ownership="none">
            <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
          </parameter>
          <parameter name="media" transfer-ownership="none">
            <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
          </parameter>
        </parameters>
      </method>
      <method name="construct"
              c:identifier="gst_rtsp_media_factory_construct"
              introspectable="0">
        <doc xml:whitespace="preserve">Prepare the media object and create its streams. Implementations
should create the needed gstreamer elements and add them to the result
object. No state changes should be performed on them yet.

One or more GstRTSPMediaStream objects should be added to the result with
the srcpad member set to a source pad that produces buffer of type 
application/x-rtp.</doc>
        <return-value>
          <doc xml:whitespace="preserve">a new #GstRTSPMedia if the media could be prepared.</doc>
          <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
        </return-value>
        <parameters>
          <parameter name="url" transfer-ownership="none">
            <doc xml:whitespace="preserve">the url used</doc>
            <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_auth"
              c:identifier="gst_rtsp_media_factory_get_auth"
              introspectable="0">
        <doc xml:whitespace="preserve">Get the #GstRTSPAuth used as the authentication manager of @factory.

usage.</doc>
        <return-value>
          <doc xml:whitespace="preserve">the #GstRTSPAuth of @factory. g_object_unref() after</doc>
          <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
        </return-value>
      </method>
      <method name="get_launch"
              c:identifier="gst_rtsp_media_factory_get_launch">
        <doc xml:whitespace="preserve">Get the gst_parse_launch() pipeline description that will be used in the
default prepare vmethod.</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">the configured launch description. g_free() after usage.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
      </method>
      <method name="is_eos_shutdown"
              c:identifier="gst_rtsp_media_factory_is_eos_shutdown">
        <doc xml:whitespace="preserve">Get if media created from this factory will have an EOS event sent to the
pipeline before shutdown.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">%TRUE if the media will receive EOS before shutdown.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </method>
      <method name="is_shared" c:identifier="gst_rtsp_media_factory_is_shared">
        <doc xml:whitespace="preserve">Get if media created from this factory can be shared between clients.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">%TRUE if the media will be shared between clients.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </method>
      <method name="set_auth" c:identifier="gst_rtsp_media_factory_set_auth">
        <doc xml:whitespace="preserve">configure @auth to be used as the authentication manager of @factory.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="auth" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GstRTSPAuth</doc>
            <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_eos_shutdown"
              c:identifier="gst_rtsp_media_factory_set_eos_shutdown">
        <doc xml:whitespace="preserve">Configure if media created from this factory will have an EOS sent to the
pipeline before shutdown.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="eos_shutdown" transfer-ownership="none">
            <doc xml:whitespace="preserve">the new value</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_launch"
              c:identifier="gst_rtsp_media_factory_set_launch">
        <doc xml:whitespace="preserve">The gst_parse_launch() line to use for constructing the pipeline in the
default prepare vmethod.

The pipeline description should return a GstBin as the toplevel element
which can be accomplished by enclosing the dscription with brackets '('
')'.

The description should return a pipeline with payloaders named pay0, pay1,
etc.. Each of the payloaders will result in a stream.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="launch" transfer-ownership="none">
            <doc xml:whitespace="preserve">the launch description</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_shared"
              c:identifier="gst_rtsp_media_factory_set_shared">
        <doc xml:whitespace="preserve">Configure if media created from this factory can be shared between clients.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="shared" transfer-ownership="none">
            <doc xml:whitespace="preserve">the new value</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <property name="eos-shutdown" writable="1" transfer-ownership="none">
        <type name="gboolean"/>
      </property>
      <property name="launch" writable="1" transfer-ownership="none">
        <type name="utf8"/>
      </property>
      <property name="shared" writable="1" transfer-ownership="none">
        <type name="gboolean"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="lock">
        <type name="GLib.Mutex" c:type="GMutex*"/>
      </field>
      <field name="launch">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="shared">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="eos_shutdown">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="auth">
        <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
      </field>
      <field name="medias_lock">
        <type name="GLib.Mutex" c:type="GMutex*"/>
      </field>
      <field name="medias">
        <type name="GLib.HashTable" c:type="GHashTable*">
          <type name="gpointer" c:type="gpointer"/>
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
    </class>
    <record name="RTSPMediaFactoryClass"
            c:type="GstRTSPMediaFactoryClass"
            glib:is-gtype-struct-for="RTSPMediaFactory">
      <doc xml:whitespace="preserve">The #GstRTSPMediaFactory class structure.</doc>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="gen_key">
        <callback name="gen_key">
          <return-value transfer-ownership="full">
            <type name="utf8" c:type="gchar*"/>
          </return-value>
          <parameters>
            <parameter name="factory" transfer-ownership="none">
              <type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory*"/>
            </parameter>
            <parameter name="url" transfer-ownership="none">
              <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_element" introspectable="0">
        <callback name="get_element" introspectable="0">
          <return-value>
            <type name="Gst.Element" c:type="GstElement*"/>
          </return-value>
          <parameters>
            <parameter name="factory" transfer-ownership="none">
              <type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory*"/>
            </parameter>
            <parameter name="url" transfer-ownership="none">
              <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="construct" introspectable="0">
        <callback name="construct" introspectable="0">
          <return-value>
            <doc xml:whitespace="preserve">a new #GstRTSPMedia if the media could be prepared.</doc>
            <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
          </return-value>
          <parameters>
            <parameter name="factory" transfer-ownership="none">
              <type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory*"/>
            </parameter>
            <parameter name="url" transfer-ownership="none">
              <doc xml:whitespace="preserve">the url used</doc>
              <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="configure">
        <callback name="configure">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="factory" transfer-ownership="none">
              <type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory*"/>
            </parameter>
            <parameter name="media" transfer-ownership="none">
              <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="create_pipeline" introspectable="0">
        <callback name="create_pipeline" introspectable="0">
          <return-value>
            <type name="Gst.Element" c:type="GstElement*"/>
          </return-value>
          <parameters>
            <parameter name="factory" transfer-ownership="none">
              <type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory*"/>
            </parameter>
            <parameter name="media" transfer-ownership="none">
              <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <class name="RTSPMediaFactoryURI"
           c:symbol-prefix="rtsp_media_factory_uri"
           c:type="GstRTSPMediaFactoryURI"
           parent="RTSPMediaFactory"
           glib:type-name="GstRTSPMediaFactoryURI"
           glib:get-type="gst_rtsp_media_factory_uri_get_type"
           glib:type-struct="RTSPMediaFactoryURIClass">
      <doc xml:whitespace="preserve">A media factory that creates a pipeline to play and uri.</doc>
      <constructor name="new" c:identifier="gst_rtsp_media_factory_uri_new">
        <doc xml:whitespace="preserve">Create a new #GstRTSPMediaFactoryURI instance.</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">a new #GstRTSPMediaFactoryURI object.</doc>
          <type name="RTSPMediaFactoryURI" c:type="GstRTSPMediaFactoryURI*"/>
        </return-value>
      </constructor>
      <method name="get_uri" c:identifier="gst_rtsp_media_factory_uri_get_uri">
        <doc xml:whitespace="preserve">Get the URI that will provide media for this factory.</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">the configured URI. g_free() after usage.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
      </method>
      <method name="set_uri" c:identifier="gst_rtsp_media_factory_uri_set_uri">
        <doc xml:whitespace="preserve">Set the URI of the resource that will be streamed by this factory.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:whitespace="preserve">the uri the stream</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </method>
      <property name="uri" writable="1" transfer-ownership="none">
        <type name="utf8"/>
      </property>
      <property name="use-gstpay" writable="1" transfer-ownership="none">
        <type name="gboolean"/>
      </property>
      <field name="parent">
        <type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory"/>
      </field>
      <field name="uri">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="use_gstpay">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="raw_vcaps">
        <type name="Gst.Caps" c:type="GstCaps*"/>
      </field>
      <field name="raw_acaps">
        <type name="Gst.Caps" c:type="GstCaps*"/>
      </field>
      <field name="demuxers">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <field name="payloaders">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <field name="decoders">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
    </class>
    <record name="RTSPMediaFactoryURIClass"
            c:type="GstRTSPMediaFactoryURIClass"
            glib:is-gtype-struct-for="RTSPMediaFactoryURI">
      <doc xml:whitespace="preserve">The #GstRTSPMediaFactoryURI class structure.</doc>
      <field name="parent_class">
        <type name="RTSPMediaFactoryClass" c:type="GstRTSPMediaFactoryClass"/>
      </field>
    </record>
    <class name="RTSPMediaMapping"
           c:symbol-prefix="rtsp_media_mapping"
           c:type="GstRTSPMediaMapping"
           parent="GObject.Object"
           glib:type-name="GstRTSPMediaMapping"
           glib:get-type="gst_rtsp_media_mapping_get_type"
           glib:type-struct="RTSPMediaMappingClass">
      <doc xml:whitespace="preserve">Creates a #GstRTSPMediaFactory object for a given url.</doc>
      <constructor name="new" c:identifier="gst_rtsp_media_mapping_new">
        <return-value transfer-ownership="full">
          <type name="RTSPMediaMapping" c:type="GstRTSPMediaMapping*"/>
        </return-value>
      </constructor>
      <virtual-method name="find_media" introspectable="0">
        <return-value>
          <type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory*"/>
        </return-value>
        <parameters>
          <parameter name="url" transfer-ownership="none">
            <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="add_factory"
              c:identifier="gst_rtsp_media_mapping_add_factory">
        <doc xml:whitespace="preserve">Attach @factory to the mount point @path in @mapping.

@path is of the form (/node)+. Any previous mapping will be freed.

Ownership is taken of the reference on @factory so that @factory should not be
used after calling this function.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="path" transfer-ownership="none">
            <doc xml:whitespace="preserve">a mount point</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="factory" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GstRTSPMediaFactory</doc>
            <type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory*"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_factory"
              c:identifier="gst_rtsp_media_mapping_find_factory"
              introspectable="0">
        <doc xml:whitespace="preserve">Find the #GstRTSPMediaFactory for @url. The default implementation of this object 
will use the mappings added with gst_rtsp_media_mapping_add_factory ().</doc>
        <return-value>
          <doc xml:whitespace="preserve">the #GstRTSPMediaFactory for @url. g_object_unref() after usage.</doc>
          <type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory*"/>
        </return-value>
        <parameters>
          <parameter name="url" transfer-ownership="none">
            <doc xml:whitespace="preserve">a url</doc>
            <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_factory"
              c:identifier="gst_rtsp_media_mapping_remove_factory">
        <doc xml:whitespace="preserve">Remove the #GstRTSPMediaFactory associated with @path in @mapping.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="path" transfer-ownership="none">
            <doc xml:whitespace="preserve">a mount point</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="mappings">
        <type name="GLib.HashTable" c:type="GHashTable*">
          <type name="gpointer" c:type="gpointer"/>
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
    </class>
    <record name="RTSPMediaMappingClass"
            c:type="GstRTSPMediaMappingClass"
            glib:is-gtype-struct-for="RTSPMediaMapping">
      <doc xml:whitespace="preserve">The class for the media mapping object.</doc>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="find_media" introspectable="0">
        <callback name="find_media" introspectable="0">
          <return-value>
            <type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory*"/>
          </return-value>
          <parameters>
            <parameter name="mapping" transfer-ownership="none">
              <type name="RTSPMediaMapping" c:type="GstRTSPMediaMapping*"/>
            </parameter>
            <parameter name="url" transfer-ownership="none">
              <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <enumeration name="RTSPMediaStatus" c:type="GstRTSPMediaStatus">
      <doc xml:whitespace="preserve">The state of the media pipeline.</doc>
      <member name="unprepared"
              value="0"
              c:identifier="GST_RTSP_MEDIA_STATUS_UNPREPARED"/>
      <member name="preparing"
              value="1"
              c:identifier="GST_RTSP_MEDIA_STATUS_PREPARING"/>
      <member name="prepared"
              value="2"
              c:identifier="GST_RTSP_MEDIA_STATUS_PREPARED"/>
      <member name="error"
              value="3"
              c:identifier="GST_RTSP_MEDIA_STATUS_ERROR"/>
    </enumeration>
    <record name="RTSPMediaStream" c:type="GstRTSPMediaStream">
      <doc xml:whitespace="preserve">The definition of a media stream. The streams are identified by @id.</doc>
      <field name="srcpad" writable="1">
        <type name="Gst.Pad" c:type="GstPad*"/>
      </field>
      <field name="payloader" writable="1">
        <type name="Gst.Element" c:type="GstElement*"/>
      </field>
      <field name="prepared" writable="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="recv_rtcp_sink" writable="1">
        <type name="Gst.Pad" c:type="GstPad*"/>
      </field>
      <field name="recv_rtp_sink" writable="1">
        <type name="Gst.Pad" c:type="GstPad*"/>
      </field>
      <field name="send_rtp_sink" writable="1">
        <type name="Gst.Pad" c:type="GstPad*"/>
      </field>
      <field name="send_rtp_src" writable="1">
        <type name="Gst.Pad" c:type="GstPad*"/>
      </field>
      <field name="send_rtcp_src" writable="1">
        <type name="Gst.Pad" c:type="GstPad*"/>
      </field>
      <field name="session" writable="1">
        <type name="GObject.Object" c:type="GObject*"/>
      </field>
      <field name="udpsrc" writable="1">
        <array zero-terminated="0" c:type="GstElement" fixed-size="2">
          <type name="Gst.Element" c:type="GstElement*"/>
        </array>
      </field>
      <field name="udpsink" writable="1">
        <array zero-terminated="0" c:type="GstElement" fixed-size="2">
          <type name="Gst.Element" c:type="GstElement*"/>
        </array>
      </field>
      <field name="appsrc" writable="1">
        <array zero-terminated="0" c:type="GstElement" fixed-size="2">
          <type name="Gst.Element" c:type="GstElement*"/>
        </array>
      </field>
      <field name="appsink" writable="1">
        <array zero-terminated="0" c:type="GstElement" fixed-size="2">
          <type name="Gst.Element" c:type="GstElement*"/>
        </array>
      </field>
      <field name="tee" writable="1">
        <array zero-terminated="0" c:type="GstElement" fixed-size="2">
          <type name="Gst.Element" c:type="GstElement*"/>
        </array>
      </field>
      <field name="selector" writable="1">
        <array zero-terminated="0" c:type="GstElement" fixed-size="2">
          <type name="Gst.Element" c:type="GstElement*"/>
        </array>
      </field>
      <field name="server_port" writable="1">
        <type name="GstRtsp.RTSPRange" c:type="GstRTSPRange"/>
      </field>
      <field name="caps_sig" writable="1">
        <type name="gulong" c:type="gulong"/>
      </field>
      <field name="caps" writable="1">
        <type name="Gst.Caps" c:type="GstCaps*"/>
      </field>
      <field name="transports" writable="1">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <field name="filter_duplicates" writable="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="destinations" writable="1">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <method name="rtcp" c:identifier="gst_rtsp_media_stream_rtcp">
        <doc xml:whitespace="preserve">Handle an RTCP buffer for the stream. This method is usually called when a
message has been received from a client using the TCP transport.

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="rtp" c:identifier="gst_rtsp_media_stream_rtp">
        <doc xml:whitespace="preserve">Handle an RTP buffer for the stream. This method is usually called when a
message has been received from a client using the TCP transport.

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>
    </record>
    <record name="RTSPMediaTrans" c:type="GstRTSPMediaTrans">
      <doc xml:whitespace="preserve">A Transport description for stream @idx</doc>
      <field name="idx" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="send_rtp" writable="1">
        <type name="RTSPSendFunc" c:type="GstRTSPSendFunc"/>
      </field>
      <field name="send_rtcp" writable="1">
        <type name="RTSPSendFunc" c:type="GstRTSPSendFunc"/>
      </field>
      <field name="send_rtp_list" writable="1">
        <type name="RTSPSendListFunc" c:type="GstRTSPSendListFunc"/>
      </field>
      <field name="send_rtcp_list" writable="1">
        <type name="RTSPSendListFunc" c:type="GstRTSPSendListFunc"/>
      </field>
      <field name="user_data" writable="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="notify" writable="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="keep_alive" writable="1">
        <type name="RTSPKeepAliveFunc" c:type="GstRTSPKeepAliveFunc"/>
      </field>
      <field name="ka_user_data" writable="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="ka_notify" writable="1">
        <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
      </field>
      <field name="active" writable="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="timeout" writable="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="transport" writable="1">
        <type name="GstRtsp.RTSPTransport" c:type="GstRTSPTransport*"/>
      </field>
      <field name="rtpsource" writable="1">
        <type name="GObject.Object" c:type="GObject*"/>
      </field>
      <method name="cleanup" c:identifier="gst_rtsp_media_trans_cleanup">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </method>
    </record>
    <callback name="RTSPSendFunc" c:type="GstRTSPSendFunc">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="buffer" transfer-ownership="none">
          <type name="Gst.Buffer" c:type="GstBuffer*"/>
        </parameter>
        <parameter name="channel" transfer-ownership="none">
          <type name="guint8" c:type="guint8"/>
        </parameter>
        <parameter name="user_data" transfer-ownership="none" closure="2">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="RTSPSendListFunc" c:type="GstRTSPSendListFunc">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="blist" transfer-ownership="none">
          <type name="Gst.BufferList" c:type="GstBufferList*"/>
        </parameter>
        <parameter name="channel" transfer-ownership="none">
          <type name="guint8" c:type="guint8"/>
        </parameter>
        <parameter name="user_data" transfer-ownership="none" closure="2">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <class name="RTSPServer"
           c:symbol-prefix="rtsp_server"
           c:type="GstRTSPServer"
           parent="GObject.Object"
           glib:type-name="GstRTSPServer"
           glib:get-type="gst_rtsp_server_get_type"
           glib:type-struct="RTSPServerClass">
      <doc xml:whitespace="preserve">This object listens on a port, creates and manages the clients connected to
it.</doc>
      <constructor name="new" c:identifier="gst_rtsp_server_new">
        <doc xml:whitespace="preserve">Create a new #GstRTSPServer instance.</doc>
        <return-value transfer-ownership="full">
          <type name="RTSPServer" c:type="GstRTSPServer*"/>
        </return-value>
      </constructor>
      <function name="io_func" c:identifier="gst_rtsp_server_io_func">
        <doc xml:whitespace="preserve">A default #GIOFunc that creates a new #GstRTSPClient to accept and handle a
new connection on @channel or @server.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">TRUE if the source could be connected, FALSE if an error occured.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="channel" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GIOChannel</doc>
            <type name="GLib.IOChannel" c:type="GIOChannel*"/>
          </parameter>
          <parameter name="condition" transfer-ownership="none">
            <doc xml:whitespace="preserve">the condition on @source</doc>
            <type name="GLib.IOCondition" c:type="GIOCondition"/>
          </parameter>
          <parameter name="server" transfer-ownership="none">
            <type name="RTSPServer" c:type="GstRTSPServer*"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="accept_client">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="client" transfer-ownership="none">
            <type name="RTSPClient" c:type="GstRTSPClient*"/>
          </parameter>
          <parameter name="channel" transfer-ownership="none">
            <type name="GLib.IOChannel" c:type="GIOChannel*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="create_client" introspectable="0">
        <return-value>
          <type name="RTSPClient" c:type="GstRTSPClient*"/>
        </return-value>
      </virtual-method>
      <method name="attach" c:identifier="gst_rtsp_server_attach">
        <doc xml:whitespace="preserve">Attaches @server to @context. When the mainloop for @context is run, the
server will be dispatched. When @context is NULL, the default context will be
used).

This function should be called when the server properties and urls are fully
configured and the server is ready to start.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">the ID (greater than 0) for the source within the GMainContext.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <parameter name="context" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GMainContext</doc>
            <type name="GLib.MainContext" c:type="GMainContext*"/>
          </parameter>
        </parameters>
      </method>
      <method name="create_watch" c:identifier="gst_rtsp_server_create_watch">
        <doc xml:whitespace="preserve">Create a #GSource for @server. The new source will have a default
#GIOFunc of gst_rtsp_server_io_func().</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">the #GSource for @server or NULL when an error occured.</doc>
          <type name="GLib.Source" c:type="GSource*"/>
        </return-value>
      </method>
      <method name="get_address" c:identifier="gst_rtsp_server_get_address">
        <doc xml:whitespace="preserve">Get the address on which the server will accept connections.</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">the server address. g_free() after usage.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
      </method>
      <method name="get_auth"
              c:identifier="gst_rtsp_server_get_auth"
              introspectable="0">
        <doc xml:whitespace="preserve">Get the #GstRTSPAuth used as the authentication manager of @server.

usage.</doc>
        <return-value>
          <doc xml:whitespace="preserve">the #GstRTSPAuth of @server. g_object_unref() after</doc>
          <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
        </return-value>
      </method>
      <method name="get_backlog" c:identifier="gst_rtsp_server_get_backlog">
        <doc xml:whitespace="preserve">The maximum amount of queued requests for the server.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">the server backlog.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
      </method>
      <method name="get_io_channel"
              c:identifier="gst_rtsp_server_get_io_channel">
        <doc xml:whitespace="preserve">Create a #GIOChannel for @server. The io channel will listen on the
configured service.</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">the GIOChannel for @server or NULL when an error occured.</doc>
          <type name="GLib.IOChannel" c:type="GIOChannel*"/>
        </return-value>
      </method>
      <method name="get_media_mapping"
              c:identifier="gst_rtsp_server_get_media_mapping"
              introspectable="0">
        <doc xml:whitespace="preserve">Get the #GstRTSPMediaMapping used as the media mapping of @server.

usage.</doc>
        <return-value>
          <doc xml:whitespace="preserve">the #GstRTSPMediaMapping of @server. g_object_unref() after</doc>
          <type name="RTSPMediaMapping" c:type="GstRTSPMediaMapping*"/>
        </return-value>
      </method>
      <method name="get_service" c:identifier="gst_rtsp_server_get_service">
        <doc xml:whitespace="preserve">Get the service on which the server will accept connections.</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">the service. use g_free() after usage.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
      </method>
      <method name="get_session_pool"
              c:identifier="gst_rtsp_server_get_session_pool"
              introspectable="0">
        <doc xml:whitespace="preserve">Get the #GstRTSPSessionPool used as the session pool of @server.

usage.</doc>
        <return-value>
          <doc xml:whitespace="preserve">the #GstRTSPSessionPool used for sessions. g_object_unref() after</doc>
          <type name="RTSPSessionPool" c:type="GstRTSPSessionPool*"/>
        </return-value>
      </method>
      <method name="set_address" c:identifier="gst_rtsp_server_set_address">
        <doc xml:whitespace="preserve">Configure @server to accept connections on the given address.

This function must be called before the server is bound.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="address" transfer-ownership="none">
            <doc xml:whitespace="preserve">the address</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_auth" c:identifier="gst_rtsp_server_set_auth">
        <doc xml:whitespace="preserve">configure @auth to be used as the authentication manager of @server.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="auth" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GstRTSPAuth</doc>
            <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_backlog" c:identifier="gst_rtsp_server_set_backlog">
        <doc xml:whitespace="preserve">configure the maximum amount of requests that may be queued for the
server.

This function must be called before the server is bound.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="backlog" transfer-ownership="none">
            <doc xml:whitespace="preserve">the backlog</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_media_mapping"
              c:identifier="gst_rtsp_server_set_media_mapping">
        <doc xml:whitespace="preserve">configure @mapping to be used as the media mapping of @server.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="mapping" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GstRTSPMediaMapping</doc>
            <type name="RTSPMediaMapping" c:type="GstRTSPMediaMapping*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_service" c:identifier="gst_rtsp_server_set_service">
        <doc xml:whitespace="preserve">Configure @server to accept connections on the given service.
@service should be a string containing the service name (see services(5)) or
a string containing a port number between 1 and 65535.

This function must be called before the server is bound.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="service" transfer-ownership="none">
            <doc xml:whitespace="preserve">the service</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_session_pool"
              c:identifier="gst_rtsp_server_set_session_pool">
        <doc xml:whitespace="preserve">configure @pool to be used as the session pool of @server.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="pool" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GstRTSPSessionPool</doc>
            <type name="RTSPSessionPool" c:type="GstRTSPSessionPool*"/>
          </parameter>
        </parameters>
      </method>
      <property name="address" writable="1" transfer-ownership="none">
        <type name="utf8"/>
      </property>
      <property name="backlog" writable="1" transfer-ownership="none">
        <type name="gint"/>
      </property>
      <property name="media-mapping" writable="1" transfer-ownership="none">
        <type name="RTSPMediaMapping"/>
      </property>
      <property name="service" writable="1" transfer-ownership="none">
        <type name="utf8"/>
      </property>
      <property name="session-pool" writable="1" transfer-ownership="none">
        <type name="RTSPSessionPool"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="lock">
        <type name="GLib.Mutex" c:type="GMutex*"/>
      </field>
      <field name="address">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="service">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="backlog">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="session_pool">
        <type name="RTSPSessionPool" c:type="GstRTSPSessionPool*"/>
      </field>
      <field name="media_mapping">
        <type name="RTSPMediaMapping" c:type="GstRTSPMediaMapping*"/>
      </field>
      <field name="auth">
        <type name="RTSPAuth" c:type="GstRTSPAuth*"/>
      </field>
      <field name="clients">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
    </class>
    <record name="RTSPServerClass"
            c:type="GstRTSPServerClass"
            glib:is-gtype-struct-for="RTSPServer">
      <doc xml:whitespace="preserve">object that handles the new connection on @channel.

The RTSP server class structure</doc>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="create_client" introspectable="0">
        <callback name="create_client" introspectable="0">
          <return-value>
            <type name="RTSPClient" c:type="GstRTSPClient*"/>
          </return-value>
          <parameters>
            <parameter name="server" transfer-ownership="none">
              <type name="RTSPServer" c:type="GstRTSPServer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="accept_client">
        <callback name="accept_client">
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="server" transfer-ownership="none">
              <type name="RTSPServer" c:type="GstRTSPServer*"/>
            </parameter>
            <parameter name="client" transfer-ownership="none">
              <type name="RTSPClient" c:type="GstRTSPClient*"/>
            </parameter>
            <parameter name="channel" transfer-ownership="none">
              <type name="GLib.IOChannel" c:type="GIOChannel*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <class name="RTSPSession"
           c:symbol-prefix="rtsp_session"
           c:type="GstRTSPSession"
           parent="GObject.Object"
           glib:type-name="GstRTSPSession"
           glib:get-type="gst_rtsp_session_get_type"
           glib:type-struct="RTSPSessionClass">
      <doc xml:whitespace="preserve">Session information kept by the server for a specific client.
One client session, identified with a session id, can handle multiple medias
identified with the url of a media.</doc>
      <constructor name="new" c:identifier="gst_rtsp_session_new">
        <doc xml:whitespace="preserve">Create a new #GstRTSPSession instance.</doc>
        <return-value transfer-ownership="full">
          <type name="RTSPSession" c:type="GstRTSPSession*"/>
        </return-value>
        <parameters>
          <parameter name="sessionid" transfer-ownership="none">
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="allow_expire" c:identifier="gst_rtsp_session_allow_expire">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </method>
      <method name="get_media"
              c:identifier="gst_rtsp_session_get_media"
              introspectable="0">
        <doc xml:whitespace="preserve">Get the session media of the @url.</doc>
        <return-value>
          <doc xml:whitespace="preserve">the configuration for @url in @sess.</doc>
          <type name="RTSPSessionMedia" c:type="GstRTSPSessionMedia*"/>
        </return-value>
        <parameters>
          <parameter name="url" transfer-ownership="none">
            <doc xml:whitespace="preserve">the url for the media</doc>
            <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_sessionid"
              c:identifier="gst_rtsp_session_get_sessionid">
        <doc xml:whitespace="preserve">Get the sessionid of @session.

@session is alive.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">the sessionid of @session. The value remains valid as long as</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
      </method>
      <method name="get_timeout" c:identifier="gst_rtsp_session_get_timeout">
        <doc xml:whitespace="preserve">Get the timeout value of @session.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">the timeout of @session in seconds.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
      </method>
      <method name="is_expired" c:identifier="gst_rtsp_session_is_expired">
        <doc xml:whitespace="preserve">Check if @session timeout out.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">%TRUE if @session timed out</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="now" transfer-ownership="none">
            <doc xml:whitespace="preserve">the current system time</doc>
            <type name="GLib.TimeVal" c:type="GTimeVal*"/>
          </parameter>
        </parameters>
      </method>
      <method name="manage_media"
              c:identifier="gst_rtsp_session_manage_media"
              introspectable="0">
        <doc xml:whitespace="preserve">Manage the media object @obj in @sess. @uri will be used to retrieve this
media from the session with gst_rtsp_session_get_media().

Ownership is taken from @media.</doc>
        <return-value>
          <doc xml:whitespace="preserve">a new @GstRTSPSessionMedia object.</doc>
          <type name="RTSPSessionMedia" c:type="GstRTSPSessionMedia*"/>
        </return-value>
        <parameters>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:whitespace="preserve">the uri for the media</doc>
            <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
          </parameter>
          <parameter name="media" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GstRTSPMedia</doc>
            <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
          </parameter>
        </parameters>
      </method>
      <method name="next_timeout" c:identifier="gst_rtsp_session_next_timeout">
        <doc xml:whitespace="preserve">Get the amount of milliseconds till the session will expire.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">the amount of milliseconds since the session will time out.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <parameter name="now" transfer-ownership="none">
            <doc xml:whitespace="preserve">the current system time</doc>
            <type name="GLib.TimeVal" c:type="GTimeVal*"/>
          </parameter>
        </parameters>
      </method>
      <method name="prevent_expire"
              c:identifier="gst_rtsp_session_prevent_expire">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </method>
      <method name="release_media"
              c:identifier="gst_rtsp_session_release_media">
        <doc xml:whitespace="preserve">Release the managed @media in @sess, freeing the memory allocated by it.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">%TRUE if there are more media session left in @sess.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="media" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GstRTSPMedia</doc>
            <type name="RTSPSessionMedia" c:type="GstRTSPSessionMedia*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_timeout" c:identifier="gst_rtsp_session_set_timeout">
        <doc xml:whitespace="preserve">Configure @session for a timeout of @timeout seconds. The session will be
cleaned up when there is no activity for @timeout seconds.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="timeout" transfer-ownership="none">
            <doc xml:whitespace="preserve">the new timeout</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="touch" c:identifier="gst_rtsp_session_touch">
        <doc xml:whitespace="preserve">Update the last_access time of the session to the current time.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </method>
      <property name="sessionid"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="utf8"/>
      </property>
      <property name="timeout" writable="1" transfer-ownership="none">
        <type name="guint"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="sessionid">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="timeout">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="create_time">
        <type name="GLib.TimeVal" c:type="GTimeVal"/>
      </field>
      <field name="last_access">
        <type name="GLib.TimeVal" c:type="GTimeVal"/>
      </field>
      <field name="expire_count">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="medias">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
    </class>
    <record name="RTSPSessionClass"
            c:type="GstRTSPSessionClass"
            glib:is-gtype-struct-for="RTSPSession">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <callback name="RTSPSessionFilterFunc" c:type="GstRTSPSessionFilterFunc">
      <doc xml:whitespace="preserve">This function will be called by the gst_rtsp_session_pool_filter(). An
implementation should return a value of #GstRTSPFilterResult.

When this function returns #GST_RTSP_FILTER_REMOVE, @session will be removed
from @pool.

A return value of #GST_RTSP_FILTER_KEEP will leave @session untouched in
@pool.

A value of GST_RTSP_FILTER_REF will add @session to the result #GList of
gst_rtsp_session_pool_filter().</doc>
      <return-value transfer-ownership="none">
        <doc xml:whitespace="preserve">a #GstRTSPFilterResult.</doc>
        <type name="RTSPFilterResult" c:type="GstRTSPFilterResult"/>
      </return-value>
      <parameters>
        <parameter name="pool" transfer-ownership="none">
          <doc xml:whitespace="preserve">a #GstRTSPSessionPool object</doc>
          <type name="RTSPSessionPool" c:type="GstRTSPSessionPool*"/>
        </parameter>
        <parameter name="session" transfer-ownership="none">
          <doc xml:whitespace="preserve">a #GstRTSPSession in @pool</doc>
          <type name="RTSPSession" c:type="GstRTSPSession*"/>
        </parameter>
        <parameter name="user_data" transfer-ownership="none" closure="2">
          <doc xml:whitespace="preserve">user data that has been given to gst_rtsp_session_pool_filter()</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="RTSPSessionMedia" c:type="GstRTSPSessionMedia">
      <doc xml:whitespace="preserve">State of a client session regarding a specific media identified by uri.</doc>
      <field name="url" writable="1">
        <type name="GstRtsp.RTSPUrl" c:type="GstRTSPUrl*"/>
      </field>
      <field name="media" writable="1">
        <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
      </field>
      <field name="state" writable="1">
        <type name="GstRtsp.RTSPState" c:type="GstRTSPState"/>
      </field>
      <field name="counter" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="streams" writable="1">
        <array name="GLib.Array" c:type="GArray*">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
      <method name="alloc_channels"
              c:identifier="gst_rtsp_session_media_alloc_channels">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="range" transfer-ownership="none">
            <type name="GstRtsp.RTSPRange" c:type="GstRTSPRange*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_stream"
              c:identifier="gst_rtsp_session_media_get_stream"
              introspectable="0">
        <doc xml:whitespace="preserve">Get a previously created or create a new #GstRTSPSessionStream at @idx.

is unreffed.</doc>
        <return-value>
          <doc xml:whitespace="preserve">a #GstRTSPSessionStream that is valid until the session of @media</doc>
          <type name="RTSPSessionStream" c:type="GstRTSPSessionStream*"/>
        </return-value>
        <parameters>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:whitespace="preserve">the stream index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_state" c:identifier="gst_rtsp_session_media_set_state">
        <doc xml:whitespace="preserve">Tell the media object @media to change to @state.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="state" transfer-ownership="none">
            <doc xml:whitespace="preserve">the new state</doc>
            <type name="Gst.State" c:type="GstState"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <class name="RTSPSessionPool"
           c:symbol-prefix="rtsp_session_pool"
           c:type="GstRTSPSessionPool"
           parent="GObject.Object"
           glib:type-name="GstRTSPSessionPool"
           glib:get-type="gst_rtsp_session_pool_get_type"
           glib:type-struct="RTSPSessionPoolClass">
      <doc xml:whitespace="preserve">An object that keeps track of the active sessions. This object is usually
attached to a #GstRTSPServer object to manage the sessions in that server.</doc>
      <constructor name="new" c:identifier="gst_rtsp_session_pool_new">
        <doc xml:whitespace="preserve">Create a new #GstRTSPSessionPool instance.</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">A new #GstRTSPSessionPool. g_object_unref() after usage.</doc>
          <type name="RTSPSessionPool" c:type="GstRTSPSessionPool*"/>
        </return-value>
      </constructor>
      <virtual-method name="create_session_id">
        <return-value transfer-ownership="full">
          <type name="utf8" c:type="gchar*"/>
        </return-value>
      </virtual-method>
      <method name="cleanup" c:identifier="gst_rtsp_session_pool_cleanup">
        <doc xml:whitespace="preserve">Inspect all the sessions in @pool and remove the sessions that are inactive
for more than their timeout.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">the amount of sessions that got removed.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
      </method>
      <method name="create"
              c:identifier="gst_rtsp_session_pool_create"
              introspectable="0">
        <doc xml:whitespace="preserve">Create a new #GstRTSPSession object in @pool.</doc>
        <return-value>
          <doc xml:whitespace="preserve">a new #GstRTSPSession.</doc>
          <type name="RTSPSession" c:type="GstRTSPSession*"/>
        </return-value>
      </method>
      <method name="create_watch"
              c:identifier="gst_rtsp_session_pool_create_watch">
        <doc xml:whitespace="preserve">A GSource that will be dispatched when the session should be cleaned up.</doc>
        <return-value transfer-ownership="full">
          <type name="GLib.Source" c:type="GSource*"/>
        </return-value>
      </method>
      <method name="filter"
              c:identifier="gst_rtsp_session_pool_filter"
              introspectable="0">
        <doc xml:whitespace="preserve">Call @func for each session in @pool. The result value of @func determines
what happens to the session. @func will be called with the session pool
locked so no further actions on @pool can be performed from @func.

If @func returns #GST_RTSP_FILTER_REMOVE, the session will be removed from
@pool.

If @func returns #GST_RTSP_FILTER_KEEP, the session will remain in @pool.

If @func returns #GST_RTSP_FILTER_REF, the session will remain in @pool but
will also be added with an additional ref to the result GList of this
function..

#GST_RTSP_FILTER_REF. After usage, each element in the GList should be unreffed
before the list is freed.</doc>
        <return-value>
          <doc xml:whitespace="preserve">a GList with all sessions for which @func returned</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="gpointer" c:type="gpointer"/>
          </type>
        </return-value>
        <parameters>
          <parameter name="func" transfer-ownership="none" closure="1">
            <doc xml:whitespace="preserve">a callback</doc>
            <type name="RTSPSessionFilterFunc"
                  c:type="GstRTSPSessionFilterFunc"/>
          </parameter>
          <parameter name="user_data" transfer-ownership="none">
            <doc xml:whitespace="preserve">user data passed to @func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="find"
              c:identifier="gst_rtsp_session_pool_find"
              introspectable="0">
        <doc xml:whitespace="preserve">Find the session with @sessionid in @pool. The access time of the session
will be updated with gst_rtsp_session_touch().

not exist. g_object_unref() after usage.</doc>
        <return-value>
          <doc xml:whitespace="preserve">the #GstRTSPSession with @sessionid or %NULL when the session did</doc>
          <type name="RTSPSession" c:type="GstRTSPSession*"/>
        </return-value>
        <parameters>
          <parameter name="sessionid" transfer-ownership="none">
            <doc xml:whitespace="preserve">the session id</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_max_sessions"
              c:identifier="gst_rtsp_session_pool_get_max_sessions">
        <doc xml:whitespace="preserve">Get the maximum allowed number of sessions in @pool. 0 means an unlimited
amount of sessions.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">the maximum allowed number of sessions.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
      </method>
      <method name="get_n_sessions"
              c:identifier="gst_rtsp_session_pool_get_n_sessions">
        <doc xml:whitespace="preserve">Get the amount of active sessions in @pool.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">the amount of active sessions in @pool.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
      </method>
      <method name="remove" c:identifier="gst_rtsp_session_pool_remove">
        <doc xml:whitespace="preserve">Remove @sess from @pool, releasing the ref that the pool has on @sess.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">%TRUE if the session was found and removed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="sess" transfer-ownership="none">
            <doc xml:whitespace="preserve">a #GstRTSPSession</doc>
            <type name="RTSPSession" c:type="GstRTSPSession*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_max_sessions"
              c:identifier="gst_rtsp_session_pool_set_max_sessions">
        <doc xml:whitespace="preserve">Configure the maximum allowed number of sessions in @pool to @max.
A value of 0 means an unlimited amount of sessions.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="max" transfer-ownership="none">
            <doc xml:whitespace="preserve">the maximum number of sessions</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <property name="max-sessions" writable="1" transfer-ownership="none">
        <type name="guint"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="max_sessions">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="lock">
        <type name="GLib.Mutex" c:type="GMutex*"/>
      </field>
      <field name="sessions">
        <type name="GLib.HashTable" c:type="GHashTable*">
          <type name="gpointer" c:type="gpointer"/>
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
    </class>
    <record name="RTSPSessionPoolClass"
            c:type="GstRTSPSessionPoolClass"
            glib:is-gtype-struct-for="RTSPSessionPool">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="create_session_id">
        <callback name="create_session_id">
          <return-value transfer-ownership="full">
            <type name="utf8" c:type="gchar*"/>
          </return-value>
          <parameters>
            <parameter name="pool" transfer-ownership="none">
              <type name="RTSPSessionPool" c:type="GstRTSPSessionPool*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <callback name="RTSPSessionPoolFunc" c:type="GstRTSPSessionPoolFunc">
      <doc xml:whitespace="preserve">The function that will be called from the GSource watch on the session pool.

The function will be called when the pool must be cleaned up because one or
more sessions timed out.</doc>
      <return-value transfer-ownership="none">
        <doc xml:whitespace="preserve">%FALSE if the source should be removed.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="pool" transfer-ownership="none">
          <doc xml:whitespace="preserve">a #GstRTSPSessionPool object</doc>
          <type name="RTSPSessionPool" c:type="GstRTSPSessionPool*"/>
        </parameter>
        <parameter name="user_data" transfer-ownership="none" closure="1">
          <doc xml:whitespace="preserve">user data that has been given when registering the handler</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="RTSPSessionStream" c:type="GstRTSPSessionStream">
      <doc xml:whitespace="preserve">Configuration of a stream. A stream is an audio or video stream related to a
media.</doc>
      <field name="trans" writable="1">
        <type name="RTSPMediaTrans" c:type="GstRTSPMediaTrans"/>
      </field>
      <field name="media_stream" writable="1">
        <type name="RTSPMediaStream" c:type="GstRTSPMediaStream*"/>
      </field>
      <method name="set_callbacks"
              c:identifier="gst_rtsp_session_stream_set_callbacks"
              introspectable="0">
        <doc xml:whitespace="preserve">Install callbacks that will be called when data for a stream should be sent
to a client. This is usually used when sending RTP/RTCP over TCP.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="send_rtp" transfer-ownership="none">
            <doc xml:whitespace="preserve">a callback called when RTP should be sent</doc>
            <type name="RTSPSendFunc" c:type="GstRTSPSendFunc"/>
          </parameter>
          <parameter name="send_rtcp" transfer-ownership="none">
            <doc xml:whitespace="preserve">a callback called when RTCP should be sent</doc>
            <type name="RTSPSendFunc" c:type="GstRTSPSendFunc"/>
          </parameter>
          <parameter name="send_rtp_list" transfer-ownership="none">
            <doc xml:whitespace="preserve">a callback called when RTP should be sent</doc>
            <type name="RTSPSendListFunc" c:type="GstRTSPSendListFunc"/>
          </parameter>
          <parameter name="send_rtcp_list"
                     transfer-ownership="none"
                     scope="notified"
                     closure="4"
                     destroy="5">
            <doc xml:whitespace="preserve">a callback called when RTCP should be sent</doc>
            <type name="RTSPSendListFunc" c:type="GstRTSPSendListFunc"/>
          </parameter>
          <parameter name="user_data" transfer-ownership="none">
            <doc xml:whitespace="preserve">user data passed to callbacks</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:whitespace="preserve">called with the user_data when no longer needed.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_keepalive"
              c:identifier="gst_rtsp_session_stream_set_keepalive">
        <doc xml:whitespace="preserve">Install callbacks that will be called when RTCP packets are received from the
receiver of @stream.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="keep_alive"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:whitespace="preserve">a callback called when the receiver is active</doc>
            <type name="RTSPKeepAliveFunc" c:type="GstRTSPKeepAliveFunc"/>
          </parameter>
          <parameter name="user_data" transfer-ownership="none">
            <doc xml:whitespace="preserve">user data passed to callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:whitespace="preserve">called with the user_data when no longer needed.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_transport"
              c:identifier="gst_rtsp_session_stream_set_transport"
              introspectable="0">
        <return-value>
          <type name="GstRtsp.RTSPTransport" c:type="GstRTSPTransport*"/>
        </return-value>
        <parameters>
          <parameter name="ct" transfer-ownership="none">
            <type name="GstRtsp.RTSPTransport" c:type="GstRTSPTransport*"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <record name="SDPInfo" c:type="GstSDPInfo">
      <field name="server_proto" writable="1">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="server_ip" writable="1">
        <type name="utf8" c:type="gchar*"/>
      </field>
    </record>
    <function name="rtsp_params_get" c:identifier="gst_rtsp_params_get">
      <return-value transfer-ownership="none">
        <type name="GstRtsp.RTSPResult" c:type="GstRTSPResult"/>
      </return-value>
      <parameters>
        <parameter name="client" transfer-ownership="none">
          <type name="RTSPClient" c:type="GstRTSPClient*"/>
        </parameter>
        <parameter name="state" transfer-ownership="none">
          <type name="RTSPClientState" c:type="GstRTSPClientState*"/>
        </parameter>
      </parameters>
    </function>
    <function name="rtsp_params_set" c:identifier="gst_rtsp_params_set">
      <return-value transfer-ownership="none">
        <type name="GstRtsp.RTSPResult" c:type="GstRTSPResult"/>
      </return-value>
      <parameters>
        <parameter name="client" transfer-ownership="none">
          <type name="RTSPClient" c:type="GstRTSPClient*"/>
        </parameter>
        <parameter name="state" transfer-ownership="none">
          <type name="RTSPClientState" c:type="GstRTSPClientState*"/>
        </parameter>
      </parameters>
    </function>
    <function name="rtsp_sdp_from_media"
              c:identifier="gst_rtsp_sdp_from_media">
      <doc xml:whitespace="preserve">Add @media specific info to @sdp. @info is used to configure the connection
information in the SDP.</doc>
      <return-value transfer-ownership="none">
        <doc xml:whitespace="preserve">TRUE on success.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="sdp" transfer-ownership="none">
          <doc xml:whitespace="preserve">a #GstSDPMessage</doc>
          <type name="GstSdp.SDPMessage" c:type="GstSDPMessage*"/>
        </parameter>
        <parameter name="info" transfer-ownership="none">
          <doc xml:whitespace="preserve">info</doc>
          <type name="SDPInfo" c:type="GstSDPInfo*"/>
        </parameter>
        <parameter name="media" transfer-ownership="none">
          <doc xml:whitespace="preserve">a #GstRTSPMedia</doc>
          <type name="RTSPMedia" c:type="GstRTSPMedia*"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>