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
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
|
=== release 1.15.2 ===
2019-02-26 11:58:53 +0000 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
* meson.build:
Release 1.15.2
2019-02-19 09:45:08 +0100 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-media.c:
* tests/check/gst/client.c:
rtsp-media: Fix multicast use case with common media
Use case
client 1: SETUP
client 1: PLAY
client 2: SETUP
client 1: TEARDOWN
client 2: PLAY
client 2: TEARDOWN
2019-01-16 12:59:11 +0100 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-server: remove recursive behavior
Introduce a threadpool to send rtp and rtcp to avoid recursive behavior.
2019-01-25 14:22:42 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Only allow to set either a send_func or send_messages_func but not both
And route all messages through the send_func if no send_messages_func
was provided.
We otherwise break backwards compatibility.
2018-09-17 22:18:46 +0300 Sebastian Dröge <sebastian@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-stream.c:
rtsp-client: Add support for sending buffer lists directly
Fixes https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/29
2018-06-27 12:17:07 +0200 Sebastian Dröge <sebastian@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-sink/gstrtspclientsink.c:
rtsp-server: Add support for buffer lists
This adds new functions for passing buffer lists through the different
layers without breaking API/ABI, and enables the appsink to actually
provide buffer lists.
This should already reduce CPU usage and potentially context switches a
bit by passing a whole buffer list from the appsink instead of
individual buffers. As a next step it would be necessary to
a) Add support for a vector of data for the GstRTSPMessage body
b) Add support for sending multiple messages at once to the
GstRTSPWatch and let it be handled internally
c) Adding API to GOutputStream that works like writev()
Fixes https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/29
2018-12-04 14:12:04 +0100 Benjamin Berg <bberg@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: Fix crash in close handler
The close handler could trigger a crash because it invalidated the
watch_context while still leaving a source attached to it which would be
cleaned up at a later point.
2019-01-29 14:42:35 +0100 Edward Hervey <edward@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Use cached address when allocating sockets
If an address/port was previously decided upon (ex: multicast in the
SDP), then use that instead of re-creating another one
Fixes https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/57
2018-12-27 11:28:17 +0100 Lars Wiréen <larswi@axis.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Fix race codition in finish_unprepare
The previous fix for race condition around finish_unprepare where the
function could be called twice assumed that the status wouldn't change
during execution of the function. This assumption is incorrect as the
state may change, for example if an error message arrives from the
pipeline bus.
Instead a flag keeping track on whether the finish_unprepare function
is currently executing is introduced and checked.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/59
=== release 1.15.1 ===
2019-01-17 02:26:48 +0000 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
* meson.build:
Release 1.15.1
2018-12-05 15:07:25 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
Add source elements to the pipeline before activation
In plug_src we changed the element state before adding it to
the owner container. This prevented the pipeline from intercepting
a GST_STREAM_STATUS_TYPE_CREATE message from the pad in order
to assign a custom task pool.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/53
2018-12-05 17:24:59 -0300 Thibault Saunier <tsaunier@igalia.com>
* common:
Automatic update of common submodule
From ed78bee to 59cb678
2018-11-20 19:12:09 +0100 Ingo Randolf <ingo.randolf@servus.at>
* examples/test-appsrc.c:
examples: test-appsrc: fix coding style error
2018-11-20 11:07:48 +0100 Ingo Randolf <ingo.randolf@servus.at>
* examples/test-appsrc.c:
examples: test-appsrc: fix buffer leak
2018-11-17 19:19:54 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Update priv->blocked when linked streams are unblocked.
Media is considered to be blocked when all streams that belong to
that media are blocked.
This patch solves the problem of inconsistent updates of
priv->blocked that are not synchronized with the media state.
2018-11-17 18:18:27 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Don't block streams before seeking
Before the seek operation is performed on media, it's required that
its pipeline is prepared <=> the pipeline is in the PAUSED state.
At this stage, all transport parts (transport sinks) have been successfully
added to the pipeline and there is no need for blocking the streams.
2018-11-17 16:11:53 +0100 Patricia Muscalu <patricia@axis.com>
* tests/check/gst/rtspserver.c:
tests: rtspserver: Add shared media test case for TCP
2018-11-06 18:21:54 +0100 Linus Svensson <linussn@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Use seqnum-offset for rtpinfo
The sequence number in the rtpinfo is supposed to be the first RTP
sequence number. The "seqnum" property on a payloader is supposed to be
the number from the last processed RTP packet. The sequence number for
payloaders that inherit gstrtpbasepayload will not be correct in case of
buffer lists. In order to fix the seqnum property on the payloaders
gst-rtsp-server must get the sequence number for rtpinfo elsewhere and
"seqnum-offset" from the "stats" property contains the value of the
very first RTP packet in a stream. The server will, however, try to look
at the last simple in the sink element and only use properties on the
payloader in case there no sink elements yet, and by looking at the last
sample of the sink gives the server full control of which RTP packet it
looks at. If the payloader does not have the "stats" property, "seqnum"
is still used since "seqnum-offset" is only present in as part of
"stats" and this is still an issue not solved with this patch.
Needed for gst-plugins-base!17
2018-11-06 18:10:56 +0100 Linus Svensson <linussn@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Plug memory leak
Attaching a GSource to a context will increase the refcount. The idle
source will never be free'd since the initial reference is never
dropped.
2018-11-12 16:06:39 +0200 Jordan Petridis <jordan@centricular.com>
* .gitlab-ci.yml:
Add Gitlab CI configuration
This commit adds a .gitlab-ci.yml file, which uses a feature
to fetch the config from a centralized repository. The intent is
to have all the gstreamer modules use the same configuration.
The configuration is currently hosted at the gst-ci repository
under the gitlab/ci_template.yml path.
Part of https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/29
2018-11-05 05:56:35 +0000 Matthew Waters <matthew@centricular.com>
* .gitmodules:
* gst-rtsp-server.doap:
Update git locations to gitlab
2018-11-01 14:20:16 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/meson.build:
meson: add new onvif types
2018-11-01 12:49:51 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/meson.build:
Add ONVIF subclass headers to the installed headers in meson.build too
2018-11-01 11:29:01 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-server-object.h:
* gst/rtsp-server/rtsp-server.h:
rtsp-server: Declare GstRTSPServer struct before anything else
It's needed by all kinds of other headers, including the ones that are
required for defining the GstRTSPServer struct itself and its API.
2018-11-01 10:23:02 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-onvif-client.h:
* gst/rtsp-server/rtsp-onvif-media-factory.h:
* gst/rtsp-server/rtsp-onvif-media.h:
* gst/rtsp-server/rtsp-onvif-server.h:
Mark all ONVIF-specific subclasses as Since 1.14
2018-11-01 10:18:22 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/meson.build:
* gst/rtsp-server/rtsp-context.h:
* gst/rtsp-server/rtsp-onvif-server.c:
* gst/rtsp-server/rtsp-onvif-server.h:
* gst/rtsp-server/rtsp-server-object.h:
* gst/rtsp-server/rtsp-server-prelude.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session.h:
Include ONVIF types from single-include rtsp-server.h
... by actually making it a single-include header and moving everything
related to the GstRTSPServer type to rtsp-server-object.h instead.
Otherwise there are too many circular includes.
https://bugzilla.gnome.org/show_bug.cgi?id=797361
2018-10-18 07:25:05 +0200 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-latency-bin.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-stream: use idle source in on_message_sent
When the underlying layers are running on_message_sent, this sometimes
causes the underlying layer to send more data, which will cause the
underlying layer to run callback on_message_sent again. This can go on
and on.
To break this chain, we introduce an idle source that takes care of
sending data if there are more to send when running callback
https://bugzilla.gnome.org/show_bug.cgi?id=797289
2018-10-20 16:14:53 +0200 Edward Hervey <edward@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Remove timeout GSource on cleanup
Avoids ending up with races where a timeout would still be around
*after* a client was gone. This could happen rather easily in
RTSP-over-HTTP mode on a local connection, where each RTSP message
would be sent as a different HTTP connection with the same tunnelid.
If not properly removed, that timeout would then try to free again
a client (and its contents).
2018-10-04 14:31:59 +0100 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/Makefile.am:
autotools: fix distcheck
2018-09-12 11:55:15 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/meson.build:
* gst/rtsp-server/rtsp-latency-bin.c:
* gst/rtsp-server/rtsp-latency-bin.h:
* gst/rtsp-server/rtsp-onvif-media.c:
onvif: encapsulate onvif part into a bin
...and thus do not let onvif affect pipelines latency
https://bugzilla.gnome.org/show_bug.cgi?id=797174
2018-09-27 19:57:13 +0200 Patricia Muscalu <patricia@dovakhiin.com>
* tests/check/gst/client.c:
tests: client: Avoid bind() failures in tests
https://bugzilla.gnome.org/show_bug.cgi?id=797059
2018-09-06 16:17:33 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
* tests/check/gst/client.c:
* tests/check/gst/mediafactory.c:
New property for socket binding to mcast addresses
By default the multicast sockets are bound to INADDR_ANY,
as it's not allowed to bind sockets to multicast addresses
in Windows. This default behaviour can be changed by setting
bind-mcast-address property on the media-factory object.
https://bugzilla.gnome.org/show_bug.cgi?id=797059
2018-09-24 09:36:21 +0100 Tim-Philipp Müller <tim@centricular.com>
* configure.ac:
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/meson.build:
* gst/rtsp-server/rtsp-address-pool.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-context.c:
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-mount-points.c:
* gst/rtsp-server/rtsp-params.c:
* gst/rtsp-server/rtsp-permissions.c:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-server-prelude.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-thread-pool.c:
* gst/rtsp-server/rtsp-token.c:
* meson.build:
libs: fix API export/import and 'inconsistent linkage' on MSVC
Export rtsp-server library API in headers when we're building the
library itself, otherwise import the API from the headers.
This fixes linker warnings on Windows when building with MSVC.
Fix up some missing config.h includes when building the lib which
is needed to get the export api define from config.h
https://bugzilla.gnome.org/show_bug.cgi?id=797185
2018-09-19 14:31:56 +0200 Edward Hervey <edward@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
rtsp-media-factory: Add missing break statements
This resulted in warnings/assertions whenever one accessed the
max-mcast-ttl property.
CID #1439515
CID #1439523
2018-09-19 12:21:30 +0100 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
* meson_options.txt:
meson: add gobject-cast-checks, glib-asserts, glib-checks options
2018-09-19 12:17:57 +0100 Tim-Philipp Müller <tim@centricular.com>
* gst/meson.build:
* meson_options.txt:
* tests/check/meson.build:
meson: add option to disable build of rtspclientsink plugin
2018-09-19 12:10:14 +0100 Tim-Philipp Müller <tim@centricular.com>
* meson_options.txt:
meson: re-arrange options
2018-09-01 11:21:15 +0530 Nirbheek Chauhan <nirbheek@centricular.com>
* meson.build:
* meson_options.txt:
* tests/check/meson.build:
* tests/meson.build:
meson: Use feature option for tests option
This was somehow missed the last time around.
2018-08-31 14:42:15 +0530 Nirbheek Chauhan <nirbheek@centricular.com>
* gst/rtsp-server/meson.build:
* meson.build:
meson: Maintain macOS ABI through dylib versioning
Requires Meson 0.48, but the feature will be ignored on older versions
so it's safe to add it without bumping the requirement.
Documentation:
https://github.com/mesonbuild/meson/blob/master/docs/markdown/Reference-manual.md#shared_library
2018-08-31 17:20:47 +1000 Matthew Waters <matthew@centricular.com>
* gst/rtsp-sink/meson.build:
* meson.build:
meson: add pkg-config file for the rtspclientsink plugin
2018-08-17 09:54:27 +0200 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-client.c:
* tests/check/gst/client.c:
rtsp-client: Avoid reuse of channel numbers for interleaved
If a (strange) client would reuse interleaved channel numbers in
multiple SETUP requests, we should not accept them. The channel
numbers are used for looking up stream transports in the
priv->transports hash table, and transports disappear from the table
if channel numbers are reused.
RFC 7826 (RTSP 2.0), Section 18.54, clarifies that it is OK for the
server to change the channel numbers suggested by the client.
https://bugzilla.gnome.org/show_bug.cgi?id=796988
2018-08-17 09:54:27 +0200 David Svensson Fors <davidsf@axis.com>
* tests/check/gst/client.c:
rtsp-client: Add unit test of SETUP for RTSP/RTP/TCP
Allow regex for matching transport header against expected pattern.
https://bugzilla.gnome.org/show_bug.cgi?id=796988
2018-08-15 18:57:27 +0530 Nirbheek Chauhan <nirbheek@centricular.com>
* tests/check/meson.build:
meson: There is no gstreamer-plugins-good-1.0.pc
There is no installed version of that, only an uninstalled version.
2018-08-14 14:31:55 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* tests/check/gst/stream.c:
Fix indentation again
2018-07-26 12:01:16 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
* tests/check/gst/client.c:
* tests/check/gst/stream.c:
stream: Added a list of multicast client addresses
When media is shared, the same media stream can be sent
to multiple multicast groups. Currently, there is no API
to retrieve multicast addresses from the stream.
When calling gst_rtsp_stream_get_multicast_address() function,
only the first multicast address is returned.
With this patch, each multicast destination requested in SETUP
will be stored in an internal list (call to
gst_rtsp_stream_add_multicast_client_address()).
The list of multicast groups requested by the clients can be
retrieved by calling gst_rtsp_stream_get_multicast_client_addresses().
There still exist some problems with the current implementation
in the multicast case:
1) The receiving part is currently only configured with
regard to the first multicast client (see
https://bugzilla.gnome.org/show_bug.cgi?id=796917).
2) Secondly, of security reasons, some constraints should be
put on the requested multicast destinations (see
https://bugzilla.gnome.org/show_bug.cgi?id=796916).
Change-Id: I6b060746e472a0734cc2fd828ffe4ea2956733ea
https://bugzilla.gnome.org/show_bug.cgi?id=793441
2018-07-25 15:33:18 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
* tests/check/gst/client.c:
stream: Choose the maximum ttl value provided by multicast clients
The maximum ttl value provided so far by the multicast clients
will be chosen and reported in the response to the current
client request.
Change-Id: I5408646e3b5a0a224d907ae215bdea60c4f1905f
https://bugzilla.gnome.org/show_bug.cgi?id=793441
2018-02-23 14:34:32 +0100 Patricia Muscalu <patricia@dovakhiin.com>
* gst/rtsp-server/rtsp-stream.c:
* tests/check/gst/client.c:
rtsp-stream: Don't require address pool in the transport specific case
If "transport.client-settings" parameter is set to true, the client is
allowed to specify destination, ports and ttl.
There is no need for pre-configured address pool.
Change-Id: I6ae578fb5164d78e8ec1e2ee82dc4eaacd0912d1
https://bugzilla.gnome.org/show_bug.cgi?id=793441
2018-07-24 14:02:40 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-client.c:
* tests/check/gst/client.c:
client: Don't reserve multicast address in the client setting case
When two multicast clients request specific transport
configurations, and "transport.client-settings" parameter is
set to true, it's wrong to actually require that these two
clients request the same multicast group.
Removed test_client_multicast_invalid_transport_specific test
cases as they wrongly require that the requested destination
address is supposed to be present in the address pool, also in
the case when "transport.client-settings" parameter is set to true.
Change-Id: I4580182ef35996caf644686d6139f72ec599c9fa
https://bugzilla.gnome.org/show_bug.cgi?id=793441
2018-07-24 09:35:46 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
* tests/check/gst/mediafactory.c:
Add new API for setting/getting maximum multicast ttl value
Change-Id: I5ef4758188c14785e17fb8fbf42a3dc0cb054233
https://bugzilla.gnome.org/show_bug.cgi?id=793441
2018-07-31 21:17:41 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: avoid duplicating the first multicast client
In dcb4533fedae3ac62bc25a916eb95927b7d69aec , we made it so
clients were dynamically added and removed to the multicast
udp sinks, as such we should no longer add a first client in
set_multicast_socket_for_udpsink
https://bugzilla.gnome.org/show_bug.cgi?id=793441
2018-08-14 14:25:53 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
Revert "rtsp-stream: avoid duplicating the first multicast client"
This reverts commit 33570944401747f44d8ebfec535350651413fb92.
Commits where accidentially squashed together
2018-08-14 14:25:42 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
* tests/check/gst/client.c:
* tests/check/gst/mediafactory.c:
Revert "Add new API for setting/getting maximum multicast ttl value"
This reverts commit 7f0ae77e400fb8a0462a76a5dd2e63e12c4a2e52.
Commits where accidentially squashed together
2018-08-14 14:25:37 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
* tests/check/gst/client.c:
Revert "rtsp-stream: Don't require address pool in the transport specific case"
This reverts commit a9db3e7f092cfeb5475e9aa24b1e91906c141d52.
Commits where accidentially squashed together
2018-08-14 14:25:14 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
* tests/check/gst/client.c:
* tests/check/gst/stream.c:
Revert "stream: Choose the maximum ttl value provided by multicast clients"
This reverts commit 499e437e501215849d24cdaa157e0edf4de097d0.
Commits where accidentially squashed together
2018-08-14 14:10:56 +0300 Sebastian Dröge <sebastian@centricular.com>
* examples/test-auth-digest.c:
examples: Fix indentation
2018-07-25 15:33:18 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
* tests/check/gst/client.c:
* tests/check/gst/stream.c:
stream: Choose the maximum ttl value provided by multicast clients
The maximum ttl value provided so far by the multicast clients
will be chosen and reported in the response to the current
client request.
https://bugzilla.gnome.org/show_bug.cgi?id=793441
2018-02-23 14:34:32 +0100 Patricia Muscalu <patricia@dovakhiin.com>
* gst/rtsp-server/rtsp-stream.c:
* tests/check/gst/client.c:
rtsp-stream: Don't require address pool in the transport specific case
If "transport.client-settings" parameter is set to true, the client is
allowed to specify destination, ports and ttl.
There is no need for pre-configured address pool.
https://bugzilla.gnome.org/show_bug.cgi?id=793441
2018-07-24 09:35:46 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
* tests/check/gst/client.c:
* tests/check/gst/mediafactory.c:
Add new API for setting/getting maximum multicast ttl value
https://bugzilla.gnome.org/show_bug.cgi?id=793441
2018-07-31 21:17:41 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: avoid duplicating the first multicast client
In dcb4533fedae3ac62bc25a916eb95927b7d69aec , we made it so
clients were dynamically added and removed to the multicast
udp sinks, as such we should no longer add a first client in
set_multicast_socket_for_udpsink
https://bugzilla.gnome.org/show_bug.cgi?id=793441
2018-08-06 15:33:04 -0400 Thibault Saunier <tsaunier@igalia.com>
* gst/rtsp-server/Makefile.am:
rtsp-server: Add gstreamer-base gir dir in autotools
2018-07-25 19:54:55 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
rtsp-client: always allocate both IPV4 and IPV6 sockets
multiudpsink does not support setting the socket* properties
after it has started, which meant that rtsp-server could no
longer serve on both IPV4 and IPV6 sockets since the patches
from https://bugzilla.gnome.org/show_bug.cgi?id=757488 were
merged.
When first connecting an IPV6 client then an IPV4 client,
multiudpsink fell back to using the IPV6 socket.
When first connecting an IPV4 client, then an IPV6 client,
multiudpsink errored out, released the IPV4 socket, then
crashed when trying to send a message on NULL nevertheless,
that is however a separate issue.
This could probably be fixed by handling the setting of
sockets in multiudpsink after it has started, that will
however be a much more significant effort.
For now, this commit simply partially reverts the behaviour
of rtsp-stream: it will continue to only create the udpsinks
when needed, as was the case since the patches were merged,
it will however when creating them, always allocate both
sockets and set them on the sink before it starts, as was
the case prior to the patches.
Transport configuration will only error out if the allocation
of UDP sockets fails for the actual client's family, this
also downgrades the GST_ERRORs in alloc_ports_one_family
to GST_WARNINGs, as failing to allocate is no longer
necessarily fatal.
https://bugzilla.gnome.org/show_bug.cgi?id=796875
2018-07-25 17:22:20 +0530 Nirbheek Chauhan <nirbheek@centricular.com>
* meson.build:
* meson_options.txt:
meson: Convert common options to feature options
These are necessary for gst-build to set options correctly. The
remaining automagic option is cgroup support in examples.
https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-23 18:03:51 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Slightly simplify locking
2018-06-28 11:22:21 +0200 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.c:
Limit queued TCP data messages to one per stream
Before, the watch backlog size in GstRTSPClient was changed
dynamically between unlimited and a fixed size, trying to avoid both
unlimited memory usage and deadlocks while waiting for place in the
queue. (Some of the deadlocks were described in a long comment in
handle_request().)
In the previous commit, we changed to a fixed backlog size of 100.
This is possible, because we now handle RTP/RTCP data messages differently
from RTSP request/response messages.
The data messages are messages tunneled over TCP. We allow at most one
queued data message per stream in GstRTSPClient at a time, and
successfully sent data messages are acked by sending a "message-sent"
callback from the GstStreamTransport. Until that ack comes, the
GstRTSPStream does not call pull_sample() on its appsink, and
therefore the streaming thread in the pipeline will not be blocked
inside GstRTSPClient, waiting for a place in the queue.
pull_sample() is called when we have both an ack and a "new-sample"
signal from the appsink. Then, we know there is a buffer to write.
RTSP request/response messages are not acked in the same way as data
messages. The rest of the 100 places in the queue are used for
them. If the queue becomes full of request/response messages, we
return an error and close the connection to the client.
Change-Id: I275310bc90a219ceb2473c098261acc78be84c97
2018-06-28 11:22:13 +0200 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Use fixed backlog size
Change to using a fixed backlog size WATCH_BACKLOG_SIZE.
Preparation for the next commit, which changes to a different way of
avoiding both deadlocks and unlimited memory usage with the watch
backlog.
2018-07-16 21:57:08 +0200 Carlos Rafael Giani <dv@pseudoterminal.org>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: unref clock (if set) when finalizing
https://bugzilla.gnome.org/show_bug.cgi?id=796814
2018-07-16 21:56:44 +0200 Carlos Rafael Giani <dv@pseudoterminal.org>
* docs/libs/gst-rtsp-server-sections.txt:
rtsp-media: add gst_rtsp_media_*_set_clock to docs
https://bugzilla.gnome.org/show_bug.cgi?id=796814
2018-07-12 19:01:54 +0100 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
media-factory: unref old clock when setting new clock
https://bugzilla.gnome.org/show_bug.cgi?id=796724
2018-06-29 15:20:57 -0700 Brendan Shanks <brendan.shanks@teradek.com>
* gst/rtsp-server/rtsp-media-factory.c:
media-factory: unref clock in finalize
https://bugzilla.gnome.org/show_bug.cgi?id=796724
2018-07-12 18:57:21 +0100 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-onvif-media.c:
rtsp-onvif-media: fix g-ir-scanner warnings
2018-07-10 23:56:23 +0100 Tim-Philipp Müller <tim@centricular.com>
* .gitignore:
.gitignore: add another example binary
2018-07-10 23:55:20 +0100 Tim-Philipp Müller <tim@centricular.com>
* examples/meson.build:
meson: add new test-appsrc2 example to meson build
2018-07-10 23:53:41 +0100 Tim-Philipp Müller <tim@centricular.com>
* examples/Makefile.am:
examples: fix build of new test-appsrc2 example
Need to link against libgstapp-1.0.
2018-07-11 01:25:51 +1000 Jan Schmidt <jan@centricular.com>
* examples/.gitignore:
* examples/Makefile.am:
* examples/test-appsrc2.c:
examples: Add test-appsrc2
Add an example of feeding both audio and video into an RTSP
pipeline via appsrc.
2016-01-08 18:12:14 -0500 Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
* gst/rtsp-server/rtsp-client.c:
client: Strip transport parts as whitespaces could be around commas
https://bugzilla.gnome.org/show_bug.cgi?id=758428
2018-06-27 08:30:42 +0200 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: avoid pushing data on unlinked udpsrc pad during setup
Fix race when setting up source elements.
Since we set the source element(s) to PLAYING state before hooking
them up to the downstream funnel, it's possible for the source element
to receive packets before we actually get to linking it to the funnel,
in which case buffers would be pushed out on an unlinked pad, causing
it to error out and stop receiving more data.
We fix this by blocking the source's srcpad until we have linked it.
https://bugzilla.gnome.org/show_bug.cgi?id=796160
2018-03-21 10:56:51 +0100 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Fix mismatch between allowed and configured protocols
https://bugzilla.gnome.org/show_bug.cgi?id=796679
2017-02-01 09:44:50 +0100 Ulf Olsson <ulfo@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Emit a signal when the SRTP decoder is created
https://bugzilla.gnome.org/show_bug.cgi?id=778080
2018-03-13 11:10:35 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Don't require presence of sinks in _get_*_socket()
Transport specific sink elements are added to the pipeline
in PLAY request and sockets are already created in SETUP so
it's actually wrong to require the presence of sinks in
_get_*_socket() functions.
https://bugzilla.gnome.org/show_bug.cgi?id=793441
2018-02-14 10:41:02 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Update transport for multicast clients as well
If a multicast client requests different transport settings
than the existing one make sure that this new transport
configuruation is propagated to the multicast udp sink.
https://bugzilla.gnome.org/show_bug.cgi?id=793441
2018-02-13 11:04:36 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Set the multicast TTL parameter on multicast udp sinks
And not on unicast udp sinks
https://bugzilla.gnome.org/show_bug.cgi?id=793441
2018-06-24 12:44:26 +0200 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-address-pool.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-mount-points.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-thread-pool.c:
Update for g_type_class_add_private() deprecation in recent GLib
2018-06-24 12:45:49 +0200 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-stream.c:
Fix indentation
2018-06-22 23:17:08 +1000 Jan Schmidt <jan@centricular.com>
* examples/Makefile.am:
* examples/test-video-disconnect.c:
examples: Add test-video-disconnect example
Simple example which cuts off all clients 10 seconds
after the first one connects.
2018-06-20 04:37:11 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
* examples/test-auth-digest.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
rtsp-auth: Add support for parsing .htdigest files
Passwords are usually not stored in clear text, but instead
stored already hashed in a .htdigest file.
Add support for parsing such files, add API to allow setting
a custom realm in RTSPAuth, and update the digest example.
https://bugzilla.gnome.org/show_bug.cgi?id=796637
2018-06-19 14:53:02 +1000 Matthew Waters <matthew@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
* gst/rtsp-sink/gstrtspclientsink.h:
rtspclientsink: fix waiting for multiple streams
We were previously only ever waiting for a single stream to notify it's
blocked status through GstRTSPStreamBlocking. Actually count streams to
wait for.
Fixes rtspclientsink sending SDP's without out some of the input
streams.
https://bugzilla.gnome.org/show_bug.cgi?id=796624
2018-06-20 04:30:04 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
docs: add missing auth methods
2018-06-20 00:10:18 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: only create funnel if it didn't exist already.
This precented using multiple protocols for the same stream.
https://bugzilla.gnome.org/show_bug.cgi?id=796634
2018-06-20 01:35:47 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* examples/meson.build:
meson: build auth-digest example
2018-06-05 08:44:44 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-stream-transport.c:
Get payloader stats only for the sending streams
Get/set payloader properties only for streams that actually
contain a payloader element.
https://bugzilla.gnome.org/show_bug.cgi?id=796523
2018-05-18 14:53:49 +0200 Edward Hervey <edward@centricular.com>
* gst/rtsp-server/Makefile.am:
Makefile: Don't hardcode libtool for g-i build
Similar to the other commits in core/base/bad
2018-05-08 14:13:31 +0200 Johan Bjäreholt <johanbj@axis.com>
* gst/rtsp-server/rtsp-onvif-media-factory.h:
rtsp-onvif-media-factory: export gst_rtsp_onvif_media_factory_requires_backchannel
https://bugzilla.gnome.org/show_bug.cgi?id=796229
2018-05-09 04:09:02 +1000 Jan Schmidt <jan@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: Don't deadlock in preroll on early close
If the connection is closed very early, the flushing
marker might not get set and rtspclientsink can get
deadlocked waiting for preroll forever.
https://bugzilla.gnome.org/show_bug.cgi?id=786961
2018-05-05 19:51:52 +0530 Nirbheek Chauhan <nirbheek@centricular.com>
* meson.build:
* meson_options.txt:
meson: Update option names to omit disable_ and with- prefixes
Also yield common options to the outer project (gst-build in our case)
so that they don't have to be set manually.
2018-04-25 11:00:32 +0100 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
meson: use -Wl,-Bsymbolic-functions where supported
Just like the autotools build.
2018-04-22 20:09:01 +0100 Tim-Philipp Müller <tim@centricular.com>
* configure.ac:
* tests/check/Makefile.am:
configure: check for -good and -bad plugins only in uninstalled setup
Avoids confusing configure messages looking or a -good .pc file
that doesn't exist.
Also use plugindir variables that common macros set while at it.
https://bugzilla.gnome.org/show_bug.cgi?id=795466
2018-04-17 11:03:11 +0200 Joakim Johansson <joakimj@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Fix session timeout
When streaming data over TCP then is not the keep-alive
functionality working.
The reason is that the function do_send_data have changed
to boolean but the code is still checking the received result
from send_func with GST_RTSP_OK.
The result is that a successful send_func will always lead to
that do_send_data is returning false and the keep-alive will
not be updated.
https://bugzilla.gnome.org/show_bug.cgi?id=795321
2018-04-02 22:49:35 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
* gst/rtsp-sink/gstrtspclientsink.c:
* gst/rtsp-sink/gstrtspclientsink.h:
Implement support for ULP Forward Error Correction
In this initial commit, interface is only exposed for RECORD,
further work will be needed in rtspsrc to support this for
PLAY.
https://bugzilla.gnome.org/show_bug.cgi?id=794911
2018-04-17 17:47:30 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-onvif-media.c:
Revert "rtsp-server: Switch around sendonly/recvonly attributes"
This reverts commit 3d275b1345b76151418e3f56ed014d9089ac1a57.
While RFC 3264 (SDP) says that sendonly/recvonly are from the point of view of
the requester, the actual RTSP RFCs (RFC 2326 / 7826) disagree and say
the opposite, just like the ONVIF standard.
Let's follow those RFCs as we're doing RTSP here, and add a property at
a later time if needed to switch to the SDP RFC behaviour.
https://bugzilla.gnome.org/show_bug.cgi?id=793964
2018-04-16 10:53:52 +0100 Tim-Philipp Müller <tim@centricular.com>
* common:
Automatic update of common submodule
From 3fa2c9e to ed78bee
2018-04-04 10:06:06 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream.c:
* tests/check/gst/rtspclientsink.c:
gst: Run everything through gst-indent again
2018-04-03 08:57:47 +0200 Branko Subasic <branko@axis.com>
* gst/rtsp-server/rtsp-media.c:
* tests/check/gst/media.c:
rtsp-media: query the position on active streams if media is complete
If the media is complete, i.e. one or more streams have been configured
with sinks, then we want to query the position on those streams only.
A query on an incomplete stream may return a position that originates from
an earlier preroll.
https://bugzilla.gnome.org/show_bug.cgi?id=794964
2018-04-02 12:35:04 +0100 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: make sure not to use freed string
Set transport string to NULL after freeing it, so that
at worst we get a NULL pointer if constructing a new
transport string fails (which shouldn't really fail here).
Also check return value of that, just in case.
CID 1433768.
2018-03-30 23:34:01 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: do not free string passed to take_header
2018-03-30 23:10:10 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: do not take lock in request_aux_receiver
Added it right before pushing the previous commit, it is
incorrect and deadlocks because this function gets called
from the join_bin thread, which already holds the lock,
that's the reason why request_aux_sender didn't take the
lock either.
2018-03-29 22:49:26 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-server: add API to enable retransmission requests
"do-retransmission" was previously set when rtx-time != 0,
which made no sense as do-retransmission is used to enable
the sending of retransmission requests, where as rtx-time
is used by the peer to enable storing of buffers in order
to respond to retransmission requests.
rtsp-media now also provides a callback for the
request-aux-receiver signal.
https://bugzilla.gnome.org/show_bug.cgi?id=794822
2018-03-29 16:18:42 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: add rtx ssrc to mikey's crypto sessions
https://bugzilla.gnome.org/show_bug.cgi?id=794813
2018-03-29 16:15:45 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: Handle the KeyMgmt header in ANNOUNCE response
This in order to be able to decrypt the RTCP backchannel
https://bugzilla.gnome.org/show_bug.cgi?id=794813
2018-03-29 16:12:26 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Send KeyMgmt header in ANNOUNCE response
When sending back an encrypted RTCP back channel, it is useful
for the client to know the encryption key.
https://bugzilla.gnome.org/show_bug.cgi?id=794813
2018-03-29 16:06:31 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-stream: extract handle_keymgmt from rtsp-client
rtspclientsink will also need to parse KeyMgmt headers
sent by the server to decrypt the RTCP backchannel stream
https://bugzilla.gnome.org/show_bug.cgi?id=794813
2018-03-29 02:51:02 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
* tests/check/gst/rtspclientsink.c:
rtspclientsink: Fix client ports for the RTCP backchannel
This was broken since the work for delayed transport creation
was merged: the creation of the transports string depends on
calling stream_get_server_port, which only starts returning
something meaningful after a call to stream_allocate_udp_sockets
has been made, this function expects a transport that we parse
from the transport string ...
Significant refactoring is in order, but does not look entirely
trivial, for now we put a band aid on and create a second transport
string after the stream has been completed, to pass it in
the request headers instead of the previous, incomplete one.
https://bugzilla.gnome.org/show_bug.cgi?id=794789
2018-02-15 13:26:16 +0100 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client:Error handling when equal http session cookie
There are some clients that are sending same session cookie on random
basis.
https://bugzilla.gnome.org/show_bug.cgi?id=753616
2018-03-20 16:21:37 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media-factory-uri.c:
rtsp-media-factory-uri: Fix compilation with latest GLib
rtsp-media-factory-uri.c: In function ‘rtsp_media_factory_uri_create_element’:
rtsp-media-factory-uri.c:621:17: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
data->factory = g_object_ref (factory);
^
2018-03-20 10:21:36 +0000 Tim-Philipp Müller <tim@centricular.com>
* NEWS:
* RELEASE:
* configure.ac:
* meson.build:
Back to development
=== release 1.14.0 ===
2018-03-19 20:27:04 +0000 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
* meson.build:
Release 1.14.0
=== release 1.13.91 ===
2018-03-13 19:28:33 +0000 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
* meson.build:
Release 1.13.91
2018-03-13 13:30:41 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/meson.build:
* gst/rtsp-server/rtsp-address-pool.h:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-context.h:
* gst/rtsp-server/rtsp-media-factory-uri.h:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-mount-points.h:
* gst/rtsp-server/rtsp-onvif-client.h:
* gst/rtsp-server/rtsp-onvif-media-factory.h:
* gst/rtsp-server/rtsp-onvif-media.h:
* gst/rtsp-server/rtsp-onvif-server.h:
* gst/rtsp-server/rtsp-params.h:
* gst/rtsp-server/rtsp-permissions.h:
* gst/rtsp-server/rtsp-sdp.h:
* gst/rtsp-server/rtsp-server-prelude.h:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-media.h:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.h:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.h:
* gst/rtsp-server/rtsp-thread-pool.h:
* gst/rtsp-server/rtsp-token.h:
rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API
We need different export decorators for the different libs.
For now no actual change though, just rename before the release,
and add prelude headers to define the new decorator to GST_EXPORT.
2018-03-07 12:20:05 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-onvif-media-factory.c:
rtsp-onvif-media-factory: Document that backchannel pipelines must end with async=false sinks
https://bugzilla.gnome.org/show_bug.cgi?id=794143
=== release 1.13.90 ===
2018-03-03 22:49:34 +0000 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
* meson.build:
Release 1.13.90
2018-03-02 16:24:23 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-permissions.c:
permissions: add Since tags and example for new API
2018-03-02 01:36:23 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-permissions.c:
* gst/rtsp-server/rtsp-permissions.h:
* tests/check/gst/permissions.c:
permissions: more bindings-friendly API
https://bugzilla.gnome.org/show_bug.cgi?id=793975
2018-03-01 19:28:16 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* meson.build:
meson: enable more warnings
2018-02-28 21:12:43 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Place netaddress meta on packets received via TCP
This allows us to later map signals from rtpbin/rtpsource back to the
corresponding stream transport, and allows to do keep-alive based on
RTCP packets in case of TCP media transport.
https://bugzilla.gnome.org/show_bug.cgi?id=789646
2018-02-27 20:34:49 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: if OPEN failed, unqueue next command
As READY_TO_PAUSED can no longer return async, the RECORD
command will be queued before the OPEN command fails
(for example in case the server could not be connected),
and record then waits for ever.
https://bugzilla.gnome.org/show_bug.cgi?id=793896
2018-02-26 22:59:17 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: fix retrieval of custom payloader caps
If a bin is passed as the custom payloader, the caps of
its factory will be empty, the correct way to obtain the caps
is to query its sinkpad.
2018-02-26 22:59:00 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: fix extra unref of custom payloader
2018-02-26 22:57:39 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rspclientsink: fix recent code indentation
2018-02-26 20:27:57 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: add missing get_type prototype
2018-02-24 03:52:15 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: allow setting payloader as pad property
This was a FIXME item, and can be quite useful, also
allowing to specify payloader properties from the command
line, which is always nice.
https://bugzilla.gnome.org/show_bug.cgi?id=793776
2018-02-26 14:16:54 +0100 Carlos Rafael Giani <dv@pseudoterminal.org>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Replace g_print() log line
https://bugzilla.gnome.org/show_bug.cgi?id=793838
2018-02-22 20:17:33 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-media.c:
* tests/check/gst/rtspclientsink.c:
rtsp-media: fix RECORD getting stuck
The test_record case was working because async=false had
been added in https://bugzilla.gnome.org/show_bug.cgi?id=757488
but that was incorrect, as it should not be needed.
Removing async=false made the test fail as expected, this is
fixed by not trying to preroll when preparing the media for
RECORD, as start_prepare is called upon receiving ANNOUNCE,
and our peer will not start sending media until it has received
a response to that request, and sent and received a response
to RECORD as well, thus obviously preventing preroll.
https://bugzilla.gnome.org/show_bug.cgi?id=793738
2018-02-23 03:26:21 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-auth.c:
rtsp-auth: fix set_tls_authentication_mode annotation
2018-02-19 11:57:29 +0100 Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
* gst/rtsp-server/rtsp-onvif-media.c:
rtp-server: remove redefined variable
res is a boolean variable which is defined in the function scope and
redefined, with no reason, in the loop scope. This patch removes the
redefinition.
https://bugzilla.gnome.org/show_bug.cgi?id=793592
2018-02-05 11:49:07 +0100 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: Add functions for checking if stream is receiver or sender
...and replace all checks for RECORD in GstRTSPMedia which are really
for "sender-only". This way the code becomes more generic and introducing
support for onvif-backchannel later on will require no changes in
GstRTSPMedia.
2017-10-21 14:06:30 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-onvif-media-factory.c:
* gst/rtsp-server/rtsp-onvif-media-factory.h:
onvif: Make requires_backchannel() public
...in order to let subclasses building the onvif part of the pipeline
check whether backchannel shall be included or not.
2018-01-22 12:46:34 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-onvif-media.c:
rtsp-server: Switch around sendonly/recvonly attributes
They are wrong in the ONVIF streaming spec. The backchannel should be
recvonly and the normal media should be sendonly: direction is always
from the point of view of the SDP offerer (the server) according to
RFC 3264.
2017-09-25 19:41:05 +0300 Sebastian Dröge <sebastian@centricular.com>
* docs/libs/gst-rtsp-server-docs.sgml:
* docs/libs/gst-rtsp-server-sections.txt:
* examples/.gitignore:
* examples/Makefile.am:
* examples/test-onvif-backchannel.c:
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-onvif-client.c:
* gst/rtsp-server/rtsp-onvif-client.h:
* gst/rtsp-server/rtsp-onvif-media-factory.c:
* gst/rtsp-server/rtsp-onvif-media-factory.h:
* gst/rtsp-server/rtsp-onvif-media.c:
* gst/rtsp-server/rtsp-onvif-media.h:
* gst/rtsp-server/rtsp-onvif-server.c:
* gst/rtsp-server/rtsp-onvif-server.h:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-sdp.h:
rtsp: Add support for ONVIF backchannel
This adds a new RTSP server, client, media-factory and media subclass
for handling the specifics of the backchannel. Ideally this later can be
extended with other ONVIF specific features.
2017-10-12 21:00:16 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Add support for sending+receiving medias
We need to add an appsrc/appsink in that case because otherwise the
media bin will be a sink and a source for rtpbin, causing a pipeline
loop.
https://bugzilla.gnome.org/show_bug.cgi?id=788950
2018-02-15 19:44:28 +0000 Tim-Philipp Müller <tim@centricular.com>
* configure.ac:
* meson.build:
Back to development
=== release 1.13.1 ===
2018-02-15 17:15:40 +0000 Tim-Philipp Müller <tim@centricular.com>
* NEWS:
* configure.ac:
* gst-rtsp-server.doap:
* meson.build:
Release 1.13.1
2018-02-14 17:11:19 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-session-pool.c:
session-pool: remove nullable return annotation
create_watch can only return NULL from the API guards, no
need for nullable.
2018-02-13 18:59:16 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
set_clock functions: Add nullable annotations
2018-02-10 00:07:25 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-mount-points.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-thread-pool.c:
All around: add annotations and API guards
2018-02-12 19:12:35 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* tests/test-cleanup.c:
test-cleanup: bind any port
The meson test suite runs tests in parallel, trying to bind
a single port made the test fail.
2018-02-08 19:15:10 +0000 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
meson: make version numbers ints and fix int/string comparison
WARNING: Trying to compare values of different types (str, int).
The result of this is undefined and will become a hard error
in a future Meson release.
2018-02-06 18:00:33 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-context.c:
gst_rtsp_context_get_current: add (skip) annotation
The return value type is defined with G_DEFINE_POINTER_TYPE,
and gi emits the following warning:
Invalid non-constant return of bare structure or union; register as
boxed type or (skip)
2018-02-06 17:58:49 +0100 Mathieu Duponchelle <mathieu@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: add type annotations
gi doesn't seem to be able to figure out the type of the
signal parameters when defined with G_DEFINE_POINTER_TYPE
2018-02-04 12:24:09 +0100 Tim-Philipp Müller <tim@centricular.com>
* configure.ac:
autotools: use -fno-strict-aliasing where supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183
2018-01-30 20:35:21 +0000 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
meson: use -fno-strict-aliasing where supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183
2018-01-25 12:09:03 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-mount-points.c:
mount-points: bail out of loop again when matching mount points
Previous patch led to us iterating the entire sequence. Bail out
of the loop again if we have a match but are moving away from it.
https://bugzilla.gnome.org/show_bug.cgi?id=771555
2018-01-25 12:06:57 +0000 Tim-Philipp Müller <tim@centricular.com>
* tests/check/gst/mountpoints.c:
tests: mountpoints: add more checks for mount point path matching
https://bugzilla.gnome.org/show_bug.cgi?id=771555
2016-09-16 20:41:19 +0000 Andrew Bott <andrew.bott@blackmoth.com>
* gst/rtsp-server/rtsp-mount-points.c:
mount-points: fix matching of paths where there's also an entry with a common prefix
e.g. with the following mount points
/raw
/raw/snapshot
/raw/video
_match() would not match /raw/video and /raw/snapshot correctly.
https://bugzilla.gnome.org/show_bug.cgi?id=771555
2018-01-18 23:53:20 +0000 Tim-Philipp Müller <tim@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-permissions.c:
* gst/rtsp-server/rtsp-permissions.h:
* tests/check/gst/permissions.c:
permissions: add some new API to make this usable from bindings
https://bugzilla.gnome.org/show_bug.cgi?id=787073
2018-01-18 11:32:32 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-token.c:
rtsp-token: annotate constructors for bindings
This maps _new_empty() to _new(), which also makes RTSPToken()
work properly now. Since this API wasn't usable from bindings
before, this should hopefully be fine.
https://bugzilla.gnome.org/show_bug.cgi?id=787073
2018-01-18 11:07:45 +0000 Tim-Philipp Müller <tim@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-token.c:
* gst/rtsp-server/rtsp-token.h:
* tests/check/gst/token.c:
rtsp-token: add some API to set fields from bindings
The existing functions are all vararg-based and as such
not usable from bindings.
https://bugzilla.gnome.org/show_bug.cgi?id=787073
2018-01-13 15:02:28 +0000 Tim-Philipp Müller <tim@centricular.com>
* tests/check/gst/rtspclientsink.c:
* tests/check/gst/rtspserver.c:
* tests/check/gst/sessionpool.c:
* tests/check/gst/stream.c:
tests: fix indentation
Fix and "fix".
2018-01-13 14:58:55 +0000 Tim-Philipp Müller <tim@centricular.com>
* tests/check/gst/rtspserver.c:
tests: rtspserver: fix another ref leak
Even if this didn't show up in valgrind.
2018-01-13 14:58:00 +0000 Tim-Philipp Müller <tim@centricular.com>
* tests/check/gst/rtspclientsink.c:
tests: rtspclientsink: fix leak
2018-01-02 14:19:31 +0100 Branko Subasic <branko@axis.com>
* tests/check/gst/rtspserver.c:
test: rtspserver: plug memory leak in test_no_session_timeout
In test_no_session_timeout, unref the rtsp session object when the
test is done.
https://bugzilla.gnome.org/show_bug.cgi?id=792127
2017-12-20 14:17:02 +0100 Edward Hervey <edward@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtpsclientsink: Initialize and clear newly added mutex and cond
While it *did* work, glib would automatically create new mutex and cond
... which never got freed
2017-12-19 11:34:37 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Set multicast TTL on the multicast sockets
And not if we do unicast UDP.
https://bugzilla.gnome.org/show_bug.cgi?id=791743
2017-12-19 11:14:48 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Decide based on the sockets, not the addresses if we already allocated a socket
In the multicast case (as in test-multicast, not test-multicast2), the
address could be allocated/reserved (and thus set) already without
allocating the actual socket. We need to allocate the socket here still
instead of just claiming that it was already allocated.
See https://bugzilla.gnome.org/show_bug.cgi?id=791743#c2
2017-12-16 21:46:53 +0100 Patricia Muscalu <patricia@dovakhiin.com>
* gst/rtsp-sink/gstrtspclientsink.c:
* gst/rtsp-sink/gstrtspclientsink.h:
rtspclientsink: Use the new rtsp-stream API
https://bugzilla.gnome.org/show_bug.cgi?id=790412
2017-12-16 21:01:43 +0100 Patricia Muscalu <patricia@dovakhiin.com>
* gst/rtsp-sink/gstrtspclientsink.c:
* gst/rtsp-sink/gstrtspclientsink.h:
rtspclientsink: Wait until OPEN has been scheduled
Make sure that the sink thread has started opening connection
to the server before continuing.
https://bugzilla.gnome.org/show_bug.cgi?id=790412
2017-12-14 14:53:35 +1100 Matthew Waters <matthew@centricular.com>
* common:
Automatic update of common submodule
From e8c7a71 to 3fa2c9e
2017-12-07 16:08:29 +0100 Edward Hervey <edward@centricular.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-stream.c:
rtsp-server: Minor doc fixes
Mostly for g-i
2017-12-06 20:47:22 +0000 Tim-Philipp Müller <tim@centricular.com>
* Makefile.am:
* tests/Makefile.am:
tests: disable all tests when --disable-tests is used
Move conditional subdir include into top level.
Based on patch by: Joel Holdsworth
https://bugzilla.gnome.org/show_bug.cgi?id=757703
2017-12-06 20:42:39 +0000 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
* meson_options.txt:
* tests/meson.build:
meson: build more tests and add options to disable tests and examples
2017-11-26 13:26:39 -0300 Thibault Saunier <tsaunier@gnome.org>
* gst/rtsp-server/rtsp-session.c:
Fix build when -Werror=deprecated-declarations is on
As gst_rtsp_session_next_timeout is deprecated.
```
../subprojects/gst-rtsp-server/gst/rtsp-server/rtsp-session.c:760:3: error: ‘gst_rtsp_session_next_timeout’ is deprecated: Use 'gst_rtsp_session_next_timeout_usec' instead [-Werror=deprecated-declarations]
res = (gst_rtsp_session_next_timeout (session, now) == 0);
^~~
../subprojects/gst-rtsp-server/gst/rtsp-server/rtsp-session.c:685:1: note: declared here
gst_rtsp_session_next_timeout (GstRTSPSession * session, GTimeVal * now)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2017-11-27 20:18:24 +1100 Matthew Waters <matthew@centricular.com>
* common:
Automatic update of common submodule
From 3f4aa96 to e8c7a71
2017-11-25 20:34:16 +0100 Patricia Muscalu <patricia@dovakhiin.com>
* tests/check/gst/media.c:
check/media: Add seekability test case: not all streams are active
Media contains two streams but only one is complete and prepared
for playing.
https://bugzilla.gnome.org/show_bug.cgi?id=790674
2017-11-25 20:32:02 +0100 Patricia Muscalu <patricia@dovakhiin.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Do not reset 'blocking' if stream is already blocked
https://bugzilla.gnome.org/show_bug.cgi?id=790674
2017-11-25 20:45:44 +0100 Patricia Muscalu <patricia@dovakhiin.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Fix missing lock in gst_rtsp_media_seekable()
https://bugzilla.gnome.org/show_bug.cgi?id=790674
2017-11-26 16:29:49 +0000 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
meson: remove vs_module_defs_dir variable which is no longer needed
2017-11-26 14:46:05 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-session.h:
rtsp: fix distcheck
2017-11-26 12:53:42 +0000 Tim-Philipp Müller <tim@centricular.com>
* Makefile.am:
* gst/rtsp-server/meson.build:
* win32/MANIFEST:
* win32/common/libgstrtspserver.def:
win32: remove .def file with exports
They're no longer needed, symbol exporting is now explicit
via GST_EXPORT in all cases (autotools, meson, incl. MSVC).
2017-11-26 12:28:40 +0000 Tim-Philipp Müller <tim@centricular.com>
* configure.ac:
autotools: stop controlling symbol visibility with -export-symbols-regex
Instead, use -fvisibility=hidden and explicit exports via GST_EXPORT.
This should result in consistent behaviour for the autotools and
Meson builds.
2017-11-26 12:47:08 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
rtsp-server: add missing GST_EXPORT and export deprecated funcs
2017-11-25 07:53:30 +0100 Edward Hervey <edward@centricular.com>
* tests/check/gst/media.c:
check: Add seekability testing on medias
Make sure that once GstRTSPMedia are prepared they returned
the expected seekability results
https://bugzilla.gnome.org/show_bug.cgi?id=790674
2017-11-24 17:34:31 +0100 Edward Hervey <edward@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
* win32/common/libgstrtspserver.def:
rtsp-media: Enable seeking query before pipeline is complete
SDP are now provided *before* the pipeline is fully complete. In order
to know whether a media is seekable or not therefore requires asking
the invididual streams.
API: gst_rtsp_stream_seekable
https://bugzilla.gnome.org/show_bug.cgi?id=790674
2017-11-23 20:34:03 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Fix handling in default_unsuspend()
Handle the case when streams are not blocked and media
is suspended from PAUSED.
Change-Id: I2f3d222ea7b9b20a0732ea5dc81a32d17ab75040
https://bugzilla.gnome.org/show_bug.cgi?id=790674
2017-11-23 18:51:21 +0100 Patricia Muscalu <patricia@axis.com>
* tests/check/gst/media.c:
check/media: Fix thread pool leak.
Change-Id: I0f92b1caca0ee518ae64a7dacfbd28a214c3eea1
https://bugzilla.gnome.org/show_bug.cgi?id=790674
2017-11-23 18:39:44 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Removed fakesink elements
There is not need of adding fakesink elements to the media
pipeline in the dynamic-payloader case.
The media pipeline itself is dynamically updated with
the receiver and sender parts that are based on the client
transport information known after SETUP has been received.
Change-Id: I4e88c9b500c04030669822f0d03b1842913f6cb9
https://bugzilla.gnome.org/show_bug.cgi?id=790674
2017-11-23 09:10:54 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Corrected ASYNC_DONE handling
Media is complete when all the transport based parts are
added to the media pipeline. At this point ASYNC_DONE is
posted by the media pipeline and media is ready to enter
the PREPARED state.
Change-Id: I50fb8dfed88ebaf057d9a35fca2d7f0a70e9d1fa
https://bugzilla.gnome.org/show_bug.cgi?id=790674
2017-11-22 12:24:38 +0100 Edward Hervey <bilboed@bilboed.com>
* tests/check/gst/media.c:
check/media: Check that prepared media can provide a SDP
Whenever a RTSPMedia is prepared, it should be able to provide a SDP
2017-11-21 09:53:19 +0100 Edward Hervey <edward@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Don't leak addr
CID #1422260
2017-11-21 09:53:08 +0100 Edward Hervey <bilboed@bilboed.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-stream.c:
Run gst-indent
2017-11-20 18:30:19 +0100 Edward Hervey <bilboed@bilboed.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Don't unblock with remaining dynamic payloaders
If we still have some dynamic paylaoders which haven't posted
no-more-pads yet, don't go to PREPARED if one of the streams
blocked.
The risk was that we would end up not exposing/using all specified
streams.
The downside is that if you have _multiple_ _live_ _dynamic_ payloaders
then it will take a bit more time to start. But only if those 3
conditions are present.
https://bugzilla.gnome.org/show_bug.cgi?id=769521
2017-11-20 16:49:29 +0100 Edward Hervey <edward@centricular.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Fix doc
2017-11-20 16:48:55 +0100 Edward Hervey <edward@centricular.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Don't set float on a gint64 variable
Just use 0. Fixes 'undefined' behaviour from clang
2017-11-20 18:29:02 +0100 Edward Hervey <edward@centricular.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Fix previous commit
We only want to count dynamic payloaders
2017-11-20 09:32:07 +0100 Edward Hervey <edward@centricular.com>
* gst/rtsp-server/rtsp-media.c:
* tests/check/gst/media.c:
rtsp-media: Handle multiple dynamic elements
If we have more than one dynamic payloader in the pipeline, we need
to wait until the *last* one emits 'no-more-pads' before switching
to PREPARED.
Failure to do so would result in a race where some of the streams
wouldn't properly be prepared
https://bugzilla.gnome.org/show_bug.cgi?id=769521
2017-11-16 12:18:20 +0200 Sebastian Dröge <sebastian@centricular.com>
* win32/common/libgstrtspserver.def:
win32: Fix exported symbols list
2017-11-15 19:52:29 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Only update the RTP udpsink if it actually exists
For send-only streams it does not exist, but the RTCP udpsink might.
2017-11-15 18:15:53 +0200 Sebastian Dröge <sebastian@centricular.com>
* win32/common/libgstrtspserver.def:
win32: Update exports
2017-10-23 09:49:09 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-media: seek on media pipelines that are complete
Make sure that a seek is performed on pipelines that
contain at least one sink element.
Change-Id: Icf398e10add3191d104b1289de612412da326819
https://bugzilla.gnome.org/show_bug.cgi?id=788340
2017-10-17 10:44:33 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
* tests/check/gst/client.c:
* tests/check/gst/media.c:
* tests/check/gst/rtspserver.c:
* tests/check/gst/stream.c:
Dynamically reconfigure pipeline in PLAY based on transports
The initial pipeline does not contain specific transport
elements. The receiver and the sender parts are added
after PLAY.
If the media is shared, the streams are dynamically
reconfigured after each PLAY.
https://bugzilla.gnome.org/show_bug.cgi?id=788340
2017-10-16 12:40:57 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: obtain stream position from pad
If no sinks have been added yet, obtain the current and
the stop position of the stream from the send_src pad.
Change-Id: Iacd4ab4bdc69f6b49370d06012880ce48a7d595a
https://bugzilla.gnome.org/show_bug.cgi?id=788340
2017-10-16 11:35:10 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-media.h:
rtsp-session-media: add function to get a list of transports
Change-Id: I817e10624da0f3200f24d1b232cff481099278e3
https://bugzilla.gnome.org/show_bug.cgi?id=788340
2017-10-16 11:15:55 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-stream: add functions to get rtp and rtcp multicast sockets
Change-Id: Iddfe6e0bd250cb0159096d5eba9e4202d22b56db
https://bugzilla.gnome.org/show_bug.cgi?id=788340
2017-10-20 12:21:48 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
stream: set async=sync=false only for RTCP appsink
Change-Id: I929a218a9adf4759f61322b6f2063aacc5595f90
https://bugzilla.gnome.org/show_bug.cgi?id=788340
2017-10-16 10:10:17 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: return minimum value in query position case
The minimum position should be returned as we are interested
in the whole interval.
Change-Id: I30e297fc040c995ae40c25dee8ff56321612fe2b
https://bugzilla.gnome.org/show_bug.cgi?id=788340
2017-08-09 11:52:38 +0200 Jonathan Karlsson <jonakn@axis.com>
* gst/rtsp-server/rtsp-session.c:
* tests/check/gst/rtspserver.c:
rtsp-session: Handle the case when timeout=0
According to the documentation, a timeout of value 0 means
that the session never timeouts. This adds handling of that.
If timeout=0 we just return with a -1 from
gst_rtsp_session_next_timeout_usec ().
https://bugzilla.gnome.org/show_bug.cgi?id=785058
2017-07-17 17:15:22 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: Add "accept-certificate" signal for manually checking a TLS certificate for validity
https://bugzilla.gnome.org/show_bug.cgi?id=785024
2017-10-26 14:43:19 +0200 Mathieu Duponchelle <mathieu@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-media-factory.c:
docs: add media factory transport mode accessors
and fix the documentation for the return value of the getter
2017-10-09 12:43:01 +0200 Branko Subasic <branko@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: unref 'pipelined_requests' in finalize
The hash table priv->pipelined_requests is not unref:ed in the
finalize funktion. Make sure it is.
https://bugzilla.gnome.org/show_bug.cgi?id=788704
2017-10-09 14:44:40 +0200 Thibault Saunier <thibault.saunier@osg.samsung.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Initialize scalar variable
CID 1418985
2017-10-06 10:27:34 +0200 Edward Hervey <edward@centricular.com>
* win32/common/libgstrtspserver.def:
win32: Update export file
2017-04-22 09:26:07 -0300 Thibault Saunier <thibault.saunier@osg.samsung.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
Start support for RTSP 2.0
This adds basic support for new 2.0 features, though the protocol is
subposdely backward incompatible, most semantics are the sames.
This commit adds:
- features:
* version negotiation
* pipelined requests support
* Media-Properties support
* Accept-Ranges support
- APIs:
* gst_rtsp_media_seekable
The RTSP methods that have been removed when using 2.0 now return
BAD_REQUEST.
https://bugzilla.gnome.org/show_bug.cgi?id=781446
2017-06-02 15:37:54 -0400 Thibault Saunier <thibault.saunier@osg.samsung.com>
* gst/rtsp-server/rtsp-stream.c:
stream: Use stream duration as stream-stop if segment was not configured with a stop
Allowing client to know stream duration when no seeking happened.
https://bugzilla.gnome.org/show_bug.cgi?id=783435
2017-09-25 19:40:17 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
rtsp-media-factory: Don't cache any media if NULL was returned as key
The docs already mentioned this, but we actually stored it in the hash
table with key==NULL and leaked its reference forever.
2017-09-18 19:31:31 +0200 Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
* gst/rtsp-sink/gstrtspclientsink.c:
* gst/rtsp-sink/gstrtspclientsink.h:
rtspclientsink: Use a mutex for protecting against concurrent send/receives
This is a simple port of:
* a722f6e8329032c6eda4865d6a07f4ba5981d7ea
* c438545dc9e2f14f657bc0ef261fff726449867b
* cd17c71dcea5c9310d21f1347c7520983e5869ac
in gst-plugins-good.
2017-08-31 13:24:15 +0530 Satya Prakash Gupta <sp.gupta@samsung.com>
* gst/rtsp-server/rtsp-sdp.c:
sdp: fix Memory leak in error case
https://bugzilla.gnome.org/show_bug.cgi?id=787059
2017-08-18 17:37:01 +0100 Tim-Philipp Müller <tim@centricular.com>
* pkgconfig/meson.build:
meson: don't install -uninstalled.pc file
https://bugzilla.gnome.org/show_bug.cgi?id=786457
2017-08-17 12:26:17 +0100 Tim-Philipp Müller <tim@centricular.com>
* common:
Automatic update of common submodule
From 48a5d85 to 3f4aa96
2017-08-14 21:04:23 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Fix typo in debug message
2017-08-11 14:14:32 +0100 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
meson: hide symbols by default unless explicitly exported
2017-08-10 14:20:12 +0100 Tim-Philipp Müller <tim@centricular.com>
* pkgconfig/gstreamer-rtsp-server-uninstalled.pc.in:
pkgconfig: remove -I@srcdir@/.. which duplicates abs_top_srcdir
Fixes meson warning about undefined @srcdir@.
2017-07-21 13:36:00 +0100 Tim-Philipp Müller <tim@centricular.com>
* tests/meson.build:
meson: skip tests on windows for now
As we do in the other modules. As libgstcheck is currently not
built on windows. Fixes "Fallback variable 'gst_check_dep' in
the subproject 'gstreamer' does not exist"" Meson error.
2017-06-22 07:25:07 -0700 Julien Isorce <julien.isorce@gmail.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: fix connection delay due to wrong assumption on last-sample
Commit 852cc09f542af5cadd79ffd7fe79d6475cf57e14 assumed that
multiudpsink's last-sample always comes from the payloader. Which
is wrong if auxiliary streams are multiplexed in the same stream.
So check the buffer's ssrc against the caps'ssrc before to use its
seqnum. If not the same ssrc just use the payloader as done prior
the commit above or when there is no last-sample yet.
https://bugzilla.gnome.org/show_bug.cgi?id=784094
2017-06-23 16:19:04 -0400 Thibault Saunier <thibault.saunier@osg.samsung.com>
* meson.build:
meson: Allow using glib as a subproject
2017-06-26 09:55:49 +0100 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
meson: fix with-package-name option
https://bugzilla.gnome.org/show_bug.cgi?id=784082
2017-06-09 20:16:28 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.com>
* Makefile.am:
Distribute meson_options.txt
2017-06-09 20:11:47 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.com>
* Makefile.am:
And config.h.meson is no longer dist either
2017-06-09 21:27:09 +0100 Tim-Philipp Müller <tim@centricular.com>
* config.h.meson:
* meson.build:
meson: config.h.meson is no longer needed
2017-06-07 13:04:41 -0400 Thibault Saunier <thibault.saunier@osg.samsung.com>
* tests/check/meson.build:
* tests/meson.build:
meson: Fix building tests and activate them again
2017-06-07 12:55:41 -0400 Thibault Saunier <thibault.saunier@osg.samsung.com>
* tests/check/meson.build:
meson: Do not use path separator in test names
Avoiding warnings like:
WARNING: Target "elements/audioamplify" has a path separator in its name.
2017-05-20 15:07:31 +0100 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
* meson_options.txt:
meson: add options to set package name and origin
https://bugzilla.gnome.org/show_bug.cgi?id=782172
2017-05-18 10:35:18 +0100 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-address-pool.h:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-context.h:
* gst/rtsp-server/rtsp-media-factory-uri.h:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-mount-points.h:
* gst/rtsp-server/rtsp-params.h:
* gst/rtsp-server/rtsp-permissions.h:
* gst/rtsp-server/rtsp-sdp.h:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-media.h:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.h:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.h:
* gst/rtsp-server/rtsp-thread-pool.h:
* gst/rtsp-server/rtsp-token.h:
Mark symbols explicitly for export with GST_EXPORT
2017-05-16 14:44:43 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.com>
* configure.ac:
* gst/rtsp-sink/Makefile.am:
Remove plugin specific static build option
Static and dynamic plugins now have the same interface. The standard
--enable-static/--enable-shared toggle are sufficient.
2017-05-04 18:59:14 +0300 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
* meson.build:
Back to development
=== release 1.12.0 ===
2017-05-04 15:40:46 +0300 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
* meson.build:
Release 1.12.0
=== release 1.11.91 ===
2017-04-27 17:42:02 +0300 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
* meson.build:
Release 1.11.91
2017-04-24 20:30:37 +0100 Tim-Philipp Müller <tim@centricular.com>
* common:
Automatic update of common submodule
From 60aeef6 to 48a5d85
2017-04-13 14:20:10 -0300 Thibault Saunier <thibault.saunier@osg.samsung.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-stream.c:
gi: Fix some annotations and docstrings
2017-04-13 13:52:26 -0300 Thibault Saunier <thibault.saunier@osg.samsung.com>
* gst/rtsp-server/meson.build:
* meson.build:
* meson_options.txt:
meson: Build gir
2017-04-10 23:51:12 +0100 Tim-Philipp Müller <tim@centricular.com>
* autogen.sh:
* common:
Automatic update of common submodule
From 39ac2f5 to 60aeef6
=== release 1.11.90 ===
2017-04-07 16:35:03 +0300 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
* meson.build:
Release 1.11.90
2017-03-27 18:19:33 +0100 Tim-Philipp Müller <tim@centricular.com>
* examples/test-launch.c:
examples: make test-launch pipeline shared by default as well
2017-02-27 19:10:44 +0200 Sebastian Dröge <sebastian@centricular.com>
* pkgconfig/gstreamer-rtsp-server-uninstalled.pc.in:
gstreamer-rtsp-server: Add both srcdir and builddir to the include path
Just the build dir is not going to work for srcdir!=builddir.
2017-02-24 15:59:54 +0200 Sebastian Dröge <sebastian@centricular.com>
* meson.build:
meson: Update version
2017-02-24 15:37:49 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.11.2 ===
2017-02-24 15:10:07 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.11.2
2017-02-14 20:40:26 +0000 Tim-Philipp Müller <tim@centricular.com>
* Makefile.am:
meson: dist meson build files
Ship meson build files in tarballs, so people who use tarballs
in their builds can start playing with meson already.
2017-02-07 23:39:37 +1100 Jan Schmidt <jan@centricular.com>
* examples/test-record.c:
examples/test-record: Add extra line to initial printout
Add an example line of how to deliver a stream to the
RTSP RECORD example
2017-01-19 14:57:19 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Also handle the (S|G)ET_PARAMETER case of size==0 || !data as keep-alive
If there is no Content-Length header, no body would be allocated and the
'\0' would also not be appended to the body.
2017-01-19 14:24:07 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Fix handling of keep-alive GET_PARAMETER/SET_PARAMETER
While they logically have 0 bytes length, GstRTSPConnection is appending
a '\0' to everything making the size be 1 instead.
2017-01-13 12:39:36 +0000 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
meson: bump version
2017-01-12 19:04:23 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-session.c:
rtsp-session: Only remove deprecated API if requested to do so, not just when disabling
gst_rtsp_session_is_expired() and gst_rtsp_session_next_timeout() were
affected.
2017-01-12 16:32:59 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.11.1 ===
2017-01-12 16:14:46 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
* win32/common/libgstrtspserver.def:
Release 1.11.1
2017-01-10 08:34:50 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: corrected if-statement in _get_server_port()
This bug was accidentally introduced while fixing a segfault
in _get_server_port() function.
https://bugzilla.gnome.org/show_bug.cgi?id=776345
2017-01-09 14:12:05 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
* tests/check/gst/stream.c:
rtsp-stream: fixed segmenation fault in _get_server_port()
Calling function gst_rtsp_stream_get_server_port() results in
segmenation fault in the RTP/RTSP/TCP case.
Port that the server will use to receive RTCP makes only
sense in the UDP case, however the function should handle
the TCP case in a nicer way.
https://bugzilla.gnome.org/show_bug.cgi?id=776345
2017-01-09 12:22:40 +0300 Aleksandr Slobodeniuk <alenuke@yandex.ru>
* gst/rtsp-server/rtsp-media-factory.c:
dosc: Fix a little typo
https://bugzilla.gnome.org/show_bug.cgi?id=777037
2017-01-04 16:20:54 +0100 Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-rtsp-server-uninstalled.pc.in:
* pkgconfig/meson.build:
meson: generate pkg-config -uninstalled pc files
Generating those files is useful for users building the GStreamer stack
using meson and having to link it to another project which is still
using the autotools.
https://bugzilla.gnome.org/show_bug.cgi?id=776810
2017-01-04 16:11:08 +0100 Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* pkgconfig/gstreamer-rtsp-server-uninstalled.pc.in:
pkgconfig: fix -uninstalled pc file
pcfiledir was never defined so the paths were wrong.
https://bugzilla.gnome.org/show_bug.cgi?id=776867
2016-12-21 13:41:50 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
* tests/check/gst/rtspserver.c:
rtsp-stream: Fixed TCP transport case
Make sure that the appsink element is actually added to
the bin before trying to link it with the elements in it.
https://bugzilla.gnome.org/show_bug.cgi?id=776343
2016-12-16 17:26:04 +0000 Tim-Philipp Müller <tim@centricular.com>
* .gitignore:
* Makefile.am:
* configure.ac:
* gst-rtsp.spec.in:
Remove generated .spec file
Likely extremely bitrotten, and we should not ship this anyway.
2016-12-03 08:21:02 +0100 Edward Hervey <bilboed@bilboed.com>
* common:
Automatic update of common submodule
From f980fd9 to 39ac2f5
2016-12-02 15:40:09 +0100 Edward Hervey <edward@centricular.com>
* gst/rtsp-server/rtsp-media.c:
media: Fix pt map caps
Since decryption is handled within rtpbin, all outcoming stream
caps will be application/x-rtp (i.e. regular rtp)
Fixes RECORD with SRTP streams
2016-12-02 15:38:04 +0100 Edward Hervey <edward@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
media-factory: Create media objects with the proper transport mode
The function called immediately afterwards (collect_streams()) will
need it to work properly
2016-12-02 14:36:50 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-auth.c:
rtsp-auth: Don't remove digest-auth nonces that already/still have a client connected
2016-12-01 18:04:34 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
rtsp-media-factory: Don't create a pipeline for the media pipeline string
We're going to put a pipeline into a pipeline otherwise, which is not
exactly ideal.
2016-10-25 15:41:28 +0300 Kseniia Vasilchuk <vasilchukkseniia@gmail.com>
* gst/rtsp-server/rtsp-media.c:
media: Fix race condition around finish_unprepare() if called multiple time
https://bugzilla.gnome.org/show_bug.cgi?id=755329
2016-11-30 14:06:36 +1100 Jan Schmidt <jan@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: Don't leave stale pointer after unref
Fix a warning on shutdown - don't keep a pointer to an
alread-unreffed object.
2016-11-26 11:24:50 +0000 Tim-Philipp Müller <tim@centricular.com>
* .gitmodules:
common: use https protocol for common submodule
https://bugzilla.gnome.org/show_bug.cgi?id=775110
2016-11-21 23:29:56 +1100 Matthew Waters <matthew@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
stream: block the output of rtpbin instead of the source pipeline
85c52e194bcb81928b96614be0ae47d59eccb1ce introduced a more correct
detection of the srtp rollover counter to add to the SDP.
Unfortunately, it was incomplete for live pipelines where the logic
blocks the source bin before creating the SDP and thus would never have
the necessary informaiton to create a correct SDP with srtp encryption.
Move the pad blocks to rtpbin's output pads instead so that the
necessary information can be created before we need the information for
the SDP.
https://bugzilla.gnome.org/show_bug.cgi?id=770239
2016-11-21 16:02:39 +0100 Dag Gullberg <dagg@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: add IDLE timeout, before session exists
The RTSP server will not timeout an idle RTSP connection
(note this is different from doing timeout on a RTSP
session).
At least for Apache this is a problem when running RTSP over
HTTPS since it uses one of the threads (there is a rather
limited number) that are available for handling requests.
https://bugzilla.gnome.org/show_bug.cgi?id=771830
2016-11-23 09:45:08 +0000 Tim-Philipp Müller <tim@centricular.com>
* .gitignore:
.gitignore more
2016-11-21 13:05:50 +0100 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Set close-socket FALSE on UDP src:es
With this RTSP server can use the sockets independent on the udpsrc
state.
When the udp src is finalized it will unref socket and when g_socket
is finalized the socket will be closed.
https://bugzilla.gnome.org/show_bug.cgi?id=765673
2016-11-18 17:47:13 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: Move to new helper function to parse authentication responses
https://bugzilla.gnome.org/show_bug.cgi?id=774416
2016-11-16 08:42:24 +0200 Sebastian Dröge <sebastian@centricular.com>
* examples/Makefile.am:
* examples/test-auth-digest.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* win32/common/libgstrtspserver.def:
rtsp-auth: Add support for Digest authentication
https://bugzilla.gnome.org/show_bug.cgi?id=774416
2016-11-17 09:41:53 -0800 Scott D Phillips <scott.d.phillips@intel.com>
* Makefile.am:
* gst/rtsp-server/meson.build:
* meson.build:
* tests/check/meson.build:
* win32/MANIFEST:
* win32/common/libgstrtspserver.def:
Enable building with MSVC
https://bugzilla.gnome.org/show_bug.cgi?id=774640
2016-11-18 20:23:14 -0300 Thibault Saunier <thibault.saunier@osg.samsung.com>
* meson.build:
meson: gstreamer gst_check_dep does not exist on windows
2016-11-17 09:43:37 -0800 Scott D Phillips <scott.d.phillips@intel.com>
* gst/rtsp-server/rtsp-client.c:
client: update do_send_message to match type GstRTSPClientSendFunc
This type mismatch fails building with MSVC
https://bugzilla.gnome.org/show_bug.cgi?id=774640
2016-11-11 14:42:08 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-sdp.c:
rtsp-sdp: Fix indentation
2016-11-10 05:16:00 +0000 Neha Arora <arora.neha@samsung.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Only signal "new-state" if the state has actually changed
https://bugzilla.gnome.org/show_bug.cgi?id=774173
2016-08-24 11:39:13 +0200 Branko Subasic <branko@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: emit signal in the beginning of each rtsp request
These signals let the application validate the requests, configure the
media/stream in a certain way and also generate error status code in
case of error or bad request.
https://bugzilla.gnome.org/show_bug.cgi?id=758062
2016-11-01 18:10:35 +0000 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
meson: update version
=== release 1.11.0 ===
2016-11-01 18:53:15 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.10.0 ===
2016-11-01 18:06:46 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.10.0
2016-10-28 18:38:01 +0100 Tim-Philipp Müller <tim@centricular.com>
* tests/check/gst/rtspserver.c:
* tests/check/gst/stream.c:
tests: try to avoid using the same ports in different tests
Causes problems with client multicast tests otherwise if
tests are run in parallel.
https://bugzilla.gnome.org/show_bug.cgi?id=773640
2016-10-28 17:50:59 +0100 Tim-Philipp Müller <tim@centricular.com>
* tests/check/gst/client.c:
tests: client: use fail_unless_equals_foo() for better failure reporting
2016-09-26 11:16:04 +0200 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Session filter in unwatch session
Call session filter with filter_session_media as paramer in
client_unwatch_session if using drop_backlog = FALSE.
In client_unwatch_session its allowed to grow the watchs backlog.
If using drop_backlog = FALSE and the backlog is full it will cause
a deadlock when setting session media state to NULL
if the backlog is not allowed to grow.
https://bugzilla.gnome.org/show_bug.cgi?id=771983
2016-10-20 21:40:18 +0100 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
meson: add fallbacks for gst modules
For gst-all.
2016-09-14 17:48:39 +0300 Nikita Bobkov <NikitaDBobkov@gmail.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Fix factory leaking in find_media() in error cases
https://bugzilla.gnome.org/show_bug.cgi?id=771488
2016-10-06 11:47:50 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
stream: Fix randomly missing streams from SDP with dynamic elements
When using dynamic elements, gst_rtsp_stream_join_bin() is called from
"pad-added" signal. In that case priv->srcpad could already have its caps,
and they'll be sent to priv->send_src[0] pad. That means that when it
connects "notify::caps" signal, that pad could already have received its
caps and the signal won't be emitted anymore.
In that case priv->caps stay to NULL and when building the SDP that stream
gets ignored. Leading to missing video or audio when playing in client side.
https://bugzilla.gnome.org/show_bug.cgi?id=772478
2016-09-30 11:42:08 +0100 Tim-Philipp Müller <tim@centricular.com>
* meson.build:
meson: update version
=== release 1.9.90 ===
2016-09-30 13:04:12 +0300 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.9.90
2016-09-17 13:17:19 +0100 Ian Jamison <ian.dev@arkver.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream.c:
rtsp-server: Hint that set_multicast_iface expects the name of the interface
To prevent any possibly confusion with IPs or anything else.
https://bugzilla.gnome.org/show_bug.cgi?id=771530
2016-09-18 09:58:55 -0400 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Call g_free() instead of g_object_unref() on multicast-iface strings
https://bugzilla.gnome.org/show_bug.cgi?id=763000#c5
2016-09-14 11:31:15 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
configure: Depend on gstreamer 1.9.2.1
2016-09-10 20:52:31 +1000 Jan Schmidt <jan@centricular.com>
* autogen.sh:
* common:
Automatic update of common submodule
From b18d820 to f980fd9
2016-09-10 09:58:31 +1000 Jan Schmidt <jan@centricular.com>
* autogen.sh:
* common:
Automatic update of common submodule
From 6f2d209 to b18d820
2016-09-07 18:44:34 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Remove unused _locked() variant of a function
It was added during refactoring.
2016-09-07 10:21:09 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
stream: cosmetic cleanup
https://bugzilla.gnome.org/show_bug.cgi?id=766612
2016-09-07 10:16:19 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
stream: Compare IP addresses case insensitive in more places
https://bugzilla.gnome.org/show_bug.cgi?id=766612
2016-09-07 10:12:18 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* common:
* gst/rtsp-server/rtsp-stream.c:
stream: Fix leaked joined_bin
There is no need to keep a strong ref on it, and _leave_bin() was
setting it to NULL before calling g_clear_object() so it was leaked.
https://bugzilla.gnome.org/show_bug.cgi?id=766612
2016-09-06 19:15:23 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Compare IP address strings case insensitive
Otherwise IPv6 addresses might fail this comparision.
2016-09-06 19:10:21 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Bind multicast sockets to ANY as before
https://bugzilla.gnome.org/show_bug.cgi?id=766612#c48
2016-09-05 18:31:36 +0300 Kseniia <vasilchukkseniia@gmail.com>
* gst/rtsp-server/rtsp-session.c:
rtsp-session: Fix segfault when doing keep-alive after removing the session
If keep-alive happens after removing the session but before finalizing the
stream transport, we would segfault.
https://bugzilla.gnome.org/show_bug.cgi?id=750544
2016-09-05 18:04:50 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Always create multicast UDP elements if the protocol flag is set
Adding them later will cause deadlocks due to
1) pre-rolling and staying in PAUSED with the unicast/TCP sinks
2) adding the multicast sink
3) waiting for it to get data to preroll again
3) never happens because the queues after the tee are full.
2016-09-05 16:32:57 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Fix up various multicast related issues
2016-09-05 13:40:59 +0300 Sebastian Dröge <sebastian@centricular.com>
* tests/check/gst/stream.c:
tests: Fix compilation
2016-07-28 15:33:05 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
* tests/check/gst/stream.c:
stream: revert back to create udpsrc/udpsink on DESCRIBE for unicast
This is basically reverting changes introduced in commit f62a9a7,
because it was introducing various regressions:
- It introduces a leak of udpsrc elements that got wrongly fixed by adding
an hash table in commit cba045e. We should have at most 4 udpsrc for unicast:
ipv4/ipv6, rtp/rtcp. They can be reused for all unicast clients.
- If a mcast client connects, it creates a new socket in SETUP to try to respect
the destination/port given by the client in the transport, and overrides the
socket already set on the udpsink element. That means that if we already had a
client connected, the source address on the udp packets it receives suddenly
changes.
- If a 2nd mcast client connects, the destination/port in its transport is
ignored but its transport wasn't updated.
What this patch does:
- Revert back to create udpsrc/udpsink for unicast clients on DESCRIBE.
- Always have a tee+queue when udp is enabled. This could be optimized
again in a later patch, but is more complicated. If no unicast clients
connects then those elements are useless, this could be also optimized
in a later patch.
- When mcast transport is added, it creates a new set of udpsrc/udpsink,
seperated from those for unicast clients. Since we already support only
one mcast address, we also create only one set of elements.
https://bugzilla.gnome.org/show_bug.cgi?id=766612
2016-07-28 15:20:31 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
stream: factor our plug_src function
https://bugzilla.gnome.org/show_bug.cgi?id=766612
2016-07-21 21:46:16 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
stream: factor out plug_sink function
https://bugzilla.gnome.org/show_bug.cgi?id=766612
2016-07-20 23:05:09 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
stream: small documentation clarification
https://bugzilla.gnome.org/show_bug.cgi?id=766612
2016-07-20 15:35:44 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
stream: rename addr_v4/6 to mcast_addr_v4/6 for clarity
https://bugzilla.gnome.org/show_bug.cgi?id=766612
2016-07-14 11:10:31 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
stream: Keep a ref on joined bin
https://bugzilla.gnome.org/show_bug.cgi?id=766612
2016-07-20 15:11:32 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
stream: code cleanup
https://bugzilla.gnome.org/show_bug.cgi?id=766612
2016-07-20 23:18:23 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
stream: small fix in error code path
https://bugzilla.gnome.org/show_bug.cgi?id=766612
2016-07-20 20:09:57 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
Revert "rtsp-stream: Fix crash on cleanup with shared media and multiple udpsrc"
This partly reverts commit cba045e1b19fad6e689e10206f57903e15f1229a,
but keeps unit tests.
https://bugzilla.gnome.org/show_bug.cgi?id=766612
2016-09-01 12:33:00 +0300 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.9.2 ===
2016-09-01 12:32:51 +0300 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.9.2
2016-01-27 01:03:52 +0000 Tim-Philipp Müller <tim@centricular.com>
* config.h.meson:
* examples/meson.build:
* gst/meson.build:
* gst/rtsp-server/meson.build:
* gst/rtsp-sink/meson.build:
* meson.build:
* pkgconfig/meson.build:
* tests/check/meson.build:
* tests/meson.build:
Add support for Meson as alternative/parallel build system
https://github.com/mesonbuild/meson
2016-08-26 21:56:13 +0200 Josep Torra <n770galaxy@gmail.com>
* configure.ac:
* tests/check/Makefile.am:
build: silence error about pthread for 'make check' in osx
Fixes "clang: error: argument unused during compilation: '-pthread'"
2015-09-25 15:04:00 +0000 Nikita Bobkov <NikitaDBobkov@gmail.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Fix leaking of media in error cases
With additional fixes by Kseniya Vasilchuk <vasilchukkseniia@gmail.com>
and myself to make the media refcounting a bit easier to follow.
https://bugzilla.gnome.org/show_bug.cgi?id=755632
2016-08-02 15:08:22 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Fix leaking of session in error cases
https://bugzilla.gnome.org/show_bug.cgi?id=755632
2016-07-11 21:16:04 +0200 Stefan Sauer <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From f363b32 to f49c55e
2016-07-06 13:51:15 +0300 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.9.1 ===
2016-07-06 13:28:12 +0300 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.9.1
2016-06-24 02:02:20 +0530 Nirbheek Chauhan <nirbheek@centricular.com>
* configure.ac:
configure: Need to add -DGST_STATIC_COMPILATION when building only statically
https://bugzilla.gnome.org/show_bug.cgi?id=767463
2016-06-21 11:49:02 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.com>
* common:
Automatic update of common submodule
From ac2f647 to f363b32
2016-04-14 22:56:11 -0700 Aleix Conchillo Flaqué <aleix@oblong.com>
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-sdp.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
sdp: add rollover counters for all sender SSRC
We add different crypto sessions in MIKEY, one for each sender
SSRC. Currently, all of them will have the same security policy, 0.
The rollover counters are obtained from the srtpenc element using the
"stats" property.
https://bugzilla.gnome.org/show_bug.cgi?id=730539
2016-06-07 20:44:42 +0100 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-server.h:
docs: fix some typos
2016-05-25 10:28:43 +0100 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/Makefile.am:
g-i: pass compiler env to g-ir-scanner
It's what introspection.mak does as well. Should
fix spurious build failures on gnome-continuous
(caused by g-ir-scanner getting compiler details
via python which is broken in some environments
so passing the compiler details bypasses that).
2016-05-18 16:48:44 +0100 Ian <ian.arkver.dev@gmail.com>
* gst/rtsp-server/rtsp-session.c:
rtsp-session: RFC2326 does not allow a space between ; and timeout in the Session header
This works with rtspsrc and live555, but fails with e.g. ffmpeg.
https://bugzilla.gnome.org/show_bug.cgi?id=766619
2016-03-07 14:48:38 +0100 Edward Hervey <bilboed@bilboed.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: Check return value of sscanf
And just make sure we always have 0/0 if we have an error
CID #1352031
2016-04-25 08:55:25 -0400 Jake Foytik <jake.foytik@ipconfigure.com>
* gst/rtsp-server/rtsp-stream.c:
* tests/check/gst/rtspserver.c:
* tests/check/gst/stream.c:
rtsp-stream: Fix crash on cleanup with shared media and multiple udpsrc
- Unicast udpsrcs are now managed in a hash table. This allows for proper cleanup in with shared streams and fixes a memory leak.
- Unicast udpsrcs are now properly cleaned up when shared connections exit. See the update_transport() function.
- Create unit test for shared media.
https://bugzilla.gnome.org/show_bug.cgi?id=764744
2016-04-11 10:55:23 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Always bind to ANY when address is a multicast address and not only on Windows
For IPv6 addresses, binding to a multicast group does not work on Linux
either. Always bind to ANY and then later join the multicast group.
https://bugzilla.gnome.org/show_bug.cgi?id=764679
2016-04-14 10:05:02 +0100 Julien Isorce <j.isorce@samsung.com>
* common:
Automatic update of common submodule
From 6f2d209 to ac2f647
2016-04-06 10:09:46 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-thread-pool.c:
rtsp-thread-pool: explained why GSource is a part of ThreadImpl
Clarified why it is necessary to add source information to
GstRTSPThreadImpl. See the reported bug in GLib:
https://bugzilla.gnome.org/show_bug.cgi?id=720186
for more information.
https://bugzilla.gnome.org/show_bug.cgi?id=761702
2016-04-04 12:58:38 +0300 Sebastian Dröge <sebastian@centricular.com>
* examples/Makefile.am:
examples: Clean up CFLAGS/LDADD even more
The internal .la should come first and is part of LDADD, as is
GST_CFLAGS/LIBS.
2016-04-04 12:39:39 +0300 Sebastian Dröge <sebastian@centricular.com>
* examples/Makefile.am:
examples: Clean up CFLAGS/LDADD to link with the correct versions of all libraries
2016-04-03 12:06:29 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/Makefile.am:
rtsp-server: Use $(GST_NET_LIBS) / $(GST_NET_CFLAGS)
2015-12-30 18:39:05 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-server: Implement clock signalling according to RFC7273
For NTP and PTP clocks we signal the actual clock that is used and signal
the direct media clock offset.
For all other clocks we at least signal that it's the local sender clock.
This allows receivers to know which clock was used to generate the media and
its RTP timestamps. Receivers can then implement network synchronization,
either absolute or at least relative by getting the sender clock rate directly
via NTP/PTP instead of estimating it from RTP timestamps and packet receive
times.
https://bugzilla.gnome.org/show_bug.cgi?id=760005
2016-03-02 19:42:58 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: Add support for setting the multicast interface
https://bugzilla.gnome.org/show_bug.cgi?id=763000
2016-03-02 19:42:13 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-media: Add support for setting the multicast interface
https://bugzilla.gnome.org/show_bug.cgi?id=763000
2016-03-07 08:50:01 +0900 Vineeth TM <vineeth.tm@samsung.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763196
2016-03-24 13:33:43 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.8.0 ===
2016-03-24 13:00:35 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.8.0
2016-03-16 23:35:09 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Don't set the state of the appsrc from PLAYING to PAUSED again during setup
This would get us NO_PREROLL in the bin again and break seeking.
Thanks to Carlos Rafael Giani for helping to debug this!
https://bugzilla.gnome.org/show_bug.cgi?id=740509
=== release 1.7.91 ===
2016-03-15 12:26:13 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.7.91
2016-03-10 13:54:38 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Ensure that the pipeline is live and later-added udpsrcs are syncing the state with the parent bin
Without this, RECORD pipelines are broken because
a) we wait for ASYNC_DONE which never happens anymore because udpsrc would be
added later. Previously it was there earlier and due to NO_PREROLL caused the
pipeline to preroll immediately
b) the udpsrc for the pipeline is added later and never set to PLAYING state,
as the corresponding code previously was only for PLAY pipelines.
https://bugzilla.gnome.org/show_bug.cgi?id=763281
2016-03-11 01:22:54 +1100 Jan Schmidt <jan@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Fix typo in the docstring
gst_rtsp_stream_set_client_side -> gst_rtsp_stream_is_client_side
2016-03-05 10:52:11 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Disable multicast loopback for all our sockets
On Windows this is a receiver-side setting, on Linux a sender-side setting. As
we provide a socket ourselves to udpsrc, udpsrc is never setting the multicast
loopback setting on the socket... while udpsink does which unfortunately has
no effect here on Windows but on Linux.
https://bugzilla.gnome.org/show_bug.cgi?id=757488
2016-03-03 15:07:06 +0100 Patricia Muscalu <patricia@axis.com>
* tests/check/gst/stream.c:
stream tests: added new tests
Test a case when the address pool only contains multicast addresses
and the client is requesting unicast udp.
Added tests for multicast ports allocation.
https://bugzilla.gnome.org/show_bug.cgi?id=757488
2016-03-04 13:51:12 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Only bind multicast sockets to ANY on Windows
On Linux it is still needed to bind to the multicast address
to filter out random other packets, while on Windows binding
to multicast addresses just fails.
2016-03-03 10:41:51 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Only use the address pool for unicast UDP if it contains unicast addresses
Otherwise we fail to allocate UDP ports if the pool only contains multicast
addresses, which is something that used to work before. For unicast addresses
if the pool contains none, we just allocate them as if there is no pool at
all.
https://bugzilla.gnome.org/show_bug.cgi?id=757488
2016-03-02 11:48:49 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
rtsp-server: Fix indentation
2016-03-02 11:47:47 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Don't bind the sockets to multicast addresses
This works on Linux but fails completely on Windows. You're supposed
to bind to ANY and then join the multicast group.
https://bugzilla.gnome.org/show_bug.cgi?id=757488
=== release 1.7.90 ===
2016-03-01 19:00:45 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.7.90
2016-02-26 12:42:51 +0200 Sebastian Dröge <sebastian@centricular.com>
* common:
Automatic update of common submodule
From b64f03f to 6f2d209
2016-02-24 00:10:52 +1100 Jan Schmidt <jan@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
* tests/check/gst/rtspclientsink.c:
rtspsink: Fix some leaks in rtspclientsink and the unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=762525
2016-02-23 15:01:22 +0100 Patricia Muscalu <patricia@axis.com>
* tests/check/gst/media.c:
* tests/check/gst/rtspclientsink.c:
* tests/check/gst/rtspserver.c:
* tests/check/gst/stream.c:
tests: unit test fixes
Removed port allocation test from the media suite.
The port allocation failure is now in the stream suite.
rtspserver:
Make sure that the media is suspended after the DESCRIBE request
before reconfiguring the UDP sinks.
rtspclientsink:
In the RECORD case we have to set async property to false
for the appsink element in the test in order to make sure
that the media pipeline doesn't hang in start_preroll().
https://bugzilla.gnome.org/show_bug.cgi?id=757488
2016-02-23 14:59:32 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-stream: postpone UDP socket allocation until SETUP
Postpone the allocation of the UDP sockets until we know
what transport has been chosen by the client.
Both unicast and multicast UDP sources are created in one
function.
https://bugzilla.gnome.org/show_bug.cgi?id=757488
2016-01-13 11:29:35 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: postpone the creation of the UDP sources
Code refactoring: allocate the UDP ports after the sender and
the reciver parts have been created.
We postpone the creation of the UDP sources until the UDP
ports have been allocated.
https://bugzilla.gnome.org/show_bug.cgi?id=757488
2016-01-13 10:55:40 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: added function for setting UDP sources to PLAYING state
Code refactoring: Introduced a function for setting UDP sources
to PLAYING state.
https://bugzilla.gnome.org/show_bug.cgi?id=757488
2015-11-20 15:34:43 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: added function for creating and configuring UDP sources
Code refactoring: create and configure UDP sources in a separate function.
https://bugzilla.gnome.org/show_bug.cgi?id=757488
2015-11-20 14:43:38 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: added function for RTP/RTCP socket configuration
Code refactoring: configure RTP and RTCP sockets for UDP sinks
in a separate function.
https://bugzilla.gnome.org/show_bug.cgi?id=757488
2015-11-20 08:38:42 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: added function for creating and configuring UDP sinks
Code refactoring: create and configure UDP sinks in a separate function.
https://bugzilla.gnome.org/show_bug.cgi?id=757488
2015-11-19 14:09:25 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: added helper function for creating the sender/receiver parts
Code refactoring: introduced helper function for creating
the receiver and the sender parts of the streaming pipeline.
https://bugzilla.gnome.org/show_bug.cgi?id=757488
2016-02-19 12:38:42 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.7.2 ===
2016-02-19 12:03:18 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.7.2
2016-02-18 15:20:05 +0000 Julien Isorce <j.isorce@samsung.com>
* pkgconfig/gstreamer-rtsp-server-uninstalled.pc.in:
uninstalled.pc: add support for non libtool build systems
Currently the .la path is provided which requires to use libtool as
mentioned in the GStreamer manual section-helloworld-compilerun.html.
It is fine as long as the application is built using libtool.
So currently it is not possible to compile a GStreamer application
within gst-uninstalled with CMake or other build system different
than autotools.
This patch allows to do the following in gst-uninstalled env:
gcc test.c -o test $(pkg-config --cflags --libs gstreamer-1.0 \
gstreamer-rtsp-server-1.0)
Previously it required to prepend libtool --mode=link
https://bugzilla.gnome.org/show_bug.cgi?id=720778
2016-02-09 10:34:22 +0000 Luis de Bethencourt <luisbg@osg.samsung.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: remove check for impossible condition
Goto error label checks stream to see if it needs to be unreferenced before
returning, but this goto jumps happens before the stream is ever set, so it
will always be NULL in this error label.
CID #1352034
2016-02-08 23:33:03 +0000 Luis de Bethencourt <luisbg@osg.samsung.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: clean switch statements
Coverity demands for fallthrough statements to be clearly commented,
to distinguish from accidental fall throughs. And it also needs all
cases to finish with a break, even if the break is never going to be
executed like in the case of a continue jump.
CID #1352039
CID #1352040
2016-02-05 20:03:01 -0300 Thiago Santos <thiagoss@osg.samsung.com>
* tests/check/Makefile.am:
tests: extend the AM_TESTS_ENVIRONMENT from check.mak
To get the CK_DEFAULT_TIMEOUT defined for all tests
Also removes a 120 seconds timeout that was set as default
explicitly in this module
https://bugzilla.gnome.org/show_bug.cgi?id=761472
2016-02-05 18:11:41 -0300 Thiago Santos <thiagoss@osg.samsung.com>
* autogen.sh:
* common:
Automatic update of common submodule
From 86e4663 to b64f03f
2016-02-02 09:01:51 +0100 Steven Hoving <sh@bigbrother.nl>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: fix state_lock not locked again when preroll fails
https://bugzilla.gnome.org/show_bug.cgi?id=761399
2016-01-28 22:05:56 +0100 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
configure: Move plugin specific flags below all the others
They use some of the other flags, like $GST_ALL_LDFLAGS which is adding
-no-undefined. And -no-undefined is required on Windows to build DLLs.
2016-01-28 04:58:00 +1100 Jan Schmidt <jan@centricular.com>
* gst/rtsp-sink/gstrtspclientsink.c:
rtspclientsink: Simplify slightly using new -base API
Use the new Mikey and SDP API in the base plugins libs
to simplify some code.
https://bugzilla.gnome.org/show_bug.cgi?id=758180
2015-11-17 01:12:28 +1100 Jan Schmidt <jan@centricular.com>
* .gitignore:
* configure.ac:
* gst/Makefile.am:
* gst/rtsp-sink/Makefile.am:
* gst/rtsp-sink/gstrtspclientsink.c:
* gst/rtsp-sink/gstrtspclientsink.h:
* gst/rtsp-sink/plugin.c:
* tests/check/Makefile.am:
* tests/check/gst/rtspclientsink.c:
rtspsink: Add rtspclientsink element
Add an rtspclientsink element that accepts streams for which
there is a registered payloader and sends them to
an RTSP server using RECORD.
Sending is synchronised to the pipeline clock. Payload-types
are automatically selected. The 'new-payloader' signal is fired
for custom configuration of payloaders when they are created.
Can now stream a movie like this:
receiver:
./test-record "( decodebin name=depay0 ! videoconvert ! autovideosink \
decodebin name=depay1 ! audioconvert ! autoaudiosink )"
sender:
gst-launch-1.0 filesrc location=file-with-aac-and-h264.mp4 ! qtdemux name=d ! \
queue ! aacparse ! rtspclientsink location=rtsp://127.0.0.1:8554/test name=s \
https://bugzilla.gnome.org/show_bug.cgi?id=758180
2015-11-17 01:12:28 +1100 Jan Schmidt <jan@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-stream: Add functions for using rtsp-stream from the client
Add a boolean to indicate that the rtsp-stream is running on the
'client' side of an RTSP connection, for sending streams via
RECORD. In that case, the roles of the client/server ports
in transport setup are swapped.
https://bugzilla.gnome.org/show_bug.cgi?id=758180
2015-11-17 01:12:28 +1100 Jan Schmidt <jan@centricular.com>
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-sdp.h:
rtsp-sdp: Add gst_rtsp_sdp_from_stream()
A new function that adds info from a GstRTSPStream into an SDP message.
https://bugzilla.gnome.org/show_bug.cgi?id=758180
2016-01-28 09:22:18 +0100 Steven Hoving <sh@bigbrother.nl>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Fix mutex beeing unlocked while they should be locked
https://bugzilla.gnome.org/show_bug.cgi?id=761226
2016-01-15 07:01:37 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
rtsp-media-factory: add missing break in "clock" property setter
CID 1348453
2016-01-05 13:10:36 +0100 Srimanta Panda <srimanta@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: fixed assert during update transport
When RTSP server trying update transport during multicast, it throws an
assert. The assert is thrown because it is trying to get the parent of
an non-existing funnel element.
https://bugzilla.gnome.org/show_bug.cgi?id=760150
2016-01-03 17:26:31 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-permissions.h:
* gst/rtsp-server/rtsp-thread-pool.h:
* gst/rtsp-server/rtsp-token.h:
docs: remove dummy function declarations with G_INLINE_FUNC for gtk-doc
gtk-doc can handle static inline functions just fine these days,
there's no need for this stuff any more.
2015-10-07 18:53:01 +0900 Hyunjun Ko <zzoon.ko@samsung.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-sdp.c:
sdp: replace duplicated codes to call new base sdp apis
https://bugzilla.gnome.org/show_bug.cgi?id=745880
2015-12-30 16:34:30 +0200 Sebastian Dröge <sebastian@centricular.com>
* examples/test-netclock.c:
test-netclock: Use the new API to configure a clock directly
2015-12-30 16:31:13 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
rtsp-media: Add API to directly configure a clock on the media pipelines
2015-12-30 16:43:17 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Fix typo in docs gst_rtsp_media_set_latncy() -> latency()
2015-12-30 16:30:38 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
rtsp-media-factory: Add FIXME for 2.0
2015-12-30 16:29:45 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Fix indentation
2015-12-22 12:08:02 +0100 Sebastian Rasmussen <sebras@hotmail.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Do not prepare media after media times out
Deferred calls to start_prepare() can be deferred past the point until
which wait_preroll() and by proxy gst_rtsp_media_get_status() is
prepared to wait. Previously there was no lock and no check for this
situation. This meant that a media could be prepared and unprepared
simultaneously by two different threads. Now a lock is in place and a
suitable check is done.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=759773
2015-12-09 18:24:24 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
rtsp-media: Add property to decide if sending media should be stopped when a client disconnects without TEARDOWN
Without TEARDOWN it might be desireable to keep the media running and continue
sending data to the client, even if the RTSP connection itself is
disconnected.
Only do this for session medias that have only UDP transports. If there's at
least on TCP transport, it will stop working and cause problems when the
connection is disconnected.
https://bugzilla.gnome.org/show_bug.cgi?id=758999
2015-12-24 15:29:33 +0100 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.7.1 ===
2015-12-24 14:54:06 +0100 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.7.1
2015-12-21 00:43:49 +0100 Koop Mast <kwm@rainbow-runner.nl>
* configure.ac:
configure: Make -Bsymbolic check work with clang.
Update the -Bsymbolic check with the version glib has. This version
works with clang.
https://bugzilla.gnome.org/show_bug.cgi?id=759713
2015-11-17 22:30:54 -0500 Olivier Crête <olivier.crete@collabora.com>
* gst/rtsp-server/rtsp-session-pool.c:
rtsp-session-pool: Avoid dollar sign ($) in session ids
Live555 in VLC strips off dollar signs and then gets very confused,
we don't loose too much entropy by just skipping it.
2015-11-10 14:17:18 -0500 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-address-pool.h:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media-factory-uri.h:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-mount-points.h:
* gst/rtsp-server/rtsp-permissions.h:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-media.h:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.h:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.h:
* gst/rtsp-server/rtsp-thread-pool.h:
* gst/rtsp-server/rtsp-token.h:
rtsp-server: Add g_autoptr() support to all types
https://bugzilla.gnome.org/show_bug.cgi?id=754464
2015-12-08 08:27:20 +0100 Srimanta Panda <srimanta@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: fixed valgrind error
Fixed the valgrind error in unit test. The UDP source created during
gst_rtsp_stream_join_bin() was not released while destroying the rtp
bin.
https://bugzilla.gnome.org/show_bug.cgi?id=759010
2015-12-07 09:11:35 -0500 Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
* autogen.sh:
* common:
Automatic update of common submodule
From b319909 to 86e4663
2015-11-18 11:14:39 +0100 Srimanta Panda <srimanta@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: suspend media during setup request
SETUP request from clients needs to suspend the media to clear the
prerolled buffers. Otherwise it will not affect the prerolled buffer
and the prerolled buffers will be incorrect (for example block-size
from setup request will not affect the prerolled buffer unless the
media is suspended).
https://bugzilla.gnome.org/show_bug.cgi?id=758268
2015-12-04 08:01:37 +0100 Srimanta Panda <srimanta@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: create stream pipeline based on transport
Based on the protocol, create the rtsp stream pipeline. If only TCP or
only UDP is set as the transport protocol, it will not add the extra tee
or queue element to the pipeline. Both these elements will be added, if
it supports both TCP and UDP protocols. This improves the pipeline
performance when one protocol is present.
https://bugzilla.gnome.org/show_bug.cgi?id=758179
2015-11-19 15:01:16 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Only create RTP sending/receiving rtpbin pads if needed
Adding them when not needed will start some logic inside rtpbin that might be
problematic. Also if e.g. for a sender media we suddenly receive RTP data, we
would start up a rtpjitterbuffer and behave in weird ways.
We still set up the UDP sources for RTP receiving for a sender media to be
able to receive any packets sent by the client for NAT traversal. They will
all go to a fakesink though.
Having an rtpjitterbuffer in the media pipeline will cause the pipeline to be
NO_PREROLL, which will cause deadlocks when seeking the media as it will never
receive ASYNC_DONE after a seek.
https://bugzilla.gnome.org/show_bug.cgi?id=758319
2015-11-17 12:44:38 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Disable multicast loopback for the multicast udp sources too
On POSIX this setting is for sender sockets, on Windows for receiver sockets.
Previously we were only setting this for sender sockets, which caused looped
back packets to be received on Windows if a multicast transport was used.
2015-11-17 01:12:28 +1100 Jan Schmidt <jan@centricular.com>
* examples/test-record-auth.c:
* examples/test-record.c:
examples: Actually use the provided port in the record examples
2015-11-17 01:12:28 +1100 Jan Schmidt <jan@centricular.com>
* examples/test-record-auth.c:
test-record-auth: Add the option to build in TLS support
2015-11-17 01:12:28 +1100 Jan Schmidt <jan@centricular.com>
* examples/test-auth.c:
test-auth: Use an 'anonymous' user for unauthenticated default
There's a comment on one of the resources that 'user' and 'admin'
shouldn't even be able to see it, but they can if the default
token is 'admin2', since that gives them access anyway.
2015-11-17 01:12:28 +1100 Jan Schmidt <jan@centricular.com>
* examples/.gitignore:
* examples/Makefile.am:
* examples/test-record-auth.c:
Add test-record-auth example
2015-11-17 01:12:28 +1100 Jan Schmidt <jan@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* tests/check/gst/client.c:
rtsp-client: Report RECORD and ANNOUNCE as supported in the OPTIONS
2015-11-11 14:58:33 +0100 Marcus Prebble <prebble@axis.com>
* gst/rtsp-server/rtsp-server.c:
rtsp-server: Change the logic so we don't pop a NULL context
When doing a port scan (e.g. with nmap) the call to GST_RTSP_CHECK()
will sometimes fail. This call is made before any context is pushed
resulting in an attempt to pop a NULL context.
https://bugzilla.gnome.org/show_bug.cgi?id=757949
2015-10-22 14:32:30 +0200 David Svensson Fors <davidsf@axis.com>
* tests/check/gst/rtspserver.c:
rtspserver: Add udp-mcast transport SETUP test
Refactor utility functions in the test file so they can handle
more than UDP and TCP as lower transport.
https://bugzilla.gnome.org/show_bug.cgi?id=756969
2015-10-22 09:15:21 +0200 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Always unref return value of gst_object_get_parent()
Fixes a leak of a GstBin in the udp-mcast case.
https://bugzilla.gnome.org/show_bug.cgi?id=756968
2015-10-21 14:37:19 +0100 Tim-Philipp Müller <tim@centricular.com>
* common:
Automatic update of common submodule
From b99800a to b319909
2015-10-20 17:29:42 +0300 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Use new GST_ENABLE_EXTRA_CHECKS #define
https://bugzilla.gnome.org/show_bug.cgi?id=756870
2015-10-21 14:28:47 +0300 Sebastian Dröge <sebastian@centricular.com>
* common:
Automatic update of common submodule
From 6babecd to b99800a
2015-10-02 22:25:47 +0300 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Update GLib dependency to 2.40.0
2015-10-02 16:11:05 +0900 Hyunjun Ko <zzoon.ko@samsung.com>
* examples/test-mp4.c:
* gst/rtsp-server/rtsp-stream.c:
stream: listen to sender ssrc signals
https://bugzilla.gnome.org/show_bug.cgi?id=746747
2015-09-29 13:00:51 +0100 Tim-Philipp Müller <tim@centricular.com>
* common:
common: update for new suppression
Makes check-valgrind pass with glib 2.46
2015-09-28 17:40:59 +0200 Sebastian Rasmussen <sebras@hotmail.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Take reference to media that will be prepared
default_prepare() takes a transfer-none reference GstRTSPMedia object.
Later on a g_idle_source_new() is created and a pointer to the media
object is passed as user data. If the media is freed before the idle
source is dispatched the media object pointer is invalid, but the idle
source callback expects it to still be valid. To fix this a reference to
the media object is taken when registering the source callback function
and a corresponding release of the reference is done when the souce is
destroyed.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=755748
2015-08-20 17:01:24 +0900 Vineeth TM <vineeth.tm@samsung.com>
* examples/test-launch.c:
* examples/test-mp4.c:
* examples/test-ogg.c:
* examples/test-record.c:
* examples/test-uri.c:
rtsp-server: Fix memory leaks when context parse fails
When g_option_context_parse fails, context and error variables are not getting free'd
which results in memory leaks. Free'ing the same.
And replacing g_error_free with g_clear_error, which checks if the error being passed
is not NULL and sets the variable to NULL on free'ing.
https://bugzilla.gnome.org/show_bug.cgi?id=753863
2015-09-25 23:51:17 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.6.0 ===
2015-09-25 23:32:52 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.6.0
=== release 1.5.91 ===
2015-09-18 20:12:06 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.5.91
2015-09-17 20:07:34 +0100 Tim-Philipp Müller <tim@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-stream.c:
stream: fix docs for recently-added get/set_buffer_size API
https://bugzilla.gnome.org/show_bug.cgi?id=749095
2015-09-04 11:23:43 +1000 Jan Schmidt <jan@centricular.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Don't crash on encrypted RTX SDP
In parse_keymgmt(), don't mutate the input string that's been passed
as const, especially since we might need the original value again if
the same key info applies to multiple streams (RTX, for example).
https://bugzilla.gnome.org/show_bug.cgi?id=754753
2015-08-22 20:59:40 +1000 Jan Schmidt <jan@centricular.com>
* examples/test-mp4.c:
test-mp4: Support filenames with spaces in them. Error out on too few arguments
2015-08-17 02:36:31 +1000 Jan Schmidt <jan@centricular.com>
* examples/test-record.c:
test-record: Check parameter count and print out help
If no launch pipeline was supplied, print out some help
2015-08-31 22:48:34 +1000 Jan Schmidt <jan@centricular.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-stream: Implement UDP buffer size setting.
Add gst_rtsp_stream_(get|set)_buffer_size and use it to configure the
UDP TX buffer size.
Incorporates a patch by Hyunjun Ko <zzoon.ko@samsung.com>
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=749095
2015-08-31 22:47:45 +1000 Jan Schmidt <jan@centricular.com>
* gst/rtsp-server/rtsp-media.h:
rtsp-media: Fix small typo causing gtk-doc to complain
=== release 1.5.90 ===
2015-08-19 14:15:23 +0300 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.5.90
2015-08-12 14:33:44 +0900 Hyunjun Ko <zzoon.ko@samsung.com>
* gst/rtsp-server/rtsp-media-factory.c:
media-factory: get port number through gst_rtsp_url_get_port
https://bugzilla.gnome.org/show_bug.cgi?id=753473
2015-08-13 11:24:10 +0200 Francisco Velazquez <francisv@ifi.uio.no>
* tests/check/gst/media.c:
media-test: Removing unnecessary assertion
https://bugzilla.gnome.org/show_bug.cgi?id=753385
2015-07-23 14:50:30 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-server.c:
Document that source keeps a ref on server until it's destroyed
https://bugzilla.gnome.org/show_bug.cgi?id=749227
2015-08-08 11:09:57 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
* tests/check/gst/media.c:
media-test: Test for multiple dynamic payload
https://bugzilla.gnome.org/show_bug.cgi?id=753385
2015-08-08 09:40:09 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: Only add fakesink once per pipeline
The intention is to prevent going PLAYING state before pads are created.
If there was mutilple dynamic payload, it would leak few fakesink and
actually prevent from ever reaching playing state.
https://bugzilla.gnome.org/show_bug.cgi?id=753385
2015-08-08 09:08:37 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
Revert "rtsp-media: Only add 1 fakesink per pipeline"
This reverts commit 22bf61f16c1210bb458fc3f53642179a0211104f.
2015-08-07 09:21:36 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Only add 1 fakesink per pipeline
There should be only one fakesink per pipeline, not per dynpay. This
would lead to element naming clash.
2015-07-30 15:32:43 +0900 Vineeth TM <vineeth.tm@samsung.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: assertion error due to wrong condition check
In media to caps function, reserved_keys array is being used for variable i,
leading to GLib-CRITICAL **: g_ascii_strcasecmp: assertion 's1 != NULL' failed
changed it to variable j
https://bugzilla.gnome.org/show_bug.cgi?id=753009
2015-07-29 11:27:05 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Strip keys from the fmtp that we use internally in our caps
Skip keys from the fmtp, which we already use ourselves for the
caps. Some software is adding random things like clock-rate into
the fmtp, and we would otherwise here set a string-typed clock-rate
in the caps... and thus fail to create valid RTP caps
https://bugzilla.gnome.org/show_bug.cgi?id=753009
2015-07-20 16:37:44 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* gst/rtsp-server/rtsp-thread-pool.c:
threadpool: Fix possible warning in gst_rtsp_thread_pool_cleanup()
https://bugzilla.gnome.org/show_bug.cgi?id=752640
2015-07-03 22:00:00 +0200 Stefan Sauer <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From f74b2df to 9aed1d7
2015-06-25 00:04:28 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.5.2 ===
2015-06-24 23:44:37 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.5.2
2015-06-18 13:12:04 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* tests/check/gst/client.c:
rtsp-client: allow application to decide what requirements are supported
Add "check-requirements" signal and vfunc to allow application
(and subclasses) to check the requirements.
Based on patch from Hyunjun Ko <zzoon.ko@samsung.com>
https://bugzilla.gnome.org/show_bug.cgi?id=749417
2015-06-16 17:50:26 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
* common:
Automatic update of common submodule
From 6015d26 to f74b2df
2015-06-11 17:39:00 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Always use real payloader when creating streams
A bin that contains the real payloader might be used as payloader. In this
case we have to get the real payloader for the various properties it provides.
Example use cases for this are bins that payload some media and then have
additional elements that add metadata or RTP extension headers to the stream.
https://bugzilla.gnome.org/show_bug.cgi?id=750800
2015-06-13 17:14:43 +0200 Sebastian Dröge <sebastian@centricular.com>
* examples/test-netclock-client.c:
test-netclock: Use gst_pipeline_set_latency() to set a high-enough, equal latency for all receivers
2015-06-12 23:35:32 +0200 Sebastian Dröge <sebastian@centricular.com>
* examples/test-netclock-client.c:
* examples/test-netclock.c:
test-netclock: Use new ntp-time-source property on rtpbin
Select the clock time to be used as NTP time source. This allows proper
synchronization between receivers, independent of sharing base times, and just
requires them to use the same clock.
2015-06-11 20:41:31 +0200 Sebastian Dröge <sebastian@centricular.com>
* examples/test-netclock-client.c:
* examples/test-netclock.c:
test-netclock: Setting the same base time on sender and receiver is not necessary
It's going to be fixed up by rtpbin when using ntp-sync=TRUE
2015-06-11 17:38:52 +0900 Hyunjun Ko <zzoon.ko@samsung.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: add description for gst_rtsp_stream_request_aux_sender
https://bugzilla.gnome.org/show_bug.cgi?id=750764
2015-06-11 18:10:12 +0900 Hyunjun Ko <zzoon.ko@samsung.com>
* docs/libs/gst-rtsp-server.types:
docs: add missing types
https://bugzilla.gnome.org/show_bug.cgi?id=750764
2015-06-11 17:37:25 +0900 Hyunjun Ko <zzoon.ko@samsung.com>
* docs/libs/gst-rtsp-server-sections.txt:
docs: add missing apis
https://bugzilla.gnome.org/show_bug.cgi?id=750764
2015-06-10 17:14:18 +0200 Sebastian Dröge <sebastian@centricular.com>
* examples/test-netclock-client.c:
test-netclock-client: Use ntp-sync=TRUE and buffer-mode=SYNC for proper synchronization
2015-06-05 22:35:39 -0400 Xavier Claessens <xavier.claessens@collabora.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
GstRTSPAuth: Add client certificate authentication support
https://bugzilla.gnome.org/show_bug.cgi?id=750471
2015-06-09 13:53:47 +0200 Sebastian Dröge <sebastian@centricular.com>
* examples/test-netclock-client.c:
test-netclock-client: Use new GstClock API to wait for clock synchronization
2015-06-09 13:51:02 +0200 Sebastian Dröge <sebastian@centricular.com>
* examples/test-netclock-client.c:
test-netclock-client: Use a GMainLoop and playbin's source-setup signal
A mainloop is needed to get glimagesink to display something on OSX, and
the source-setup signal just makes things a little bit easier.
2015-06-09 11:30:54 +0200 Edward Hervey <bilboed@bilboed.com>
* common:
Automatic update of common submodule
From d9a3353 to 6015d26
2015-06-08 23:08:34 +0200 Stefan Sauer <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From d37af32 to d9a3353
2015-06-07 23:07:31 +0200 Stefan Sauer <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From 21ba2e5 to d37af32
2015-06-07 17:32:29 +0200 Stefan Sauer <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From c408583 to 21ba2e5
2015-06-07 17:06:40 +0200 Stefan Sauer <ensonic@users.sf.net>
* docs/libs/Makefile.am:
docs: remove variables that we define in the snippet from common
This is syncing our Makefile.am with upstream gtkdoc.
2015-06-07 17:16:47 +0200 Stefan Sauer <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From 44a3517 to c408583
2015-06-07 16:44:55 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.5.1 ===
2015-06-07 11:20:01 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.5.1
2015-05-25 16:36:18 +0200 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: No flush during Teardown.
When calling gst_rtsp_watch_write_data in gstrtspconnection.c and
backlog is empty it can happen that just a part of a message will be
sent and rest is in backlog queue. If then flush during teardown
just a part of message will be sent.This can lead to client miss
teardown response since it expect to get the last part of message.
The flushing during teardown was introduced to fix a deadlock that now
is fixed more generally in handle_request by temporary setting backlog
size to unlimited.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=749845
2015-05-27 17:04:41 +0100 Tim-Philipp Müller <tim@centricular.com>
* tests/check/Makefile.am:
tests: Use AM_TESTS_ENVIRONMENT
Needed by the new automake test runner and the
current version of the common submodule.
2015-05-20 17:05:47 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-stream.h:
rtsp-server: Use single-include rtsp header to make sure we get all definitions
2015-05-05 16:46:57 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Mark some more functions static
2015-05-05 16:46:19 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Only unblock the media in suspend() when actually changing the state
Otherwise we're going to lose a few packets for live streams during DESCRIBE.
2015-05-04 16:33:08 +0200 Sebastian Dröge <sebastian@centricular.com>
* examples/test-video-rtx.c:
examples: Use AVPF profile for the RTX example
2015-05-04 16:31:20 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-sdp.c:
rtsp-sdp: Only add RTX to the SDP when using a feedback profile
2015-04-27 19:35:53 +0900 Hyunjun Ko <zzoon.ko@samsung.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: get valid clock-rate from last-sample
clock-rate in last-sample's caps is integer, not unsigned.
To get this value properly, variable needs to be type-casted to int.
https://bugzilla.gnome.org/show_bug.cgi?id=747614
2015-04-26 15:00:05 +0100 Tim-Philipp Müller <tim@centricular.com>
* autogen.sh:
* common:
autogen.sh: only run autopoint if gettext requested in configure.ac
Not just because there happens to be a po directory.
https://bugzilla.gnome.org/show_bug.cgi?id=748058
2015-04-26 14:58:49 +0100 Tim-Philipp Müller <tim@centricular.com>
* configure.ac:
Revert "configure.ac: uncomment gettext version setup"
This reverts commit 1545d8fef7065081079172ec264a0061039ac075.
We don't need a gettext setup here and there's no po
directory either, so no reason why autopoint would be
run in the first place.
See https://bugzilla.gnome.org/show_bug.cgi?id=748058
2015-04-23 18:53:08 +0100 Alistair Buxton <a.j.buxton@gmail.com>
* examples/test-multicast.c:
* examples/test-multicast2.c:
* examples/test-sdp.c:
* examples/test-video-rtx.c:
* examples/test-video.c:
* tests/test-cleanup.c:
* tests/test-reuse.c:
Fix timeout function signatures across tests and examples
2015-04-23 17:27:40 +0100 Tim-Philipp Müller <tim@centricular.com>
* tests/check/Makefile.am:
tests: define GST_CHECK_TEST_ENVIRONMENT_BEACON
Make sure the test environment is set up.
https://bugzilla.gnome.org//show_bug.cgi?id=747624
2015-04-23 17:22:59 +0100 Tim-Philipp Müller <tim@centricular.com>
* configure.ac:
configure: bump automake requirement to 1.14 and autoconf to 2.69
This is only required for builds from git, people can still
build tarballs if they only have older autotools.
https://bugzilla.gnome.org//show_bug.cgi?id=747624
2015-04-20 08:49:57 +0100 Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>
* configure.ac:
configure.ac: uncomment gettext version setup
Fixes autogen.sh. It would run autopoint, which would complain
that it could not find the gettext version in configure.ac.
https://bugzilla.gnome.org/show_bug.cgi?id=748058
2015-04-15 10:06:30 +0900 Hyunjun Ko <zzoon.ko@samsung.com>
* examples/test-video-rtx.c:
test-video-rtx: set exact payload type to PCMA payloader
Setting wrong payload type causes failure to do retransmission through audio stream
https://bugzilla.gnome.org/show_bug.cgi?id=747839
2015-04-15 09:45:23 +0900 Hyunjun Ko <zzoon.ko@samsung.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-stream: fix to get valid each stream data for request-aux-sender signal
Because of duplicated g_signal_connect for request-aux-sender signal,
wrong stream pointer is passed to the signal handler.
Instead of passing each stream, pass stream array and get the relevant stream.
https://bugzilla.gnome.org/show_bug.cgi?id=747839
2015-04-06 10:32:52 +0100 Tim-Philipp Müller <tim@centricular.com>
* acinclude.m4:
* autogen.sh:
Update autogen.sh to latest version from common
Fixes build after aclocal_check etc. helpers have been removed.
2015-04-03 18:58:26 +0100 Tim-Philipp Müller <tim@centricular.com>
* common:
Automatic update of common submodule
From bc76a8b to c8fb372
2015-03-23 21:03:20 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Limit the queues to 1 buffer
We only need them to be able to pre-roll, queueing up more data here
is only going to harm latency and memory usage.
2015-03-23 20:59:52 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Update comment and ASCII art to the latest code
We have a queue in front of the udpsink too to prevent the pipeline from
locking up.
2015-03-21 11:04:05 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-media: Properly return first rtptime
Instead we where returning first GstBuffer timestamp. This would result
in clock skew and unwanted behaviour in RTSP playback.
https://bugzilla.gnome.org/show_bug.cgi?id=746479
2015-03-18 16:44:19 -0400 Nicolas Dufresne <nicolas.dufresne@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Don't leave buffer mapped
If the seq is NULL, the RTP buffer was left mapped. We should always
unmap the buffer.
2015-03-15 12:27:39 +0000 Sebastian Dröge <sebastian@centricular.com>
* README:
Fix typo in README
2015-03-10 09:39:22 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
* tests/check/gst/client.c:
Fix double semicolons
2015-03-09 16:00:07 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Get the seqnum-base and other information from the last buffer in the sink
This gives more accurate values than asking the payloader. There might be
queueing happening between the payloader and the sink.
https://bugzilla.gnome.org/show_bug.cgi?id=745704
2015-03-09 13:00:25 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Don't seek for PLAY if the position will not change
https://bugzilla.gnome.org/show_bug.cgi?id=745704
2015-03-09 10:21:49 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Don't include payload type in the caps for framesize
When the sdp media attribute framesize are converted to caps
the <payload> should not be included.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725335
Based on the patch for rtspsrc by Linus Svensson <linussn@axis.com>
2014-02-26 22:34:06 +0100 Linus Svensson <linussn@axis.com>
* gst/rtsp-server/rtsp-sdp.c:
rtsp-sdp: add payload type to the sdp framesize attribute
The sdp framesize attribute is desribed in RFC6064. It is specified
for payloading of H263 and has the following form
a=framesize:<payload type> <width>-<height>. The <width>-<height> part
should be added to the caps in a payloader and the <payload type> should
be added by the rtsp-server.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725334
2015-03-03 13:51:01 +0000 Luis de Bethencourt <luis.bg@samsung.com>
* examples/test-uri.c:
examples: test-uri: fix tainted variable
Insignificant but this keeps Coverity happy.
CID #1268404
2015-03-03 01:49:42 +1100 Jan Schmidt <jan@centricular.com>
* examples/.gitignore:
* examples/Makefile.am:
* examples/test-netclock-client.c:
* examples/test-netclock.c:
examples: Add a simple example of network synch for live streams.
An example server and client that works for synchronising live streams
only - as it can't support pause/play.
2015-03-03 01:49:42 +1100 Jan Schmidt <jan@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
rtsp-media-factory: Add functions to set/get the media gtype
Allow specifying the GType of a GstRtspMedia subclass to create
as a simpler way to get the factory to create a custom
GstRtspMedia sub-class, without subclassing GstRtspMediaFactory.
2015-02-27 17:45:42 +0100 Gregor Boirie <gregor.boirie@parrot.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: fix double unlock in _get_buffer_size()
Fixes an abort when calling gst_rtsp_media_get_buffer_size()
because of double g_mutex_unlock () usage.
https://bugzilla.gnome.org/show_bug.cgi?id=745434
2015-02-19 10:43:16 +0200 Kent-Inge Ingesson <kenti@axis.com>
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
rtsp-session: Use monotonic time for RTSP session timeout
Changed RTSP session timeout handling to monotonic time
and deprecating the API for current system time.
This fixes timeouts when the system time changes.
https://bugzilla.gnome.org/show_bug.cgi?id=743346
2015-02-13 12:21:16 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
rtsp-client: Only error out in PLAY if seeking actually failed
If the media was just not seekable, we continue from whatever position we are
and let the client decide if that is what is wanted or not.
Only if the actual seek failed, we can't really recover and should error out.
2015-02-12 10:46:28 +0100 Andreas Frisch <fraxinas@opendreambox.org>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Add necessary queues between tee and multiudpsink
https://bugzilla.gnome.org/show_bug.cgi?id=744379
2015-02-12 16:48:46 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
rtsp-media: If seeking fails, don't wait forever for the media to preroll again
Instead error out properly the same way as if the SEEKING query already
failed.
2015-02-11 17:24:38 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-stream.h:
rtsp-stream: minor code formatting fix
2015-02-10 16:39:58 +0000 Luis de Bethencourt <luis.bg@samsung.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: fix logic for collect_streams
Fix the logic of gst_rtsp_media_collect_streams() so after looping collecting
all streams it knows if it got any, and can check if the transport mode is OK.
CID #1268400
2015-02-09 10:21:50 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Don't set the transport mode based on what elements we find
Just print a warning if the one that was set before disagrees with what
elements we found. It must already be set to something before as this
function is called after we received the SDP from ANNOUNCE in RECORD mode,
and we would reject ANNOUNCE if the RECORD flag was not set.
2015-02-08 18:05:50 +0000 Tim-Philipp Müller <tim@centricular.com>
* tests/check/gst/rtspserver.c:
tests: rtspserver: rename shadowed variable
We have two different 'sink' variables here,
rename one of them for clarity.
2015-02-08 12:08:36 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: fix awkward if clause
2015-02-06 19:34:17 +0000 Tim-Philipp Müller <tim@centricular.com>
* examples/test-uri.c:
examples: test-uri: improve uri argument handling and accept file names
Print an error if the argument passed is not a URI and can't
be converted into one, or no arguments have been provided.
2015-02-06 19:15:40 +0000 Tim-Philipp Müller <tim@centricular.com>
* examples/test-uri.c:
examples: test-uri: don't remove mount point after 10 seconds
It's very irritating when trying to test stuff repeatedly
and serves no real purpose other than showing that it can
be done.
2015-01-21 17:32:21 +0000 Tim-Philipp Müller <tim@centricular.com>
* examples/.gitignore:
examples: add new test-record to .gitignore
2015-01-28 18:54:01 +0100 Sebastian Dröge <sebastian@centricular.com>
* examples/test-record.c:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* tests/check/gst/rtspserver.c:
rtsp-media: Use flags to distinguish between PLAY and RECORD media
2015-01-28 17:49:16 +0100 Sebastian Dröge <sebastian@centricular.com>
* examples/test-record.c:
test-record: Set latency for playback-style example to 2s instead of 200ms
2015-01-21 17:27:56 +0000 Tim-Philipp Müller <tim@centricular.com>
* tests/check/gst/rtspserver.c:
tests: add some unit tests for ANNOUNCE and RECORD
https://bugzilla.gnome.org/show_bug.cgi?id=743175
2015-01-21 16:32:44 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: fix a couple of leaks in handle_announce
2015-01-19 13:20:39 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
rtsp-media: Expose latency setting for setting the rtpbin latency
2015-01-17 10:28:13 +0100 Sebastian Dröge <sebastian@centricular.com>
* examples/test-record.c:
test-record: Use GOptionContext to parse the server port and take the pipeline from the commandline
2015-01-16 20:48:42 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Put the timestamp of receival of the initial packet over TCP on the first buffer
2015-01-09 12:40:47 +0100 Sebastian Dröge <sebastian@centricular.com>
* examples/Makefile.am:
* examples/test-record.c:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
Add initial support for RECORD
We currently only support media that is RECORD or PLAY only, not both at once.
https://bugzilla.gnome.org/show_bug.cgi?id=743175
2015-01-30 12:50:20 +0100 Anila Balavan <anilabn@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: RTCP and RTP transport cache cookies seperated
RTCP packets were not sent because the same tr_cache_cookie was used for
both RTP and RTCP. So only one of the tr_cache lists were populated
depending on which one was sent first. If the tr_cache list is not
populated then no packets can be sent. Most often this happened to be
RTCP. Now seperate RTCP and RTP transport cache cookies are added which
resulted in both the tr_cache_lists to be populated regardless of which
one was sent first.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=743734
2015-01-21 14:57:03 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: fix false compiler warning
rtsp-stream.c:3034: error: ‘visited’ may be used uninitialized in this function
2015-01-19 20:35:15 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: log interleaved data received
2015-01-19 20:18:20 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: fix unintentional fallthrough to debug warning when receiving interleaved data
2015-01-19 13:09:20 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: If we have a single-stream media and SETUP contains no control, use the one and only stream
2015-01-18 19:08:36 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Use a random session ID in the SDP
RFC4566 Section 5.2 says that it should make the username, session id,
nettype, addrtype and unicast address tuple globally unique. Always using
1188340656180883 is not going to guarantee that: https://xkcd.com/221/
Instead let's create a 64 bit random number, which at least brings us
closer to the goal of global uniqueness.
https://tools.ietf.org/html/rfc4566#section-5.2
2015-01-17 10:29:36 +0100 Sebastian Dröge <sebastian@centricular.com>
* examples/test-launch.c:
* examples/test-mp4.c:
* examples/test-ogg.c:
* examples/test-uri.c:
examples: Don't call gst_init() and gst_get_option_group()
The latter calls the former at the appropriate time.
2015-01-16 20:04:01 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Drop trailing \0 of RTSP DATA messages
We add a trailing \0 in GstRTSPConnection to make parsing of
string message bodies easier (e.g. the SDP from DESCRIBE) but
for actual data this means we have to drop it or otherwise
create invalid data.
2015-01-16 11:10:20 +0100 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Have one copy of the transports cache for RTP and RTCP each
Fixes crash when two threads access handle_new_sample() at the same
time, one for RTP, one for RTCP.
Otherwise, when iterating over the transports cache, it might be modified by
another thread at the same time if the transports cookie has changed.
https://bugzilla.gnome.org/show_bug.cgi?id=742954
2015-01-15 19:34:20 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Set format=TIME on our app sources for TCP
2015-01-13 15:29:29 +0100 Sebastian Rasmussen <sebrn@axis.com>
* gst/rtsp-server/rtsp-session-pool.c:
Revert "rtsp-session-pool: Make sure session IDs are properly URI-escaped"
This reverts commit 935e8f852d050b4939f1d0f44b38e9b55a2fbe36.
RFC 2326 states that session IDs may consist of alphanumeric as well as
the safe characters $-_.+ -- N.B. the percent character is not allowed.
Previously the session ID was URI-escaped, this meant that any character
which was not alphanumeric or any of the characters +-._~ would be
percent encoded. While the RFC (surprisingly) mentions that linear white
space in session IDs should be URI-escaped, it does not say anything
about other characters. Moreover no white space is allowed in the
session ID. Finally the percent character which is the result of
URI-escaping is not allowed in a session ID.
So there is no reason to do any URI-escaping, and now it is removed.
https://bugzilla.gnome.org/show_bug.cgi?id=742869
2015-01-12 16:14:12 +0100 Stefan Sauer <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From f2c6b95 to bc76a8b
2014-12-31 13:04:57 +0000 Tim-Philipp Müller <tim@centricular.com>
* Makefile.am:
Fix 'make check' from top-level directory
2014-12-30 18:13:49 +0530 Nirbheek Chauhan <nirbheek@centricular.com>
* examples/test-launch.c:
* examples/test-mp4.c:
* examples/test-ogg.c:
* examples/test-uri.c:
examples: Add command-line parsing and take a 'port' argument
This allows users to run multiple servers on different ports for testing.
Only done for examples that actually take arguments and hence are capable of
outputting different streams for each instance on each port.
https://bugzilla.gnome.org/show_bug.cgi?id=742115
2014-12-29 12:06:50 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
rtsp-client: Add a send_message default signal handler
This allows subclasses to easily hook into the response sending
mechanism without doing everything from a signal, which seems
awkward from subclasses.
2014-12-18 10:56:44 +0100 Sebastian Dröge <sebastian@centricular.com>
* common:
Automatic update of common submodule
From ef1ffdc to f2c6b95
2014-12-17 20:02:05 +0100 Sebastian Rasmussen <sebras@hotmail.com>
* Makefile.am:
* configure.ac:
configure: add --disable-examples switch
https://bugzilla.gnome.org/show_bug.cgi?id=741678
2014-12-01 23:42:34 +1100 Matthew Waters <matthew@centricular.com>
* examples/.gitignore:
* examples/Makefile.am:
* examples/test-video-rtx.c:
examples: add a retransmisison example implementing RFC4588
Currently only SSRC-multiplexed rtx streams are supported
2014-12-16 16:46:15 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Fix some minor memory leaks
2014-12-16 16:46:06 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Some minor cleanup
2014-12-16 16:42:13 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Fix compiler warnings
rtsp-stream.c:1351:3: error: non-void function 'gst_rtsp_stream_get_retransmission_time' should return a value [-Wreturn-type]
g_return_if_fail (GST_IS_RTSP_STREAM (stream));
^
rtsp-stream.c:1384:3: error: non-void function 'gst_rtsp_stream_get_retransmission_pt' should return a value [-Wreturn-type]
g_return_if_fail (GST_IS_RTSP_STREAM (stream));
^
2014-11-27 01:12:36 +1100 Matthew Waters <matthew@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
media: implement ssrc-multiplexed retransmission support
based off RFC 4588 and the server-rtpaux example in -good
2014-11-28 12:45:14 +0100 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream.c:
rtsp: Ref transports in hash table.
Also ref streams for transports.
This solves a crash when reciving a rtcp after teardown but before
client finalize.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=740845
2014-11-27 17:13:05 +0100 Edward Hervey <bilboed@bilboed.com>
* common:
Automatic update of common submodule
From 7bb2bce to ef1ffdc
2014-11-07 12:48:53 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: refactor cleanup of cached media
2014-10-23 13:39:10 +0200 Linus Svensson <linussn@axis.com>
* tests/check/gst/client.c:
tests: Remove FIXME
The session leak is now fixed, lets remove those FIXME comments.
2014-10-23 17:54:37 +0200 Linus Svensson <linussn@axis.com>
* tests/check/gst/rtspserver.c:
tests: Test to setup two sessions on one connection
https://bugzilla.gnome.org/show_bug.cgi?id=739112
2014-10-24 12:05:27 +0200 Linus Svensson <linussn@axis.com>
* tests/check/gst/rtspserver.c:
tests: Test setup with tcp transport
https://bugzilla.gnome.org/show_bug.cgi?id=739112
2014-10-24 12:04:54 +0200 Linus Svensson <linussn@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: Configure transport after creating session media
The default implementation of configure_client_transport() in
rtsp-client uses the session media when it chooses channels for
interleaved traffic.
https://bugzilla.gnome.org/show_bug.cgi?id=739112
2014-10-23 12:54:03 +0200 Linus Svensson <linussn@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-session-media.c:
client: Stop caching media in client when doing setup
If the media has been managed by a session media, it should not be
cached in the client any longer. The GstRTSPSessionMedia object is now
responsible for unpreparing the GstRTSPMedia object using
gst_rtsp_media_unprepare(). Unprepare the media when finalizing the
session media.
https://bugzilla.gnome.org/show_bug.cgi?id=739112
2014-10-31 23:01:53 -0700 Aleix Conchillo Flaqué <aleix@oblong.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: unref srtp decoder when leaving bin
https://bugzilla.gnome.org/show_bug.cgi?id=739481
2014-10-29 21:01:39 -0700 Aleix Conchillo Flaqué <aleix@oblong.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: mikey memory leaks
https://bugzilla.gnome.org/show_bug.cgi?id=739383
2014-10-27 18:01:35 +0100 Sebastian Dröge <sebastian@centricular.com>
* common:
Automatic update of common submodule
From 84d06cd to 7bb2bce
2014-10-24 17:48:04 +0100 Tim-Philipp Müller <tim@centricular.com>
* Makefile.am:
Parallelise 'make check-valgrind'
2014-10-21 13:04:14 +0100 Tim-Philipp Müller <tim@centricular.com>
* common:
Automatic update of common submodule
From a8c8939 to 84d06cd
2014-10-21 13:00:49 +0200 Stefan Sauer <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From 36388a1 to a8c8939
2014-10-01 07:12:30 -0400 Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: deactivate media when shutting down from paused
This was only done when going directly from playing.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=737829
2014-10-20 15:40:59 -0700 Aleix Conchillo Flaqué <aleix@oblong.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-context.h:
rtsp-client: add stream transport to context
We add the stream transport to the context so we can get the configured
client stream transport in the setup request signal.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=738905
2014-10-02 12:02:48 -0700 Aleix Conchillo Flaqué <aleix@oblong.com>
* gst/rtsp-server/rtsp-stream.c:
stream: release lock even not all transports have been removed
We don't want to keep the lock even we return FALSE because not all the
transports have been removed. This could lead into a deadlock.
https://bugzilla.gnome.org/show_bug.cgi?id=737797
2014-10-10 18:43:00 -0400 Olivier Crête <olivier.crete@ocrete.ca>
* gst/rtsp-server/rtsp-sdp.c:
rtsp-sdp: Rename clock-base and seqnum-base to timestamp-offset and seqnum-offset
These were renamed in GstRTPBasePayload in 1.0
2014-09-30 16:36:51 -0700 Aleix Conchillo Flaqué <aleix@oblong.com>
* gst/rtsp-server/rtsp-client.c:
client: set session media to NULL without the lock
We need to set session medias to NULL without the client lock otherwise
we can end up in a deadlock if another thread is waiting for the lock
and media unprepare is also waiting for that thread to end.
https://bugzilla.gnome.org/show_bug.cgi?id=737690
2014-09-30 23:22:45 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Set state to UNPREPARING in all cases
2014-09-30 19:17:04 +0200 Ognyan Tonchev <otonchev@gmail.com>
* gst/rtsp-server/rtsp-media.c:
media: set state to unpreparing when unprepare is initiated
https://bugzilla.gnome.org/show_bug.cgi?id=737675
2014-09-30 01:35:02 +0200 Sebastian Rasmussen <sebrn@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Remove backlog limit while processings requests
If the backlog limit is kept two cases of deadlocks may be
encountered when streaming over TCP. Without the backlog
limit this deadlocks can not happen, at the expence of
memory usage.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=737631
2014-09-22 13:32:06 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: do not free main context before rtsp watch
https://bugzilla.gnome.org/show_bug.cgi?id=737110
2014-09-19 18:29:00 +0200 Branko Subasic <branko@axis.com>
* tests/check/gst/rtspserver.c:
tests: Extend unit test timeout to accomodate for valgrind
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=736647
2014-09-19 18:28:50 +0200 Branko Subasic <branko@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-stream-transport.c:
rtsp-*: Treat sending packets to clients as keepalive
As long as gst-rtsp-server can successfully send RTP/RTCP data to
clients then the client must be reading. This change makes the server
timeout the connection if the client stops reading.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=736647
2014-09-19 18:28:30 +0200 Branko Subasic <branko@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Allow backlog to grow while expiring session
Allow the send backlog in the RTSP watch to grow to unlimited size while
attempting to bring the media pipeline to NULL due to a session
expiring. Without this change the appsink element cannot change state
because it is blocked while rendering data in the new_sample callback.
This callback will block until it has successfully put the data into the
send backlog. There is a chance that the send backlog is full at this
point which means that the callback may block for a long time, possibly
forever. Therefore the media pipeline may also be prevented from
changing state for a long time.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=736647
2014-09-22 09:30:39 +0200 Edward Hervey <bilboed@bilboed.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Make old compilers happy
rtsp-client.c:2553:50: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
Just in case that guint8 doesn't fit in a pointer. Just in case ...
2014-09-16 11:41:52 +0200 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: raise the backlog limits before pausing
We need to raise the backlog limits before pausing the pipeline or else
the appsink might be blocking in the render method in wait_backlog() and
we would deadlock waiting for paused.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=736322
2014-09-16 11:29:38 +0200 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: make define for the WATCH_BACKLOG
See https://bugzilla.gnome.org/show_bug.cgi?id=736322
2014-09-09 18:11:39 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: simplify session transport handling
link/unlink of the transport in a session was done to keep track of all
TCP transports and to send RTP/RTCP data to the streams. We can simplify
that by putting all the TCP transports in a hashtable indexed with the
channel number.
We also don't need to link/unlink the transports when we pause/resume
the streams. The same effect is already achieved when we pause/play the
media. Indeed, when we pause the media, the transport is removed from
the media and the callbacks will not be called anymore.
See https://bugzilla.gnome.org/show_bug.cgi?id=736041
2014-09-09 18:10:12 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
stream-transport: make method to handle received data
Make a method to handle the data received on a channel. It sends the
data to the stream of the transport on the RTP or RTCP pads based on
the channel number.
2014-09-15 16:54:05 +0200 Wim Taymans <wtaymans@redhat.com>
* examples/test-mp4.c:
test: add example of dumping RTCP reports
2014-09-08 09:26:23 +0200 Srimanta Panda <srimanta@axis.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-media: Make sure that sequence numbers are monotonic after pause
The sequence number is not monotonic for RTP packets after pause. The
reason is basepayloader generates a randon sequence number when the
pipeline goes from ready to pause. With this fix generation of sequence
number will be monotonic when going from pause to play request.
https://bugzilla.gnome.org/show_bug.cgi?id=736017
2014-08-28 13:35:15 +0200 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Protect saved clients watch with a mutex
Fixes a crash when close() is called while merging clients
in handle_tunnel(). In that case close() would destroy the
watch while it is still being used in handle_tunnel().
https://bugzilla.gnome.org/show_bug.cgi?id=735570
2014-08-13 17:22:16 +0300 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Remove the multicast group udp sources when removing from the bin
2014-08-05 16:12:19 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-media: Query position and stop time only on the RTP parts of the pipeline
The RTCP parts, in specific the RTCP udpsinks, are not flushed when
seeking and will always continue counting the time. This leads to
the NPT after a backwards seek to be something completely different
to the actual seek position.
https://bugzilla.gnome.org/show_bug.cgi?id=732644
2014-08-09 14:41:35 +0100 Tim-Philipp Müller <tim@centricular.com>
* examples/test-appsrc.c:
examples: fix another reference leak
gst_rtsp_media_get_element() returns a new ref.
2014-07-17 01:34:17 +0200 Sebastian Rasmussen <sebras@hotmail.com>
* examples/test-appsrc.c:
examples: unref element after usage
gst_bin_get_by_name_recurse_up() returns an element
reference that must be unreffed after usage.
https://bugzilla.gnome.org/show_bug.cgi?id=734546
2014-07-02 22:45:07 +0530 Arun Raghavan <arun@accosted.net>
* gst/rtsp-server/rtsp-media.c:
signals: Fix copy-pasto in target-state signal offset
2014-08-01 10:46:44 +0200 Edward Hervey <edward@collabora.com>
* Makefile.am:
* common:
Makefile: Add usage of build-checks step
Allows building checks without running them
2014-06-25 18:23:10 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Listen on the multicast group for RTP/RTCP packets
When a UDP multicast transport is used it is expected that the server listens
for RTP and RTCP packets on the multicast group with the corresponding port.
Without this we will never get RTCP packets from clients in multicast mode.
https://bugzilla.gnome.org/show_bug.cgi?id=732238
2014-07-19 18:04:52 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.4.0 ===
2014-07-19 17:56:31 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.4.0
2014-07-16 20:39:42 +0900 Hyunjun Ko <zzoonis@gmail.com>
* gst/rtsp-server/rtsp-media.h:
media: correct misspelled words in description
https://bugzilla.gnome.org/show_bug.cgi?id=733244
=== release 1.3.91 ===
2014-07-11 12:19:08 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.3.91
2014-07-10 17:37:45 +0200 Wim Taymans <wtaymans@redhat.com>
* docs/libs/gst-rtsp-server-sections.txt:
docs: update docs
2014-07-10 17:10:06 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-server.c:
server: implement client REMOVE filter
2014-07-10 17:05:13 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: expose _close() method
Expose a previously internal close method to close the client
connection.
2014-07-10 12:20:15 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-session-pool.c:
session-pool: signal session-removed outside of the lock
Release the lock before emiting the session-removed signal.
2014-07-10 11:32:20 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-stream.c:
filter: Release lock in filter functions
Release the object lock before calling the filter functions. We need to
keep a cookie to detect when the list changed during the filter
callback. We also keep a hashtable to make sure we only call the filter
function once for each object in case of concurrent modification.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732950
2014-07-09 15:16:08 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: check if watch is set in handle_teardown()
The unit tests run without a watch
2014-07-09 14:19:10 +0200 Ognyan Tonchev <ognyan@axis.com>
* tests/check/gst/client.c:
client tests: send teardown to cleanup session
2014-07-09 14:17:46 +0200 Ognyan Tonchev <ognyan@axis.com>
* tests/check/gst/rtspserver.c:
server tests: send teardown to cleanup session
2014-07-09 15:01:31 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: keep ref to client for the session removed handler
This extra ref will be dropped when all client sessions have been
removed. A session is removed when a client sends teardown, closes its
endpoint of the TCP connection or the sessions expires.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732226
2014-07-08 12:36:12 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-session.c:
* tests/check/gst/client.c:
client: manage media in session as a last step
Once we manage a media in a session, we can't unmanage it anymore
without destroying it. Therefore, first check everything before we
manage the media, otherwise if something is wrong we have no way to
unmanage the media.
If we created a new session and something went wrong, remove the session
again. Fixes a leak in the unit test.
2014-07-03 19:52:42 +0100 Tim-Philipp Müller <tim@centricular.com>
* examples/test-mp4.c:
* examples/test-ogg.c:
examples: print 'stream ready at url' for mp4 and ogg example
2014-07-02 16:04:53 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-sdp.c:
rtsp: fix for MIKEY api change
2014-07-01 16:12:13 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: free watch context only once
The watch context is freed when the source is destroyed. Avoids
a CRITICAL when we try to unref the context twice.
2014-07-01 15:02:15 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: fix build
2014-07-01 14:41:14 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: protect sessions with lock
Protect the list of sessions with the lock.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732226
2014-07-01 12:13:47 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
Client: keep a ref to the session
Don't just keep a weak ref to the session objects but use a hard ref. We
will be notified when a session is removed from the pool (expired) with
the new session-removed signal.
Don't automatically close the RTSP connection when all the sessions of
a client are removed, a client can continue to operate and it can create
a new session if it wants. If you want to remove the client from the
server, you have to use gst_rtsp_server_client_filter() now.
Based on patch from Ognyan Tonchev <ognyan.tonchev at axis.com>
See https://bugzilla.gnome.org/show_bug.cgi?id=732226
2014-06-30 15:14:34 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session-pool.h:
session-pool: add session-removed signal
Add a signal to be notified when a session is removed from the pool.
2014-06-30 00:37:59 -0700 Evan Nemerson <evan@nemerson.com>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-server.h:
Make rtsp-server.h a single-include header, use it for G-I
https://bugzilla.gnome.org/show_bug.cgi?id=732411
=== release 1.3.90 ===
2014-06-28 11:48:29 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.3.90
2014-06-27 16:54:22 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream.c:
stream: crypto can be NULL
2014-06-11 16:42:08 -0700 Evan Nemerson <evan@nemerson.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-mount-points.c:
introspection: add missing allow-none annotations
https://bugzilla.gnome.org/show_bug.cgi?id=730952
2014-06-11 16:38:36 -0700 Evan Nemerson <evan@nemerson.com>
* gst/rtsp-server/rtsp-address-pool.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-token.c:
introspection: add (nullable) annotations to return values
https://bugzilla.gnome.org/show_bug.cgi?id=730952
2014-06-24 09:48:45 +0200 Evan Nemerson <evan@nemerson.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
gi: improve annotations
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=730953
2014-06-24 09:43:44 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-server.c:
signals: use generic marshal function
Use the generic C marshal function.
Use more explicit type instead of G_TYPE_POINTER
2014-06-24 09:42:47 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-context.h:
context: add type macro
2014-06-24 09:34:50 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-sdp.h:
sdp: hide key length defines
They don't have a namespace.
2014-06-22 19:37:31 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.3.3 ===
2014-06-22 19:36:14 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.3.3
2014-05-20 14:48:37 -0700 Aleix Conchillo Flaqué <aleix@oblong.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-sdp.h:
mikey: add different key length parameters
Add encryption and authentication key length parameters to MIKEY. For
the encoders, the key lengths are obtained from the cipher and auth
algorithms set in the caps. For the decoders, they are obtained while
parsing the key management from the client.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=730472
2014-03-16 17:29:48 +0100 Ognyan Tonchev <otonchev@gmail.com>
* tests/check/gst/stream.c:
stream tests: Make sure we get right multicast address from stream
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=731577
2014-06-12 13:49:17 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: ref the context until rtsp watch is alive
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=731569
2014-06-12 13:48:44 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: Destroy the rtsp watch after connection close
2014-06-13 16:46:06 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
media: fix confusing comment
2014-05-27 12:36:52 +0200 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-session.c:
rtsp-session: Timeout in header.
Adding the possbilty to always have timout in header.
This is configurabe with setting "timeout-always-visible".
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=728264
2014-05-21 13:23:40 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.3.2 ===
2014-05-21 13:06:36 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* common:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.3.2
2014-05-21 10:54:05 +0200 Sebastian Dröge <sebastian@centricular.com>
* common:
Automatic update of common submodule
From 211fa5f to 1f5d3c3
2014-05-20 15:57:30 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: store TCP ports in transport
Store the TCP ports in the transport when we are doing RTSP over TCP.
This way, we can easily get to the ports from the transport.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=729776
2014-05-15 18:15:04 -0700 Aleix Conchillo Flaqué <aleix@oblong.com>
* gst/rtsp-server/rtsp-stream.c:
stream: add signals for new RTP/RTCP encoders
New signals to allow the user to configure the dynamically created
encoders.
https://bugzilla.gnome.org/show_bug.cgi?id=730228
2014-05-14 09:31:31 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: Make suspend()/unsuspend() virtual
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=730109
2014-05-09 17:25:07 -0700 Aleix Conchillo Flaqué <aleix@oblong.com>
* gst/rtsp-server/rtsp-client.c:
client: fix send-message signal marshaller
Use generic marshalling for the send-message signal. It has
two POINTER arguments, not just one.
https://bugzilla.gnome.org/show_bug.cgi?id=729900
2014-05-09 15:08:48 +0200 Wim Taymans <wtaymans@redhat.com>
* tests/check/gst/media.c:
tests: add and remove pads only once
In this test we simulate a dynamic pad by watching the caps event.
Because of renegotiation in the base payloader now, this caps is sent
multiple times but we can only deal with 1 invocation, use a variable to
only 'add and remove' the pad once.
2014-05-02 20:06:29 +0100 Tim-Philipp Müller <tim@centricular.com>
* tests/check/gst/rtspserver.c:
tests: add unit test for correct handling of Require headers
https://bugzilla.gnome.org/show_bug.cgi?id=729426
2014-05-02 19:59:23 +0100 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: handle Require headers and respond with OPTION_NOT_SUPPORTED
Servers must handle Require headers and must report a failure
if they don't handle any of the Required options, see RFC 2326,
section 12.32: https://tools.ietf.org/html/rfc2326#page-54
https://bugzilla.gnome.org/show_bug.cgi?id=729426
2014-05-03 20:48:43 +0200 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
Back to development
=== release 1.3.1 ===
2014-05-03 18:40:24 +0200 Sebastian Dröge <sebastian@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
Release 1.3.1
2014-05-03 10:18:00 +0200 Sebastian Dröge <sebastian@centricular.com>
* common:
Automatic update of common submodule
From bcb1518 to 211fa5f
2014-05-02 19:58:15 +0100 Tim-Philipp Müller <tim@centricular.com>
* .gitignore:
Update .gitignore
2014-05-02 19:57:23 +0100 Tim-Philipp Müller <tim@centricular.com>
* tests/check/gst/sessionmedia.c:
tests: fix memory leak in sessionmedia unit test
2014-05-01 06:17:06 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: emit a signal before sending a message
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=728970
2014-05-01 06:07:08 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: pass context to send_message
Pass the current context to send_message, we will need it later.
2014-05-01 05:29:54 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: fix typo in comment
2014-04-14 15:17:14 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
media: Do not stop thread twice if default_prepare() fails
2014-04-15 16:51:17 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: set the watch to flushing before going to NULL
First set the watch to flushing so that we unblock any current and
future attempt to send data on the watch, Then set the pipeline to
NULL.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=728153
2014-04-11 23:52:49 +0200 Linus Svensson <linusp.svensson@gmail.com>
* gst/rtsp-server/rtsp-session-pool.c:
* tests/check/gst/sessionpool.c:
rtsp-session-pool: Fixes annotation
Fixes annotation for gst_rtsp_session_pool_create() and memory leaks
in the sessionpool test.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=728060
2014-04-09 16:44:21 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: make media_prepare virtual
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=728029
2014-04-12 05:57:00 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
* tests/check/gst/media.c:
media: stop the thread in more error cases
2014-04-12 05:53:15 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
* tests/check/gst/media.c:
media: allow NULL as the thread
Use the default context whan passing a NULL thread.
2014-04-10 16:39:11 +0100 Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: indent cleanup
Coverity was moaning about unreachable code, and I think it was just
confused by { being before the label. We'll see if it pops up again.
Coverity 1197705
2014-04-01 13:04:21 +0200 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
client: Add drop-backlog property
When we have too many messages queued for a client (currently hardcoded
to 100) we overflow and drop the messages. Add a drop-backlog property
to control this behaviour. Setting this property to FALSE will retry
to send the messages to the client by waiting for more room in the
backlog.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725898
2014-04-03 12:19:51 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: support for POST before GET when setting up a tunnel
2014-04-02 12:03:32 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: remove watch of the second client after http tunnel setup
The second client will be freed after the HTTP tunnel has been set up.
Make sure it's RTSP watch is never dispatched again.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=727488
2014-03-31 11:00:11 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
* tests/check/gst/media.c:
media: Make media_prepare() fail if port allocation fails
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=727376
2014-04-01 16:55:13 +0200 Linus Svensson <linussn@axis.com>
* tests/check/gst/media.c:
media test: cleanup the thread pool in tests
2014-04-01 13:16:26 +0200 Linus Svensson <linussn@axis.com>
* gst/rtsp-server/rtsp-media.c:
* tests/check/gst/media.c:
rtsp-media: Unblock blocked streams in unprepare
The streams will be blocked when a live media is prepared.
The streams should be unblocked in gst_rtsp_media_unprepare.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=727231
2014-04-08 14:49:41 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
media: release the state lock when going to NULL
Set our state to UNPREPARING and release the state-lock before
setting the pipeline to the NULL state. This way, any pad-added
callback will be able to take the state-lock and check that we are now
unpreparing instead of deadlocking.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=727102
2014-04-08 12:08:17 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
media: protect status with lock
Make sure we only update the status with the lock.
2014-04-04 17:39:36 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-sdp.c:
rtsp: update for MIKEY API changes
2014-04-03 12:52:51 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: parse the mikey response from the client
Parse the mikey response from the client and update the policy for
each SSRC.
2014-04-02 12:36:16 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: add method to set crypto info
Make a method to configure the crypto information of a stream.
Set udpsrc in READY instead of PAUSED so that we can configure caps
later.
2014-04-03 12:57:13 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: cleanup error paths
2014-04-02 12:27:24 +0200 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
media: fix docs
2014-03-25 12:42:39 +0100 Wim Taymans <wtaymans@redhat.com>
* examples/test-video.c:
test: enable SRTP only on RTSPS
We only want to enable SRTP when doing rtsp over TLS so that we can
exchange the keys in a secure way.
2014-03-25 12:41:33 +0100 Wim Taymans <wtaymans@redhat.com>
* examples/test-video.c:
test: print an error on failure
2014-03-13 17:35:21 +0100 Wim Taymans <wtaymans@redhat.com>
* configure.ac:
* examples/test-video.c:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-stream.c:
* tests/check/Makefile.am:
stream: add SRTP support
Install srtp encoder and decoder elements in rtpbin
Add MIKEY in SDP
2014-03-16 19:45:26 +0100 Sebastian Rasmussen <sebras@hotmail.com>
* tests/check/Makefile.am:
* tests/check/gst/sessionpool.c:
tests: Add unit tests for sessionpool
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=726470
2014-03-22 13:24:27 +0100 Sebastian Rasmussen <sebras@hotmail.com>
* tests/check/gst/threadpool.c:
tests: Improve code coverage of rtsp-threadpool tests
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=726873
2014-03-23 21:26:00 +0100 Sebastian Rasmussen <sebras@hotmail.com>
* tests/check/gst/sessionmedia.c:
tests: Improve code coverage for rtsp-session-media
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=726940
2014-03-23 21:24:48 +0100 Sebastian Rasmussen <sebras@hotmail.com>
gobject-introspection: Add annotations to support language bindings
In addition a few cosmetic changes:
* Adjust the order of arguments
* Fix typo: occured -> occurred
* Fix indentation after Return:-clauses
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=726941
2014-03-14 19:03:24 +0100 Sebastian Rasmussen <sebras@hotmail.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Don't mix IPv4 and IPv6 addresses
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=726362
2014-03-13 14:27:15 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream.c:
stream: take caps after the session manager
Take the caps for the SDP after they leave the rtpbin so that we can
also get the properties added by rtpbin elements.
2014-03-13 14:20:17 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream.c:
stream: release lock while pushing out packets
Keep a cache of the transports and use this to iterate the transport
while pushing packets. This allows us to release the lock early.
See https://bugzilla.gnome.org/show_bug.cgi?id=725898
2014-03-06 13:52:02 +0100 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
rtsp-client: vmethod for modifying tunnel GET response
Add a vmethod tunnel_http_response where the response to the HTTP GET
for tunneled connections can be modified.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725879
2014-03-03 16:56:53 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-sdp.c:
sdp: make 1 media line per profile
If we have multiple profiles (AVP or AVPF) for a stream, make one m=
line in the SDP for each profile. The client is then supposed to pick
one of the profiles in the SETUP request. Because the m= lines have the
same pt, the client also knows that only 1 option is possible.
2014-03-03 16:55:48 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
factory: add profile property and pass to media and streams
2014-03-03 15:12:55 +0100 Wim Taymans <wtaymans@redhat.com>
* examples/test-multicast.c:
* gst/rtsp-server/rtsp-sdp.c:
sdp: pass multicast connection for multicast-only stream
Pass the multicast address of the stream in the connection info in the
SDP so that clients try a multicast connection first.
Only allow multicast connections in the test-multicast example. Also
increase the TTL a little.
2014-03-02 05:12:01 +0100 Sebastian Rasmussen <sebras@hotmail.com>
* .gitignore:
.gitignore: Ignore gcov intermediate files
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725484
2014-03-03 12:17:48 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream.c:
stream: release some locks in error cases
2014-03-02 05:12:10 +0100 Sebastian Rasmussen <sebras@hotmail.com>
docs: Enable and fix gtk-doc warnings
* Makefile: Enable gtk-doc warnings, like the rest of GStreamer
* addresspool/mediafactory: Add missing annotation colon
* stream: Annotate return value
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725528
2014-02-28 09:36:49 +0100 Sebastian Dröge <sebastian@centricular.com>
* common:
Automatic update of common submodule
From fe1672e to bcb1518
2014-02-26 22:15:51 +0100 Stefan Sauer <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From 1a07da9 to fe1672e
2014-02-25 15:13:40 +0000 Tim-Philipp Müller <tim@centricular.com>
* examples/Makefile.am:
examples: use LDADD for libs instead of LDFLAGS
2014-02-25 14:42:09 +0000 Tim-Philipp Müller <tim@centricular.com>
* configure.ac:
configure: make sure releases are in .doap file
2014-02-25 14:11:00 +0000 Tim-Philipp Müller <tim@centricular.com>
* examples/test-cgroups.c:
examples: test-cgroups: don't put code with side effects into g_assert()
The g_assert() might get compiled out with the right
compiler/preprocessor flags.
2014-02-25 14:07:50 +0000 Tim-Philipp Müller <tim@centricular.com>
* examples/.gitignore:
examples: add cgroup test binary to .gitignore
2014-02-25 14:06:47 +0000 Tim-Philipp Müller <tim@centricular.com>
* examples/test-cgroups.c:
examples: fix cgroup test build
Fixes build failure caused by compiler warning:
test-cgroups.c:82:35: error: no previous prototype for ‘gst_rtsp_cgroup_pool_get_type’ [-Werror=missing-prototypes]
2014-02-21 16:46:45 +0000 Tim-Philipp Müller <tim@centricular.com>
* .gitignore:
.gitignore: ignore temp files created in the course of 'make check'
2014-02-18 09:44:34 +0100 Branko Subasic <branko@axis.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: don't loose frames handling new PLAY request
If client supplied a range check if the range specifies the start point.
If not, then do an accurate seek to the current position. If a start
point was specified do do a key unit seek to make sure the streaming
starts with decodeable frames.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=724611
2014-02-18 16:58:45 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
Revert "media: only flush when setting a new start position"
This reverts commit f67fc23aab59f28796bebf130504ff46ccb97b0a.
We need to do the flush in all cases, demuxer block currently for
non-flushing seeks.
2014-02-18 16:38:39 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
media: only flush when setting a new start position
Only flush the pipeline when we change the start position with
a seek.
See https://bugzilla.gnome.org/show_bug.cgi?id=724611
2014-02-17 10:43:05 +0100 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-stream.c:
stream: set ttl-mc before adding the socket
Set ttl-mc before adding the socket. Otherwise the value ttl-mc will
never be set on socket.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=724531
2014-02-11 14:20:39 -0800 Aleix Conchillo Flaqué <aleix@oblong.com>
* gst/rtsp-server/rtsp-media.c:
media: stop thread if media is already prepared
in gst_rtsp_media_prepare() the thread is not used if media is already
prepared (e.g. media shared) so we want to stop the thread. otherwise, a
leak occurs.
https://bugzilla.gnome.org/show_bug.cgi?id=724182
2014-02-09 10:52:29 +0100 Sebastian Dröge <sebastian@centricular.com>
* Makefile.am:
build: Ship gst-rtsp-server.doap file
2014-02-09 10:47:09 +0100 Sebastian Dröge <sebastian@centricular.com>
* tests/check/gst/rtspserver.c:
tests: Fix another compiler warning with gcc
2014-02-09 10:45:28 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-mount-points.c:
* gst/rtsp-server/rtsp-stream.c:
* tests/check/gst/client.c:
rtsp-server: Fix lots of compiler warnings with clang
2014-02-09 10:41:14 +0100 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
* gst-rtsp-server.doap:
* tests/Makefile.am:
configure: Synchronise with the configure scripts of the other modules
2014-02-09 10:25:44 +0100 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
configure: Update version to 1.3.0.1 and require GStreamer 1.3.0
2014-02-09 10:19:50 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream.c:
Revert "rtsp-server: support build against last stable release"
This reverts commit 099a10f61f11413ad0ada8ee0b7b7ad1210b1b2f.
Let us require 1.2.3 now, which is going to be released in a few
minutes.
2014-02-07 16:39:49 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-stream-transport.c:
session: improve RTP-Info
Ignore streams that can't generate RTP-Info instead of failing.
Don't return the empty string when all streams are unconfigured but
return NULL so that we don't generate and empty RTP-Info header.
Improve docs a little.
2014-02-03 22:41:48 +0200 Andrey Utkin <andrey.krieger.utkin@gmail.com>
* gst/rtsp-server/rtsp-session-media.c:
Don't free rtpinfo GString when it is NULL
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723554
2014-02-06 09:48:05 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
media: only set keyframe flag when modifying start
Only set the keyframe flag when we modify the start position. The
keyframe flag should probably be ignored when no change is requested but
until we can claim this is all documented properly and all demuxer
implement this, avoid setting the flag.
See also https://bugzilla.gnome.org/show_bug.cgi?id=723075
2014-02-06 09:03:50 +0100 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-thread-pool.c:
thread-pool: Unref source after mainloop has quit to avoid races in GLib
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723741
2014-02-04 16:27:12 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream.c:
stream: handle NULL seqnum and rtptime arguments
2014-01-31 15:02:22 +0100 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-thread-pool.c:
* tests/check/gst/threadpool.c:
thread-pool: Unref reused threads in gst_rtsp_thread_stop()
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723519
2014-02-04 10:14:45 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream.c:
stream: add fallback for missing stats property
Use a fallback when the payloader does not have a stats property
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723554
2014-01-30 10:45:56 +0100 Edward Hervey <bilboed@bilboed.com>
* common:
Automatic update of common submodule
From f7bc1c3 to 1a07da9
2014-01-28 14:51:26 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream.c:
stream: don't leak stats structure
Don't leak the stats structure and deal with NULL stats.
2014-01-22 22:03:14 +0100 Sebastian Rasmussen <sebrn@axis.com>
* gst/rtsp-server/rtsp-stream.c:
stream: Get rtpinfo properties atomically from payloader
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=722844
2014-01-21 14:46:47 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
media: refactor state change functions and signals
Make functions to set the target state and the pipeline state and emit
the signals from those functions.
2014-01-21 12:01:25 +0100 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: add signal to notify of pending state changes
2014-01-12 16:55:21 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream.c:
rtsp-server: support build against last stable release
Until 1.2.3 is out with the new get_type function and we
can require that.
2014-01-07 15:28:05 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream.c:
stream: fix compilation
2014-01-07 12:21:09 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: add property to configure profiles
2014-01-07 12:28:47 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: let stream check supported transport
Delegate the check if a transport is allowed to the stream.
See https://bugzilla.gnome.org/show_bug.cgi?id=720696
2014-01-07 12:14:15 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: add method to check supported transport
Add a method to check if a transport is supported
2013-12-27 13:11:45 +0100 Sebastian Dröge <sebastian@centricular.com>
* configure.ac:
configure.ac: Only check for gstreamer-check, not check
We include check in gstreamer-check since quite some time now.
2013-12-26 17:02:50 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: return clock-rate from get_rtpinfo
And use it to correct the rtptime to the requested start-time.
See https://bugzilla.gnome.org/show_bug.cgi?id=712198
2013-12-26 16:28:59 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
session-media: calculate start-time
2013-12-26 14:43:35 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: also return the running-time
Return the running-time in the rtpinfo as well.
2013-12-26 15:41:14 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-media.h:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
session-media: let the session-media make the RTPInfo
Add method to create the RTPInfo for a stream-transport.
Add method to create the RTPInfo for all stream-transports in a
session-media.
Use the session-media RTPInfo code in client. This allows us to refactor
another method to link the TCP callbacks.
2013-12-20 16:39:07 -0800 Aleix Conchillo Flaqué <aleix@oblong.com>
mount-points: sort sequence before g_sequence_lookup
* gst/rtsp-server/rtsp-mount-points.c (gst_rtsp_mount_points_remove_factory):
sort sequence if dirty, otherwise lookup will fail.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=720855
2013-12-22 23:16:56 +0000 Tim-Philipp Müller <tim@centricular.com>
* configure.ac:
configure: rename package from gst-rtsp to gst-rtsp-server
To match git module name and avoid confusion with the
rtsp lib in gst-plugins-base and rtsp plugin in -good.
2013-12-22 23:15:02 +0000 Tim-Philipp Müller <tim@centricular.com>
* configure.ac:
configure: bump core/base/good requirement to 1.2.0
Bump to released stable version and make implicit
requirements explicit.
2013-12-22 23:04:48 +0000 Tim-Philipp Müller <tim@centricular.com>
* autogen.sh:
* common:
* configure.ac:
Fix broken gettext setup which is not used anyway
2013-12-22 22:36:06 +0000 Tim-Philipp Müller <tim@centricular.com>
* common:
Automatic update of common submodule
From dbedaa0 to d48bed3
2013-12-18 16:37:27 +0100 Aleix Conchillo Flaqué <aleix@oblong.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: add setup_sdp vmethod
gst/rtsp-server/rtsp-media.[ch]: added setup_sdp vmethod and public
gst_rtsp_media_setup_sdp.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=720155
2013-12-19 14:26:34 +0100 Edward Hervey <bilboed@bilboed.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Check return value of sscanf
streamid is only valid if sscanf matched something.
2013-12-19 14:24:54 +0100 Edward Hervey <bilboed@bilboed.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Fix iteration
Wouldn't even enter the code block otherwise (i++ was used as the check
and not the postfix).
2013-12-18 15:57:03 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: add vmethod to configure media and streams
Implement a vmethod that can be used to configure the media and the
streams based on the current context. Handle the blocksize handling in
the default handler.
See https://bugzilla.gnome.org/show_bug.cgi?id=720667
2013-12-12 00:38:07 +0000 Tim-Philipp Müller <tim@centricular.com>
* .gitignore:
Make git ignore more unit test binaries
2013-12-12 00:36:07 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-address-pool.h:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-context.h:
* gst/rtsp-server/rtsp-media-factory-uri.h:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-mount-points.h:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-media.h:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.h:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.h:
* gst/rtsp-server/rtsp-thread-pool.h:
* gst/rtsp-server/rtsp-token.h:
rtsp-server: add padding to many public structures
Not mini objects though, since they are not subclassable
anyway, nor kept on the stack or inlined in a structure.
2013-12-03 11:54:42 -0800 Aleix Conchillo Flaqué <aleix@oblong.com>
media: add new create_rtpbin vmethod
* gst/rtsp-server/rtsp-media.[ch]: add new create_rtpbin vmethod.
https://bugzilla.gnome.org/show_bug.cgi?id=719734
2013-12-03 00:34:52 +0100 Sebastian Rasmussen <sebras@gmail.com>
* tests/check/gst/media.c:
tests: fix memory leak, free test's thread pool
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=719733
2013-11-29 15:50:52 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream-transport.c:
stream-transport: free url in finalize
2013-11-29 15:50:23 +0100 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
media: also do state change in suspended state
2013-11-29 10:53:08 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
media: also handle prepare and range in suspended state
When we are suspended, we are already prepared.
We can get the range in the suspended state.
2013-11-27 15:04:04 +0100 Branko Subasic <branko@axis.com>
* tests/check/Makefile.am:
* tests/check/gst/sessionmedia.c:
check: add test for uri in setup
Added unit tests for the new functionality in GstRTSPStreamTransport.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=715168
2013-11-28 17:47:18 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: store setup uri and use in PLAY response
Store the uri used when doing the setup and use that in the PLAY
response.
fixes https://bugzilla.gnome.org/show_bug.cgi?id=715168
2013-11-28 17:35:45 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
stream-transport: add method to get/set url
2013-11-28 14:14:35 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: suspend after SDP and unsuspend before PLAYING
Based on patches by Ognyan Tonchev <ognyan@axis.com>
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=711257
2013-11-28 14:10:19 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session.c:
* tests/check/gst/media.c:
* tests/check/gst/mediafactory.c:
media: add suspend modes
Add support for different suspend modes. The stream is suspended right after
producing the SDP and after PAUSE. Different suspend modes are available that
affect the state of the pipeline. NONE leaves the pipeline state unchanged and
is the current and old behaviour, PAUSE will set the pipeline to the PAUSED
state and RESET will bring the pipeline to the NULL state.
A stream is also unsuspended when it goes back to PLAYING, for RESET streams,
this means that the pipeline needs to be prerolled again.
Base on patches by Ognyan Tonchev <ognyan@axis.com>
See https://bugzilla.gnome.org/show_bug.cgi?id=711257
2013-11-28 14:06:53 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
media: start live streams in blocked state
Start live streams in the blocked state and make them preroll using the
messages. This ensure that no data is played by the sink until we explicitly
unblock the stream right before going to PLAYING.
See https://bugzilla.gnome.org/show_bug.cgi?id=711257
2013-11-28 13:58:05 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
media: refactor starting and waiting for preroll
Based on patches from Ognyan Tonchev <ognyan@axis.com>
See https://bugzilla.gnome.org/show_bug.cgi?id=711257
2013-11-28 13:42:21 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: add API to block streams
Add an API to block on the streams and make it post a message.
Based on patch by Ognyan Tonchev <ognyan@axis.com>
See https://bugzilla.gnome.org/show_bug.cgi?id=711257
2013-11-27 15:42:45 +0100 Edward Hervey <edward@collabora.com>
* docs/libs/Makefile.am:
docs: Specify the override file
Even if it's empty (for now) it avoids make distcheck complaining
2013-11-26 17:23:04 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
media: move default implementations to where they are used
2013-11-26 16:25:37 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
media: take the right lock in gst_rtsp_media_set_pipeline_state()
We need to take the state_lock when calling this method.
2013-11-26 16:24:35 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
media: handle add-added on non-bins too
Handle dynamic payloaders that are not bins, as used in the unit-test.
2013-11-22 01:30:53 +0100 Sebastian Rasmussen <sebras@hotmail.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
rtsp-media/-factory: Fix request pad name comments
These must be escaped for gtk-doc to parse the comments without warnings.
2013-11-20 15:51:54 -0800 Aleix Conchillo Flaque <aleix@oblong.com>
rtsp-media: remove transports if media is in error status
* gst/rtsp-server/rtsp-media.c (gst_rtsp_media_set_state): if we are
trying to change to GST_STATE_NULL and media is in error status, we
remove all transports.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=712776
2013-11-22 11:16:20 +0100 Wim Taymans <wtaymans@redhat.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: use element metadata to find payloader
Use the element metadata to find the payloader instead of checking
for the base class.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=712396
2013-11-15 12:14:32 -0800 Aleix Conchillo Flaque <aleix@oblong.com>
rtsp-stream: add getter for payload type
* gst/rtsp-server/rtsp-stream.c: add new method gst_rtsp_stream_get_pt.
* gst/rtsp-server/rtsp-media.c (pad_added_cb): find real payloader
element and create the stream with this one instead of the dynpay%d
element.
https://bugzilla.gnome.org/show_bug.cgi?id=712396
2013-11-22 02:28:28 +0100 Sebastian Rasmussen <sebras@hotmail.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-context.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-mount-points.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-token.c:
rtsp-*: Refer to NULL as a constant in comments
Plus one typo fix.
https://bugzilla.gnome.org/show_bug.cgi?id=714988
2013-11-22 03:10:01 +0100 Sebastian Rasmussen <sebras@hotmail.com>
rtsp-*: Fix type name typos in comments
* rtsp-auth: Refer to GstRTSPToken, not GstRTSPtoken
* rtsp-auth: Refer to part of constant name as text
* rtsp-auth/-permissions/-token: Refer to Permissions not Permission
* rtsp-session-media: Fix GstRTSPSessionMedia typo
* rtsp-stream: Fix typo when refering to GstBin
https://bugzilla.gnome.org/show_bug.cgi?id=714988
2013-11-22 00:45:17 +0100 Sebastian Rasmussen <sebras@hotmail.com>
* docs/README:
* docs/libs/gst-rtsp-server-docs.sgml:
* docs/libs/gst-rtsp-server-sections.txt:
docs: Improve documentation
* Include annotation-glossary to quiet gtk-doc
* Rename remaining ClientState -> Context
* Rename object hierarchy file
* Remove stale chapter references
* Add missing function and object references
* Include missing GstRTSPAddressPoolResult
https://bugzilla.gnome.org/show_bug.cgi?id=714988
2013-11-18 10:47:04 +0000 Tim-Philipp Müller <tim@centricular.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-stream.c:
rtsp-server: sprinkle some allow-none annotations for g-i
2013-11-18 11:18:15 +0100 Wim Taymans <wim.taymans@gmail.com>
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: add method to filter transports
Add a method to safely iterate and collect the stream transports
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=711664
2013-11-15 16:35:05 +0100 Wim Taymans <wim.taymans@gmail.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
rtsp: allow NULL func in filters
Passing a null function make the filters return a list of
refcounted objects.
2013-11-12 16:52:35 +0100 Wim Taymans <wim.taymans@gmail.com>
* gst/rtsp-server/rtsp-address-pool.c:
* tests/check/gst/addresspool.c:
address-pool: fix address increment
Use a guint instead of guint8 to increment the address. It's still not
completely correct because a guint might not be able to hold the complete
address range, but that's an enhacement for later.
Add unit test to test improved behaviour.
https://bugzilla.gnome.org/show_bug.cgi?id=708237
2013-11-12 10:55:14 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-client.c:
* tests/check/gst/client.c:
client: allow absolute path in requests
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=711689
2013-11-07 13:22:09 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: make make_path_from_uri a vmethod
2013-11-12 12:04:55 +0100 Wim Taymans <wim.taymans@gmail.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
* tests/check/Makefile.am:
* tests/check/gst/stream.c:
stream: Add functions to get rtp and rtcp sockets
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=710100
2013-11-12 11:21:55 +0100 Wim Taymans <wim.taymans@gmail.com>
* gst/rtsp-server/rtsp-context.c:
* gst/rtsp-server/rtsp-context.h:
context: defing a GType for the context
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=710018
2013-10-12 23:56:00 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-context.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-mount-points.c:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-stream.c:
Fixed several GIR warnings
2013-11-12 11:15:46 +0100 Wim Taymans <wim.taymans@gmail.com>
* gst/rtsp-server/rtsp-auth.c:
auth: small typos
2013-10-19 19:25:27 +0200 Sebastian Rasmussen <sebras@hotmail.com>
* tests/check/Makefile.am:
* tests/check/gst/token.c:
tests: Add unit tests for token
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=710520
2013-10-19 19:24:34 +0200 Sebastian Rasmussen <sebras@hotmail.com>
* gst/rtsp-server/rtsp-token.c:
token: Validate args for gst_rtsp_token_is_allowed
See https://bugzilla.gnome.org/show_bug.cgi?id=710520
2013-10-19 19:21:53 +0200 Sebastian Rasmussen <sebras@hotmail.com>
* gst/rtsp-server/rtsp-token.c:
token: Fix bug when creating empty token
We always want to have a valid GstStructure in the token.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=710520
2013-11-12 10:28:55 +0100 Wim Taymans <wim.taymans@gmail.com>
* gst/rtsp-server/rtsp-thread-pool.c:
thread-pool: avoid race in shutdown
If we call g_main_loop_quit before the thread has entered g_main_loop_run, we
don't actually stop the mainloop ever. Solve this race by adding an idle source
to the mainloop that calls the _quit. This way we immediately exit the mainloop
if quit was called before we started it.
2013-10-19 17:36:05 +0200 Sebastian Rasmussen <sebras@hotmail.com>
* tests/check/Makefile.am:
* tests/check/gst/permissions.c:
tests: Add unit tests for permissions
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=710202
2013-10-15 18:50:47 +0200 Sebastian Rasmussen <sebras@hotmail.com>
* tests/check/gst/mediafactory.c:
tests: Test mediafactory permissions
See https://bugzilla.gnome.org/show_bug.cgi?id=710202
2013-10-19 17:39:35 +0200 Sebastian Rasmussen <sebras@hotmail.com>
* gst/rtsp-server/rtsp-permissions.c:
permissions: Fix refcounting when adding/removing roles
Previously a role that was removed was unreffed twice, and when
replacing an existing role the replaced role was freed while still being
referenced. Both bugs are now fixed.
See https://bugzilla.gnome.org/show_bug.cgi?id=710202
2013-10-15 18:01:38 +0200 Sebastian Rasmussen <sebras@hotmail.com>
* tests/check/gst/media.c:
* tests/check/gst/mediafactory.c:
* tests/check/gst/rtspserver.c:
tests: Check gst_rtsp_url_parse return value
See https://bugzilla.gnome.org/show_bug.cgi?id=710202
2013-11-05 11:22:51 +0000 Tim-Philipp Müller <tim@centricular.com>
* common:
Automatic update of common submodule
From 865aa20 to dbedaa0
2013-10-14 12:03:07 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-server.c:
rtsp-server: Fix socket leak
https://bugzilla.gnome.org/show_bug.cgi?id=710088
2013-10-30 22:16:54 +0100 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-session-pool.c:
rtsp-session-pool: Make sure session IDs are properly URI-escaped
https://bugzilla.gnome.org/show_bug.cgi?id=643812
2013-10-15 16:37:34 -0700 Aleix Conchillo Flaque <aleix@oblong.com>
* examples/.gitignore:
* examples/test-video.c:
examples: fix compilation when WITH_AUTH is defined
https://bugzilla.gnome.org/show_bug.cgi?id=710228
2013-10-30 19:10:59 +0100 Sebastian Dröge <sebastian@centricular.com>
* .gitignore:
gitignore: Add new test binary
2013-10-09 15:19:12 +0200 Ognyan Tonchev <ognyan@axis.com>
* tests/check/Makefile.am:
* tests/check/gst/threadpool.c:
thread-pool: Add unit test for the thread pools
https://bugzilla.gnome.org/show_bug.cgi?id=710228
2013-10-09 15:25:10 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-thread-pool.c:
thread-pool: Fix thread leak when reusing threads
https://bugzilla.gnome.org/show_bug.cgi?id=709730
2013-10-14 08:30:33 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-server.c:
* tests/check/gst/rtspserver.c:
tests: fixed racy behavior in rtspserver tests
https://bugzilla.gnome.org/show_bug.cgi?id=710078
2013-10-14 19:36:24 +0200 Sebastian Rasmussen <sebras@hotmail.com>
* tests/check/gst/addresspool.c:
tests: Improve address pool unit tests
Add a range with mixed IPV4 and IPV6 addresses to pool.
Get an IPV4 address from an IPV6-only pool.
Get an IPV6 address from an IPV4-only pool.
Reserve a IPV6 address from an IPV4-only pool.
Check for unicast addresses in multicast-only pool.
Check for unicast addresses in uni-/multicast-mixed pool.
https://bugzilla.gnome.org/show_bug.cgi?id=710128
2013-10-04 06:29:30 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: append query string in PAUSE/PLAY/TEARDOWN as well
2013-10-01 14:04:17 +0200 Jonas Holmberg <jonashg@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: Add query to control path
If the SETUP url contains a query it must be appended to the control
path so that it matches any already created stream in the media. The
query will also be appended to the session media path.
2013-10-04 05:48:52 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: remove old line
2013-10-01 13:15:19 +0200 Jonas Holmberg <jonashg@axis.com>
* gst/rtsp-server/rtsp-stream.c:
stream: Correct control comparison
https://bugzilla.gnome.org/show_bug.cgi?id=709176
2013-09-09 21:51:44 -0400 Youness Alaoui <youness.alaoui@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: Check dynamically if the pipeline supports seeking
We should not depend on whether or not the pipeline state change
returned NO_PREROLL or not. A media could dynamically change its
element and switch from seekable to non seekable so it's best to test
the seekable nature of the pipeline dynamically when we try to do a seek.
2013-09-09 21:51:23 -0400 Youness Alaoui <youness.alaoui@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: Return FALSE if seeking is not supported
2013-10-01 17:16:11 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: don't seek accurate by default
Accurate seeking is perhaps a little overkill in the most common situation and
causes some formats (mp3) over slow media to seek extremely slowly.
2013-09-26 14:36:58 +0200 Ognyan Tonchev <ognyan@axis.com>
* tests/check/gst/rtspserver.c:
tests: fix unit test
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=708742
2013-09-26 11:20:05 +0200 Jonas Holmberg <jonashg@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: Reply 400 if media cannot be constructed
Reply 400 Bad Request instead of 503 Service Unavailable if media
cannot be constructed in SETUP.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=708821
2013-09-26 09:41:10 +0200 Jonas Holmberg <jonashg@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: Send setup reply once only
If find_media() failed in handle_setup_request() two replies was sent.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=708819
2013-09-24 18:35:36 +0100 Tim-Philipp Müller <tim@centricular.net>
* common:
Automatic update of common submodule
From 6b03ba7 to 865aa20
2013-09-23 14:28:04 +0200 Jonas Holmberg <jonashg@axis.com>
* gst/rtsp-server/rtsp-server.c:
server: Emit client-connected signal earlier
Emit client-connected before the client ref is given to a GSource,
otherwise client-connected can be emitted after the client object has
been freed.
2013-09-24 17:30:18 +0200 Patrick Radizi <patrick.radizi at axis.com>
* gst/rtsp-server/rtsp-address-pool.c:
* gst/rtsp-server/rtsp-address-pool.h:
* gst/rtsp-server/rtsp-stream.c:
* tests/check/gst/addresspool.c:
addresspool: return reason of failure
Let gst_rtsp_address_pool_reserve_address() return the reason why
the address could not be reserved.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=708229
2013-09-20 16:47:56 +0200 Edward Hervey <edward@collabora.com>
* autogen.sh:
autogen.sh: Sync behaviour with other GStreamer modules
Allows building from outside of tree amongst other things
2013-09-20 16:18:54 +0200 Edward Hervey <edward@collabora.com>
* common:
Automatic update of common submodule
From b613661 to 6b03ba7
2013-09-19 18:46:14 +0100 Tim-Philipp Müller <tim@centricular.net>
* common:
Automatic update of common submodule
From 74a6857 to b613661
2013-09-19 17:39:24 +0100 Tim-Philipp Müller <tim@centricular.net>
* common:
Automatic update of common submodule
From 01a7a46 to 74a6857
2013-09-19 15:44:26 +0200 Jonas Holmberg <jonashg@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: Do not read beyond end of path string
If the setup was done without a control url, make sure we don't try to read the
non-existing control string and crash.
2013-09-17 14:39:44 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: Fix RTPInfo header
Refactor the method to make the content_base.
Use the content-base and the control url to construct the RTPInfo
url.
2013-09-17 12:21:02 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: map url to path only in describe
Only map the request url to a path in the DESCRIBE method. The SDP then
contains the base and control urls that should be used to SETUP/PAUSE/
PLAY/TEARDOWN the media.
2013-09-17 11:41:57 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
Revert "client: map URL to path in requests"
This reverts commit e3fded2cec897a2ec003450607b916cc1601fd2d.
This is not correct, we only remap the URL to a path in DESCRIBE, the SDP then
contains the base and control urls which are used in the SETUP, PLAY,
PAUSE and TEARDOWN requests.
2013-09-16 17:16:49 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: map URL to path in requests
2013-09-16 16:47:40 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-mount-points.c:
* gst/rtsp-server/rtsp-mount-points.h:
mount-points: make vmethod to make path from uri
Make a vmethod to transform an url into a path. The path is then used to lookup
the factory. This makes it possible to also use other bits of the url, such as
the query parameters, to locate the factory.
2013-09-09 11:05:26 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-thread-pool.c:
* gst/rtsp-server/rtsp-thread-pool.h:
thread-pool: Add cleanup to wait for the threadpool to finish
Also fix race condition if two threads are asking for the first
thread from the thread pool at once. This would case two internal
GThreadPools to be created.
https://bugzilla.gnome.org/show_bug.cgi?id=707753
2013-09-05 08:56:02 +0200 Jonas Holmberg <jonashg@axis.com>
* gst/rtsp-server/rtsp-client.c:
* tests/check/gst/client.c:
client: free threadpool
https://bugzilla.gnome.org/show_bug.cgi?id=707638
2013-09-06 17:23:20 +0200 Jonas Holmberg <jonashg@axis.com>
* tests/check/gst/mountpoints.c:
mountpoints tests: unref matched factories
https://bugzilla.gnome.org/show_bug.cgi?id=707638
2013-09-05 18:01:18 +0200 Jonas Holmberg <jonashg@axis.com>
* tests/check/gst/media.c:
media tests: unref thread pool and caps
https://bugzilla.gnome.org/show_bug.cgi?id=707638
2013-09-05 08:53:55 +0200 Jonas Holmberg <jonashg@axis.com>
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
auth, media, media-factory: unref permissions
https://bugzilla.gnome.org/show_bug.cgi?id=707638
2013-08-23 15:15:12 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/Makefile.am:
Makefile: add rule for appsrc example
2013-08-23 15:14:29 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-appsrc.c:
tests: add appsrc example
Add an example on how to use appsrc to feed the server pipeline with data.
2013-08-22 12:10:39 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: remove query part from content-base string
Make sure that after the control url has been resolved, it's
not a part of the query-string.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=706568
2013-08-23 10:38:43 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: don't check url in response
There is no url or method in the response to check
2013-08-08 10:57:42 -0400 Youness Alaoui <youness.alaoui@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
Add handle-response signal for when we receive a GET_PARAMETER response
2013-08-16 12:42:22 -0400 Youness Alaoui <youness.alaoui@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
Fix gst_rtsp_server_client_filter, using wrong variable type
2013-08-22 18:39:59 +0100 Tim-Philipp Müller <tim@centricular.net>
* gst/rtsp-server/rtsp-media-factory-uri.c:
rtsp-media-factory-uri: check AAC properly for whether it's parsed or not
For AAC we need to check for framed=true instead of parsed=true.
https://bugzilla.gnome.org/show_bug.cgi?id=701384
2013-08-16 17:05:24 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream.c:
stream: optimize pipeline for protocols
When TCP is not an allowed protocol for the stream, avoid creating the
appsrc/appsink/queue and tee elements.
2013-08-16 16:34:56 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: set protocols on streams
2013-08-16 16:16:31 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: use protocols supported by stream
2013-08-16 16:16:00 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream.c:
media-factory: allow all protocols
2013-08-16 16:10:43 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: configure protocols in new streams
2013-08-16 16:08:43 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: add protocols property
2013-08-05 10:46:33 -0400 Youness Alaoui <youness.alaoui@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: send state in "new-state" signal
https://bugzilla.gnome.org/show_bug.cgi?id=705110
2013-08-02 14:11:01 +0200 Lubosz Sarnecki <lubosz@gmail.com>
* configure.ac:
build: add subdir-objects to AM_INIT_AUTOMAKE
Fixes warnings with automake 1.14
https://bugzilla.gnome.org/show_bug.cgi?id=705350
2013-08-02 17:15:09 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
server: add method to iterate clients of server
2013-06-11 19:10:01 -0400 Youness Alaoui <youness.alaoui@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
Add vmethod for rtsp-media subclass to access rtpbin
2013-07-11 16:12:04 -0400 Youness Alaoui <youness.alaoui@collabora.co.uk>
* gst/rtsp-server/rtsp-client.h:
small documentation fix
2013-07-11 16:11:55 -0400 Youness Alaoui <youness.alaoui@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
Do not take range header if range is invalid
2013-08-02 16:57:26 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-media.c:
media: add docs for new method
2013-07-02 18:55:28 -0400 Youness Alaoui <youness.alaoui@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
Add API to rtsp-media set the pipeline's state
2013-06-11 19:09:42 -0400 Youness Alaoui <youness.alaoui@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
Update current position/duration when gst_rtsp_media_get_range_string is called
2013-07-22 17:27:27 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-cgroups.c:
tests: add some more docs
2013-07-22 14:25:04 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-cgroups.c:
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-context.c:
* gst/rtsp-server/rtsp-context.h:
* gst/rtsp-server/rtsp-params.c:
* gst/rtsp-server/rtsp-params.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-thread-pool.c:
* gst/rtsp-server/rtsp-thread-pool.h:
* tests/check/gst/client.c:
ClientState -> Context
Rename the clientstate to context and put the code in a separate file.
2013-07-18 12:19:25 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-auth.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
auth: add support for default token
The default token is used when the user is not authenticated and can be used to
give minimal permissions.
2013-07-18 11:44:50 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-auth.c:
* gst/rtsp-server/rtsp-auth.c:
auth: use defines when possible
2013-07-18 11:44:21 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-address-pool.c:
address-pool: improve docs
2013-07-18 12:26:45 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-permissions.c:
permissions: add the role to the copy
2013-07-17 19:35:33 -0400 Olivier Crête <olivier.crete@collabora.com>
* gst/rtsp-server/rtsp-permissions.c:
permissions: Also copy the roles
2013-07-17 19:32:09 -0400 Olivier Crête <olivier.crete@collabora.com>
* gst/rtsp-server/rtsp-permissions.c:
permissions: Make it build
2013-07-16 12:36:56 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-address-pool.h:
docs: small fixes
2013-07-16 12:32:51 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.c:
* tests/check/gst/client.c:
docs: improve docs
2013-07-16 12:32:00 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-address-pool.c:
* gst/rtsp-server/rtsp-address-pool.h:
* tests/check/gst/addresspool.c:
* tests/check/gst/rtspserver.c:
address-pool: cleanups
Remove redundant method, improve docs.
2013-07-15 17:31:35 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-permissions.c:
* gst/rtsp-server/rtsp-permissions.h:
* gst/rtsp-server/rtsp-token.c:
docs: improve docs
2013-07-15 17:12:57 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-permissions.c:
permissions: implement _remove_role
2013-07-15 17:12:43 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-permissions.c:
permissions: update docs
2013-07-15 16:48:37 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/gst/client.c:
tests: simplify tests
Client settings are now disabled by default so we don't need an auth
module to disable them.
2013-07-15 16:47:07 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-auth.c:
auth: add default authorizations
When no auth module is specified, use our table of defaults to look up the
default value of the check instead of always allowing everything. This was
we can disallow client settings by default.
2013-07-15 16:05:02 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/README:
README: update readme
2013-07-15 15:25:00 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-thread-pool.c:
* gst/rtsp-server/rtsp-thread-pool.h:
thread-pool: add more docs
2013-07-15 14:50:38 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-thread-pool.c:
* gst/rtsp-server/rtsp-thread-pool.h:
thread-pool: fix race in thread reuse
If we try to reuse a thread right after we made it stop, we end up using a
stopped thread. Catch this case and only reuse threads that are not stopping.
2013-07-15 14:50:26 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: add small debug
2013-07-15 11:58:58 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/gst/client.c:
client: fix test
Add some permissions to media so we can use the auth and enable
client settings.
2013-07-15 11:57:49 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: support pushed context in handle_request
If we already have a pushed state, reuse it and add our own things. This makes
it easier to write tests.
2013-07-15 11:56:06 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-auth.c:
auth: don't auth on methods
Don't authorize on methods anymore but on the resources that we
try to access, this is more flexible.
Move the authorization checks to where they are needed and let the
check return the response on error.
2013-07-15 11:51:34 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-mount-points.c:
mount-points: add some debug
2013-07-12 17:26:55 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/gst/client.c:
tests: almost fix test
2013-07-12 17:07:53 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
auth: let the auth module check client_settings
Let the auth module decide if client settings are allowed for the
current client.
2013-07-12 17:06:37 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-token.c:
* gst/rtsp-server/rtsp-token.h:
token: add method to check boolean permission
2013-07-12 16:36:05 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-auth.c:
* examples/test-cgroups.c:
* gst/rtsp-server/rtsp-token.c:
* gst/rtsp-server/rtsp-token.h:
token: simplify token constructor
Use variable arguments to make easier API.
2013-07-12 16:17:57 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-auth.c:
* examples/test-cgroups.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
media-factory: add convenience API for factory
2013-07-12 16:03:07 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-auth.c:
* examples/test-cgroups.c:
* gst/rtsp-server/rtsp-permissions.c:
* gst/rtsp-server/rtsp-permissions.h:
permissions: simplify API a little
Avoid passing GstStructure in the add_role method, use varargs instead
to construct the structure behind the scenes. We can then also use the
structure name as the role and simplify some more logic.
2013-07-12 16:01:14 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-auth.c:
auth: fix typo
2013-07-12 15:19:29 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.c:
auth: handle unauthorized response
Move handling of the unauthorized response to the auth module, it can add
the appropriate headers to request authorization for the required method
much better than the client.
2013-07-12 15:13:48 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: allow for sending any message, not only requests
Change the _send_request() method to _send_message() so that we
can both send requests and replies.
2013-07-12 14:10:13 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-server.h:
docs: fix docs
2013-07-12 12:41:52 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-video.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
auth: move TLS handling to auth module
Remove the TLS settings on the server and move it to the auth module because
that is where security related bits go.
2013-07-12 12:38:54 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: add state push/pop
2013-07-12 12:36:40 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: add connection to state
2013-07-11 20:45:11 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-mount-points.c:
mount-points: fix debug
2013-07-11 17:28:17 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/gst/media.c:
tests: fix media test
2013-07-11 17:28:04 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-thread-pool.c:
thread-pool: we don't require a state
2013-07-11 17:18:58 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: let context ref the server
So that we don't risk losing the server object early anc crash.
2013-07-11 17:05:00 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/gst/client.c:
tests: fix client test
2013-07-11 16:57:14 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/README:
* docs/libs/gst-rtsp-server-docs.sgml:
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-address-pool.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-mount-points.c:
* gst/rtsp-server/rtsp-params.c:
* gst/rtsp-server/rtsp-permissions.c:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-thread-pool.c:
* gst/rtsp-server/rtsp-token.c:
docs: improve docs
2013-07-11 16:28:09 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session-pool.h:
session-pool: make vmethod to create a session
Make a vmethod to create a sessions so that subclasses can create
custom session objects
2013-07-11 12:24:33 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-mount-points.h:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-stream.h:
docs: more updates
2013-07-11 12:18:26 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/libs/gst-rtsp-server-docs.sgml:
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-address-pool.c:
* gst/rtsp-server/rtsp-address-pool.h:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-permissions.c:
* gst/rtsp-server/rtsp-permissions.h:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-media.h:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.h:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-thread-pool.h:
docs: update docs
2013-07-11 10:28:06 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
* examples/Makefile.am:
configure: compile cgroup example conditionally
Only compile the cgroup example when we have libcgroup
2013-07-10 20:57:12 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
* examples/Makefile.am:
* examples/test-cgroups.c:
examples: add cgroups example
2013-07-10 20:55:03 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/gst/rtspserver.c:
tests: fix compilation
2013-07-10 20:48:47 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-thread-pool.c:
thread-pool: fix vmethod invocation
2013-07-10 20:48:18 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-thread-pool.c:
* gst/rtsp-server/rtsp-thread-pool.h:
thread-pool: store thread type in thread
2013-07-10 17:09:27 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: pass thread from pool to media _prepare
Get a thread from the configured threadpool and pass it to the prepare method of
the media.
2013-07-10 17:08:14 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: Accept a thread in _prepare
Remove out own threadpool handling and use the provided thread and
maincontext for the bus messages and the state changes.
2013-07-10 17:07:13 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: configure client thread pool
2013-07-10 17:06:36 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: add method to configure thread pool
2013-07-10 16:49:55 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
server: use thread pool
Use the thread pool instead of doing our own thing.
2013-07-10 16:47:43 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-thread-pool.c:
* gst/rtsp-server/rtsp-thread-pool.h:
thread-pool: add object to manage threads
Add an object to manage the client and media threads.
2013-07-10 15:28:35 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-auth.c:
auth: debug authorization check
2013-07-09 20:44:51 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: start media pipeline in context
Start the media pipeline in the provided context (or our default one
when NULL). This makes sure that we run the bus thread in this context and that
all media threads are children of this context.
2013-07-09 16:38:39 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
factory: pass permissions to media by default
2013-07-09 16:09:07 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-auth.c:
test: add permissions to auth test
Ass some permissions to the media factory in the test.
2013-07-09 16:04:35 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.c:
auth: simplify auth checks
Remove client from methods, it's now in the state
Perform the check specified by the string, use the information from the
thread local context.
2013-07-09 16:01:29 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: add state to current thread
Add the client to the ClientState object.
Place the ClientState on the current thread.
2013-07-09 14:33:43 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: make it possible to set permissions
Make it possible to set permissions on media and media factory objects
2013-07-09 14:31:15 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-permissions.c:
* gst/rtsp-server/rtsp-permissions.h:
permissions: add permissions object
Add a mini object to store permissions based on a role.
2013-07-08 16:29:01 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-auth.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.c:
auth: add auth checks
Add an enum with auth checks and implement the checks in the auth object.
Perform the checks from the client.
2013-07-05 20:48:18 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-auth.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.h:
auth: use the token after authentication
After we authenticated a user, keep the Token around in the state.
2013-07-05 20:43:39 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* tests/check/gst/media.c:
media: add optional context for bus messages
Add an optional mainloop to _prepare that will handle the bus messages instead
of always using the shared mainloop.
2013-07-05 20:34:40 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-token.c:
* gst/rtsp-server/rtsp-token.h:
token: add authorization token
Add a simply miniobject that contains the authorizations. The object contains a
GstStructure that hold all authorization fields. When a user is authenticated,
the auth module will create a Token for the user. The token is then used to
check what operations the user is allowed to do and various other configuration
values.
2013-07-05 12:08:36 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-auth.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
auth: remove auth from media and factory
Remove the auth object from media and factory. We want to have the RTSPClient
authenticate and authorize resources, there is no need to place another auth
manager on the media/factory.
2013-07-04 14:33:59 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-auth.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.h:
auth: add support for multiple basic auth tokens
Make it possible to add multiple basic authorisation tokens to one authorization
object. Associate with each token an authorization group that will define what
capabilities are allowed.
2013-07-03 16:15:04 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: error out on non-aggregate control
We require aggregate control (for now) for PLAY, PAUSE and TEARDOWN.
2013-07-03 15:55:38 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: rework setup request a little
Cache the media in DESCRIBE based on the longest matching path with the uri
that we can find in the mount points.
Rework the setup request a little to get the media from the session or from
the longest matching path, this way we can derive the control string as
everything after the path instead of hardcoding it.
Find the stream based on the control string and only open a session when all
this can be done.
2013-07-03 15:14:39 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: add method to find a stream by control url
2013-07-03 15:13:45 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: add method to check control url of stream
2013-07-03 12:37:48 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-media.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
session: use path matching for session media
Use a path string instead of a uri to lookup session media in the sessions. Also
use path matching to find the largest possible path that matches.
2013-07-03 11:04:53 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-mount-points.c:
* gst/rtsp-server/rtsp-mount-points.h:
* tests/check/gst/mountpoints.c:
mount-points: remove useless vmethod
Making lookups in the mount points should not be done with a URL, if there is a
mapping to be done from URL to mount points, we'll need to do it somewhere
else.
2013-07-03 10:25:46 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-mount-points.c:
* gst/rtsp-server/rtsp-mount-points.h:
* tests/check/gst/mountpoints.c:
mount-points: improve mount point searching
Use a GSequence to keep track of the mount points.
Match a URL to the longest matching registered mount point. This should be the
URL to perform aggreagate control and the remainder is the stream specific
control part.
Add some unit tests for this.
2013-07-03 10:40:33 +0200 Sebastian Dröge <slomo@circular-chaos.org>
* gst/rtsp-server/Makefile.am:
rtsp-server: Allow building of static library
2013-07-02 15:59:16 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/gst/mediafactory.c:
tests: fix compilation
2013-07-02 15:54:43 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-sdp.c:
sdp: get control string from stream
Use the control string as configured in the stream.
2013-07-02 14:44:35 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: add methods and property to set control string
2013-07-02 11:58:02 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: cleanups
Rename variables for clarity
Keep media in state when we can
2013-07-01 16:46:07 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: add more support for IPv6
Rename _get_address to _get_multicast_address in GstRTSPStream to
make it clear that this function only deals with multicast.
Make it possible to have both an IPv4 and IPv6 multicast address on
a stream. Give the client an IPv4 or IPv6 address depending on the
address it used to connect to the server.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702002
2013-07-01 15:18:43 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: fix comment
2013-07-01 14:45:49 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream.c:
stream: handle failed port allocation
Allow for ipv4 or ipv6 socket allocations to fail. Only report failure if we
can't allocate any family at all. Also keep track of what port families we
allocated.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=703175
2013-07-01 12:20:50 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream.c:
stream: improve docs
2013-07-01 12:04:45 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream-transport.c:
stream-transport: remove old if 0 block
2013-06-27 11:21:42 +0200 Patricia Muscalu <patricia@axis.com>
* tests/check/gst/client.c:
tests: fix tests
gst_rtsp_client_get_uri() has been removed
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=703173
2013-06-26 17:18:33 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: add method to filter managed sessions
Add a method to filter the sessions managed by this client connection.
See https://bugzilla.gnome.org/show_bug.cgi?id=703016
2013-06-26 16:32:06 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: remove _get_uri() method
Remove the get_uri() method on the client. A client has no uri, the uri
property is an internal property to manage the last cached media for
the client.
2013-06-26 16:31:39 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.h:
media-factory: fix typo
2013-06-26 14:42:15 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Do not leak the query in default_query_stop
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=703120
2013-06-25 15:46:41 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: don't unlock when conversion fails
Don't unlock the state lock when conversion fails because it was not locked.
2013-06-10 17:32:40 -0400 Youness Alaoui <youness.alaoui@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
Add query_position and query_stop vmethods to rtsp-media
2013-06-10 17:33:01 -0400 Youness Alaoui <youness.alaoui@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
Fix typo in property install for rtsp-media's time-provider
2013-06-25 15:09:13 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: clean some variables
Clean some variables and add some guards to _send_request()
2013-06-10 17:32:12 -0400 Youness Alaoui <youness.alaoui@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
Add gst_rtsp_client_send_request API
This makes it possible to send arbitrary messages to a client, such as
SET_PARAMETER or GET_PARAMETER
2013-06-24 23:56:57 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: add _get_element() method
Add method to get the element used when creating the media.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=703008
2013-06-24 23:51:38 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: fix docs
2013-06-24 11:41:27 -0700 Aleix Conchillo Flaque <aleix@oblong.com>
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: allow access to the rtp session
https://bugzilla.gnome.org/show_bug.cgi?id=703004
2013-06-24 10:43:59 +0200 Alexander Schrab <alexas@axis.com>
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
dscp qos support in gst-rtsp-stream
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702645
2013-06-20 17:30:49 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/gst/rtspserver.c:
tests: fix test
Actually do what the comment says. Also keep the old code around, not sure what
should happen when you get a 454 from a TEARDOWN, does it close the connection?
it currently doesn't.
2013-06-20 12:20:21 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: also watch newly created session
When we newly created a session, start watching it immediately instead of
on the next request.
2013-06-20 12:18:23 +0200 Patricia Muscalu <patricia@axis.com>
* tests/check/gst/client.c:
tests: add unit test for new-session
See https://bugzilla.gnome.org/show_bug.cgi?id=701587
2013-06-20 12:16:07 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: emit new-session when new session is created
Only emit new-session when we created a new session for a client, not when a
client picked up a previous session.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=701587
2013-06-20 11:17:29 +0200 Alexander Schrab <alexas@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: handle asterisk as path in requests
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=701266
2013-06-20 11:14:31 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: handle segment query format mismatch
It's possible that the segment query returns with a different format than what
we asked for, handle this case also.
2013-06-11 15:28:32 +0200 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-media.c:
media: use segment stop in collect_media_stats
Use segment stop instead of duration as range end point.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=701185
2013-06-17 16:47:56 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
* tests/check/gst/media.c:
rtsp-media: Do not leak the element in take_pipeline
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702470
2013-06-17 16:18:37 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
rtsp-client: Make configure_client_transport virtual
This patch makes configure_client_transport virtual. The functionality is
needed to handle some weird clients sending multicast transport settings as url
options.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702173
2013-06-12 12:23:56 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
rtsp-client: Make param_set and param_get virtual
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702072
2013-06-05 15:49:45 +0200 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: convert_range replaces get_range_times
get_range_times worked for handling UTC ranges for seeks, but we also
need to convert back from NPT to the requested unit in
get_range_string. convert_range is now used for both.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702084
2013-06-14 16:05:59 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-sdp.h:
sdp: cleanup sdp info
We don't need to pass the proto, we can more easily check a boolean.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702063
2013-06-12 15:22:57 +0200 Alexander Schrab <alexas@axis.com>
* gst/rtsp-server/rtsp-sdp.c:
use 0.0.0.0 or :: for c= line instead of server address
2013-06-12 10:56:16 +0200 Alexander Schrab <alexas@axis.com>
* gst/rtsp-server/rtsp-client.c:
use local address, not remote, in SDP
See https://bugzilla.gnome.org/show_bug.cgi?id=702063
2013-06-05 15:18:26 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From 098c0d7 to 01a7a46
2013-05-29 13:45:00 +0200 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: possibility to override range time conversion
Make it possible to override the conversion from GstRTSPTimeRange to
GstClockTimes, that is done before seeking on the media
pipeline. Overriding can be useful for UTC ranges, where the default
conversion gives nanoseconds since 1900.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=701191
2013-06-03 12:04:44 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
rtsp-server: Expose the use_client_settings API
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=699935
2013-05-30 08:07:48 +0200 Alexander Schrab <alexas@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtspstream: handle both ipv4 and ipv6 clients
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=701129
2013-05-31 15:28:58 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-sdp.c:
Revert "rtsp-sdp: Parse width/height from caps and set SDP attribute"
This reverts commit 5fd034ff1a517db7f629ffcc3ed16839c61f5c97.
We already have a way to place extra attributes in the SDP by using a string
property with prefix x- or a- in the caps.
2013-05-31 15:27:48 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-sdp.c:
Revert "rtsp-sdp: Parse framerate caps field and set SDP attribute"
This reverts commit d6a4dee03642a2d2c05fec4752dc3ccb60b19494.
We already have a way to place extra attributes in the SDP, just make a string
property in the payloader with a- or x- prefix.
2013-05-31 15:41:55 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-sdp.c:
rtsp: place a- and x- properties as attributes
application/x-rtp has properties with a- and x- prefixes that should be
placed as attributes in the SDP for the media instead of being added to the
fmtp.
2013-05-31 12:10:28 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/Makefile.am:
* examples/test-video.c:
example: add TLS example
2013-05-31 11:42:36 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
server: add support for TLS
Add methods to set and get a TLS certificate.
Add vmethod to configure a new connection. By default, configure the TLS
certificate in a new connection if needed.
2013-05-31 11:14:17 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
server: remove accept_client vmethod
This vmethod is not very useful so remove it.
2013-05-30 17:23:51 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: don't crash on NULL GError
2013-05-30 10:46:33 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-session-pool.c:
rtsp-session-pool: corrected session timeout detection
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=701253
2013-05-30 10:52:46 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: improve debug
2013-05-30 07:18:22 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-server.c:
server: refactor connection setup
Let the server accept the socket connection and construct a GstRTSPConnection
from it. Remove the code from the client and let the client only deal with
a fully configure GstRTSPConnection object.
We will need this later when the server will configure the connection for
TLS.
2013-05-30 06:49:20 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream.c:
stream: keep the transport object alive
Keep the transport object alive while we have it as qdata on the
source.
2013-05-27 12:58:07 +0200 Alexander Schrab <alexas@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-server.c:
rtsp-server: Do not crash on nmapping of server
* generate error when gst_rtsp_connection_accept fails
* do not stop accepting incoming connections because
accepting a client fails
https://bugzilla.gnome.org/show_bug.cgi?id=701072
2013-05-24 13:39:50 +0200 Alexander Schrab <alexas@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: ipv4 adress should not be marked ipv6 even if socket is ipv6
https://bugzilla.gnome.org/show_bug.cgi?id=700953
2013-05-22 03:29:38 +0200 Sebastian Rasmussen <sebrn@axis.com>
* gst/rtsp-server/rtsp-sdp.c:
rtsp-sdp: Parse framerate caps field and set SDP attribute
The SDP attribute and its format is described in RFC4566.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=700747
2013-05-22 03:29:30 +0200 Sebastian Rasmussen <sebrn@axis.com>
* gst/rtsp-server/rtsp-sdp.c:
rtsp-sdp: Parse width/height from caps and set SDP attribute
The SDP attribute and its format is described in RFC6064.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=700747
2013-04-29 14:46:30 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-sdp.c:
* tests/check/gst/client.c:
rtsp-sdp: add bandwidth line
https://bugzilla.gnome.org/show_bug.cgi?id=699220
2013-05-15 10:55:09 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From 5edcd85 to 098c0d7
2013-04-23 11:28:39 +0200 Ognyan Tonchev <ognyan@axis.com>
* tests/check/gst/media.c:
tests: add dynamic payloader prepare/unprepare check
2013-04-23 10:27:35 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: release lock when removing fakesink
2013-04-23 10:16:17 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream.c:
stream: set elements to NULL before removing
When removing a stream, set the elements to NULL first. This avoids
element-is-not-in-NULL-state errors when we dispose the elements.
2013-04-22 23:55:48 +0100 Tim-Philipp Müller <tim@centricular.net>
* common:
Automatic update of common submodule
From 3cb3d3c to 5edcd85
2013-04-22 17:34:37 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: listen to pad-removed signals
Listen to the pad-removed signal and remove the stream associated with the
removed pad.
Add signal to be notified of the removed pad.
Remove the fakesink in unprepare()
Fix signatures of the signal methods
2013-04-22 17:33:30 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-sdp.c:
tests: add example of reusable pipelines
2013-04-22 17:32:31 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: add method to get the srcpad
2013-04-22 16:49:39 +0200 Ognyan Tonchev <ognyan@axis.com>
* tests/check/gst/media.c:
check: add media prepare/unprepare test
See https://bugzilla.gnome.org/show_bug.cgi?id=698376
2013-04-22 16:40:48 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
media: disconnect from signal handlers in unprepare()
We connected to the pad-added and no-more-pads signals in prepare() so
we need to disconnect from them in unprepare().
See https://bugzilla.gnome.org/show_bug.cgi?id=698376
2013-04-22 16:25:17 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
media: don't free streams array
Don't free the streams array in the unprepare() method, they were not
added in prepare().
See https://bugzilla.gnome.org/show_bug.cgi?id=698376
2013-04-22 16:19:35 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
media: don't unref the pipeline in unprepare
Unprepare() should undo what prepare() does. Because the pipeline is
not created in prepare(), we should not unref it in unprepare()
2013-04-22 16:09:22 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-stream.c:
stream: clear session and caps for reuse
Set the session and caps to NULL after unref otherwise we might unref
them again later.
See https://bugzilla.gnome.org/show_bug.cgi?id=698376
2013-04-15 12:21:54 +0200 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-client.c:
client: send out teardown signal before tearing down
The advantage is that in the signal handler you get direct access to
information about what streams are about to get torn down (in the
GstRTSPClientState).
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697686
2013-04-15 12:17:34 +0200 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: expose connection
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697546
2013-04-14 17:58:22 +0100 Tim-Philipp Müller <tim@centricular.net>
* common:
Automatic update of common submodule
From aed87ae to 3cb3d3c
2013-04-12 11:34:38 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-media.h:
media: add method to get the base_time of the pipeline
Together with a shared clock, this base-time could eventually be sent to
the client so that it can reconstruct the exact running-time of the clock
on the server.
2013-04-09 22:35:28 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-sdp.c:
media: add GstNetTimeProvider support
Add a property to let the media provide a GstNetTimeProvider for its clock.
Make methods to get the clock and nettimeprovider
Add a x-gst-clock property to the SDP with the IP and port number of the nettime
provider and also the current time of the clock. This should make it possible
for (GStreamer) clients to slave their clock to the server clock.
2013-04-09 21:02:47 +0200 Stefan Sauer <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From 04c7a1e to aed87ae
2013-04-09 20:39:58 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: wait for buffering to complete
Wait for buffering to complete before changing the state to the target state.
2013-04-09 20:11:35 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: small cleanup
2013-03-20 12:33:54 +0100 David Svensson Fors <davidsf@axis.com>
* tests/check/gst/rtspserver.c:
tests: remove extra unref in test_setup_non_existing_stream
The unref is not needed anymore, teardown runs without it.
https://bugzilla.gnome.org/show_bug.cgi?id=696542
2013-03-20 11:28:11 +0100 David Svensson Fors <davidsf@axis.com>
* tests/check/gst/rtspserver.c:
tests: GSocketService cleanup in test_bind_already_in_use
Use g_socket_service_stop so the rtspserver test stops listening for
incoming connections in test_bind_already_in_use.
https://bugzilla.gnome.org/show_bug.cgi?id=696541
2013-03-22 18:25:07 -0400 Olivier Crête <olivier.crete@collabora.com>
* gst/rtsp-server/rtsp-media-factory.c:
rtsp-media-factory: g_signal_connect_object is not thread safe, can't use it here
Instead use a GWeakRef which is safe to use
This is a known GLib bug, see:
https://bugzilla.gnome.org/show_bug.cgi?id=667145
2013-02-22 14:17:29 -0500 Olivier Crête <olivier.crete@collabora.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-sdp.c:
* tests/check/gst/media.c:
* tests/check/gst/rtspserver.c:
rtsp-media/client: Reply to PLAY request with same type of Range
Remember the type of Range from the PLAY request and use the same type for
the reply.
2013-03-18 09:25:54 +0100 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* tests/check/gst/client.c:
rtsp-client: expose uri
2013-03-13 17:46:58 -0400 Olivier Crête <olivier.crete@collabora.com>
* tests/check/gst/mediafactory.c:
tests: Hold ref while creating second media
To test if the media aren't shared, make sure we keep the first one while creating a second
otherwise the same memory address may be reused.
2013-03-12 00:10:18 +0000 Tim-Philipp Müller <tim@centricular.net>
* configure.ac:
configure: remove out-of-date comment
2013-03-12 00:05:49 +0000 Tim-Philipp Müller <tim@centricular.net>
* .gitignore:
.gitignore: ignore more build files
2013-03-12 00:03:36 +0000 Tim-Philipp Müller <tim@centricular.net>
* tests/check/Makefile.am:
tests: use right _LIBS variable for gst-plugins-base libs
2013-03-11 11:35:14 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/Makefile.am:
check: add librtp to libs
2013-02-20 19:37:51 -0500 Olivier Crête <olivier.crete@collabora.com>
* tests/check/gst/rtspserver.c:
tests: Add test to check selecting a port the server will send from
2013-02-20 18:30:01 -0500 Olivier Crête <olivier.crete@collabora.com>
* tests/check/gst/rtspserver.c:
tests: Make sure packets are actually received
2013-02-19 18:27:20 -0500 Olivier Crête <olivier.crete@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
stream: Select unicast address from pool if appropriate
2013-02-19 16:43:08 -0500 Olivier Crête <olivier.crete@collabora.com>
* gst/rtsp-server/rtsp-stream.c:
stream: Properties are always there in Gst 1.0
2013-02-19 16:36:20 -0500 Olivier Crête <olivier.crete@collabora.com>
* tests/check/gst/addresspool.c:
tests: Add tests for unicast addresses in pool
2013-02-20 14:26:03 -0500 Olivier Crête <olivier.crete@collabora.com>
* gst/rtsp-server/rtsp-address-pool.c:
* tests/check/gst/addresspool.c:
address-pool: Verify that multicast addresses are used for multicast and vice-versa
2013-02-19 16:34:16 -0500 Olivier Crête <olivier.crete@collabora.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-address-pool.c:
* gst/rtsp-server/rtsp-address-pool.h:
* gst/rtsp-server/rtsp-stream.c:
* tests/check/gst/addresspool.c:
address-pool: Add unicast addresses
2013-02-19 13:19:41 -0500 Olivier Crête <olivier.crete@collabora.com>
* configure.ac:
* gst/rtsp-server/rtsp-server.c:
* tests/check/gst/rtspserver.c:
rtsp-server: Limit the number of threads per server instance
If we exceed the maximum, just round robin the clients over the existing
threads.
2013-02-19 12:31:23 -0500 Olivier Crête <olivier.crete@collabora.com>
* gst/rtsp-server/rtsp-server.c:
rtsp-server: No need to store the GMainContext in the client context
2013-02-18 20:22:18 -0500 Olivier Crête <olivier.crete@collabora.com>
* tests/check/gst/rtspserver.c:
tests: Add test for client disconnection
2013-02-18 20:15:41 -0500 Olivier Crête <olivier.crete@collabora.com>
* tests/check/gst/rtspserver.c:
tests: Test client and session timeouts with multiple threads
2013-02-18 14:59:58 -0500 Olivier Crête <olivier.crete@collabora.com>
* gst/rtsp-server/rtsp-address-pool.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-mount-points.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
Document locking and its order
2013-02-15 20:02:31 -0500 Olivier Crête <olivier.crete@collabora.com>
* tests/check/gst/rtspserver.c:
tests: Test that slow DESCRIBE don't block other clients
2013-02-14 19:52:09 -0500 Olivier Crête <olivier.crete@collabora.com>
* tests/check/gst/client.c:
tests: Add tests for client-requested multicast address
2013-02-14 13:44:54 -0500 Olivier Crête <olivier.crete@collabora.com>
* docs/libs/gst-rtsp-server-sections.txt:
docs: Put the various functions in the right sections
2013-02-14 13:38:07 -0500 Olivier Crête <olivier.crete@collabora.com>
* docs/libs/gst-rtsp-server-docs.sgml:
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-address-pool.c:
* gst/rtsp-server/rtsp-address-pool.h:
docs: Generate docs for GstRTSPAddressPool
2013-02-13 18:32:20 -0500 Olivier Crête <olivier.crete@collabora.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
client: Check client provided addresses against the address pool
2013-02-13 18:01:43 -0500 Olivier Crête <olivier.crete@collabora.com>
* gst/rtsp-server/rtsp-address-pool.c:
* gst/rtsp-server/rtsp-address-pool.h:
* tests/check/gst/addresspool.c:
address-pool: Add API to request a specific address from the pool
Also add relevant unit tests.
2013-02-12 19:34:24 -0500 Olivier Crête <olivier.crete@collabora.com>
* tests/check/gst/mediafactory.c:
tests: Check the passing around of a RTSPAddressPool
Make sure the RTSPAddressPool is propagated from the MediaFactory all the
way down to the stream.
2013-02-12 16:34:37 -0500 Olivier Crête <olivier.crete@collabora.com>
* tests/check/gst/addresspool.c:
tests: Add more tests for the address pool
2013-02-12 16:29:25 -0500 Olivier Crête <olivier.crete@collabora.com>
* gst/rtsp-server/rtsp-address-pool.c:
address-pool: Fix off by one error
When splitting a port range, the port after a skip is not part of range.
2013-03-07 00:04:19 +0000 Tim-Philipp Müller <tim@centricular.net>
* common:
Automatic update of common submodule
From 2de221c to 04c7a1e
2013-02-07 16:18:08 -0600 George McCollister <george.mccollister@gmail.com>
* configure.ac:
configure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
AM_CONFIG_HEADER was removed in automake 1.13
https://bugzilla.gnome.org/show_bug.cgi?id=693368
2013-01-28 20:45:44 +0100 Stefan Sauer <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From a942293 to 2de221c
2013-01-28 10:31:50 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: make sure the watch exists while sending data
Protect the send_func with a lock. This allows us to wait for sending
to complete before changing the send_func and user_data. We add an
extra ref to the watch to make sure that it remains valid during
sending.
When closing the connection, set the send_func to NULL
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=692433
2013-01-16 12:16:32 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* tests/check/Makefile.am:
tests: use GST_*_1_0 environment variables everywhere
The _1_0 suffixed environment variables override the
non-suffixed ones, so if we're in an environment that
sets the _1_0 suffixed ones, such as jhbuild, we need
to set those to make sure ours actually always get
used.
2013-01-15 15:09:24 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* common:
Automatic update of common submodule
From acb04d9 to a942293
2012-12-14 11:58:29 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: set the client backlog
Set the client backlog to a reasonable default
2012-12-04 09:47:35 +0100 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Make the element a constructor parameter
https://bugzilla.gnome.org/show_bug.cgi?id=689594
2012-12-04 01:05:31 +0100 Sebastian Rasmussen <sebras@hotmail.com>
* docs/libs/Makefile.am:
docs: Link with gcov library when gcov is enabled
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=689583
2012-11-30 15:03:15 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: match prepare with unprepare
Really unprepare when there were an equal amount of prepare calls.
2012-11-30 14:58:46 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: media has to be unprepared in finalize
Because unprepare takes away the last ref on the media.
2012-11-30 14:36:30 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
Revert "client: never call gst_rtsp_media_unprepare, let gst_rtsp_media_finalize do it"
This reverts commit ba5b78ff2ff223049188eb456e228c709ccd3e05.
We can't use the refcount to trigger unprepare because it is the unprepare call
that removes the last refcount after all messages are consumed. What we should
probably do is make a prepared refcount and only unprepare when the refcount
reaches 0.
2012-11-30 13:35:05 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: let the source unref the last media ref
the last ref to the media is held by the source so we don't need to add more ref
and unrefs, we simply destroy the media when the source is gone.
2012-11-30 12:54:10 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: improve debug
2012-11-30 12:53:02 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: check state
Make sure we are in the right state when collecting the position and duration.
Only make ourselves PREPARED when we were previously PREPARING.
2012-11-30 10:05:48 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: use g_object_ref/unref for GObjects
2012-11-30 07:05:25 +0100 Alessandro Decina <alessandro.d@gmail.com>
* gst/rtsp-server/rtsp-client.c:
client: never call gst_rtsp_media_unprepare, let gst_rtsp_media_finalize do it
Calling gst_rtsp_media_unprepare breaks shared medias. Just unref
GstRTSPMedia instances and let gst_rtsp_media_finalize unprepare when a media
isn't being used anymore.
2012-11-30 06:17:46 +0100 Alessandro Decina <alessandro.d@gmail.com>
* gst/rtsp-server/rtsp-media.c:
Fix compiler warning
2012-11-30 06:14:49 +0100 Alessandro Decina <alessandro.d@gmail.com>
* gst/rtsp-server/rtsp-media-factory-uri.c:
Add missing g_type_class_add_private in GstRTSPMediaFactoryURI
2012-11-29 17:21:12 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session-media.h:
small cleanup
2012-11-29 17:20:56 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* tests/check/gst/media.c:
media: avoid element leak
2012-11-29 17:20:26 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: require an element in media constructor
2012-11-29 17:07:30 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
Revert "client: TEARDOWN brings that state to Init again"
This reverts commit 4b61fdad85a3ca84752bf074fdb2fa203954b32e.
The object is already disposed, there is no point in setting the state.
2012-11-29 12:30:20 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: TEARDOWN brings that state to Init again
2012-11-29 11:11:05 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/libs/gst-rtsp-server-sections.txt:
* examples/test-auth.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media-factory-uri.h:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-mount-points.c:
* gst/rtsp-server/rtsp-mount-points.h:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-media.h:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
* tests/check/gst/media.c:
rtsp: make object details private
Make all object details private
Add methods to access private bits
2012-11-28 14:50:47 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/Makefile.am:
* tests/check/gst/media.c:
tests: add media tests
2012-11-28 14:45:30 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: check if prepared for some methods
Check that the media object is prepared before doing seek and getting the
current position etc.
Add some g_return checks.
2012-11-28 12:40:46 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/Makefile.am:
* tests/check/gst/mediafactory.c:
tests: add mediafactory test
2012-11-28 12:40:18 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream.c:
stream: improve debug
2012-11-28 12:39:37 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: unref pipeline in finalize to avoid leaking it
2012-11-28 12:10:47 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media.c:
rtsp: use gst_object_unref on GstObjects
2012-11-28 12:10:14 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
media-factory: require an url
2012-11-28 11:40:33 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-uri.c:
examples: fix include
2012-11-28 11:17:27 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.h:
server: remove unused include
2012-11-28 11:07:57 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/Makefile.am:
* tests/check/gst/mountpoints.c:
tests: add test for mountpoints
2012-11-28 11:05:08 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: fix factory leak
Keep the factory in the state object only for authorization checks and make
sure we unref it on failure. Also don't keep invalid objects in the state
object.
2012-11-28 10:40:14 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-mount-points.c:
mounts: add g_return_if guards
2012-11-27 12:51:55 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/gst/client.c:
tests: add more tests
2012-11-27 12:33:02 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: improve debug
2012-11-27 12:24:21 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: improve debug and fix leaks
Cleanup the uri and session when there is a bad request.
2012-11-27 12:17:05 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* common:
update common
2012-11-27 12:13:59 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/gst/client.c:
test: add test for session in options request
2012-11-27 12:11:41 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: use 454 when session can't be found
We should use 454 when a session can't be found because there was no session
pool configured in the server. This is not a server configuration problem
because the server on which the request is done might not be the same one that
will keep the sessions for us and so it does not need to support sessions.
2012-11-27 11:17:45 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: only free connection when there is one
It's possible that the client doesn't have a connection when we try to free it.
2012-11-27 11:17:31 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/Makefile.am:
* tests/check/gst/client.c:
tests: add unit test for the client object
2012-11-26 17:35:51 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: small cleanup
2012-11-26 17:34:35 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.h:
client: remove unused include
2012-11-26 17:34:24 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: fix compilation
2012-11-26 17:28:29 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: call destroy without the lock
2012-11-26 17:20:39 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: make the client usable without a socket
Make a method to let the client handle a message and a callback when the client
wants us to send a response message back. This makes it possible to also use the
client object without the sockets, which should make it easier to test.
2012-11-26 16:45:04 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: small cleanup
2012-11-26 16:39:26 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-server.c:
client: remove reference to server
We don't need to keep a ref to the server
2012-11-26 16:30:16 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: add locking
Also add some g_return_if()
2012-11-26 13:37:20 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: log more errors
2012-11-26 13:35:48 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: fix compilation
2012-11-26 13:16:59 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: add generic close-after-send support
Add a property to send_response() to close the connection after the response has
been sent to the client.
2012-11-26 12:34:05 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/README:
* docs/libs/gst-rtsp-server-docs.sgml:
* docs/libs/gst-rtsp-server-sections.txt:
* docs/libs/gst-rtsp-server.types:
* examples/test-auth.c:
* examples/test-launch.c:
* examples/test-mp4.c:
* examples/test-multicast.c:
* examples/test-multicast2.c:
* examples/test-ogg.c:
* examples/test-readme.c:
* examples/test-sdp.c:
* examples/test-uri.c:
* examples/test-video.c:
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media-mapping.c:
* gst/rtsp-server/rtsp-media-mapping.h:
* gst/rtsp-server/rtsp-mount-points.c:
* gst/rtsp-server/rtsp-mount-points.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session-pool.h:
* tests/check/gst/rtspserver.c:
MediaMapping -> MountPoints
Describes better what the object manages.
2012-11-26 09:36:09 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
configure: bump required version of -base
2012-11-21 17:21:28 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: fix seeking
2012-11-21 16:41:56 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: support more Range formats
Use the new -base methods to convert the Range string into a seek start and stop
value.
2012-11-21 16:41:37 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-launch.c:
examples: fix whitespace
2012-11-20 13:34:46 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-auth.c:
test-auth: add example of how to remove sessions
Add an example of the session filter api.
2012-11-20 12:47:49 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-uri.c:
test-uri: remove mapping example
2012-11-20 12:47:20 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-uri.c:
test-uri: fix callback signature
2012-11-20 12:29:55 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
factory: keep ref to factory while media active
While the media from a factory is alive, keep a ref to the factory.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=663555
2012-11-20 12:29:26 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory-uri.c:
factory-uri: add some debug
2012-11-20 12:24:13 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream.c:
stream: set udp sources to PLAYING
Set the UDP sources to PLAYING and locked state before we add it to the pipeline
so that it doesn't cause our pipeline to produce ASYNC-DONE.
2012-11-20 12:10:16 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory-uri.c:
factory-uri: take ref to factory
Take a ref to the factory that we place in our list.
2012-11-20 11:30:09 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/Makefile.am:
* tests/test-reuse.c:
test: add test for server reuse
See https://bugzilla.gnome.org/show_bug.cgi?id=688395
2012-11-15 14:02:37 +0100 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-server.c:
server: start and stop multiple times
Stop listening on the RTSP port when the GSource is removed, so clients
can't connect and the server can be started again.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=688395
2012-11-20 11:24:35 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: fix small leak
2012-11-20 09:42:51 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: unref source in finish_unprepare
The source is created in prepare, unref it in finish_unprepare.
See https://bugzilla.gnome.org/show_bug.cgi?id=688707
2012-11-19 15:47:08 +0100 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
rtsp-media: remove bus watch before finalizing
* A GDestroyNotify function is set for the bus watch in gst_rtsp_media_prepare.
* An extra media ref is added for the bus watch. This extra ref is unreffed by
the GDestroyNotify function.
* gst_rtsp_media_unprepare destroys the source so the bus watch is removed.
* GstRTSPClient, which calls gst_rtsp_media_prepare, also calls
gst_rtsp_media_unprepare before unreffing the media.
This way, the bus watch will be removed before the media is finalized.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=688707
2012-11-17 14:51:52 +0100 Alessandro Decina <alessandro.d@gmail.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: wait until the TEARDOWN response is sent to close the connection
Responses can be sent async so we need to wait until the TEARDOWN response has
been written before we close the connection to the client. This avoids the risk
of writing/polling closed sockets.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=688535
2012-11-19 15:44:27 +0100 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: plug socket leak
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=688703
2012-11-19 11:31:12 +0000 Tim-Philipp Müller <tim@centricular.net>
* common:
Automatic update of common submodule
From 6bb6951 to a72faea
2012-11-17 00:11:27 +0000 Tim-Philipp Müller <tim@centricular.net>
* gst/rtsp-server/rtsp-media-factory-uri.c:
rtsp-server: don't use deprecated API
2012-11-17 00:03:42 +0000 Tim-Philipp Müller <tim@centricular.net>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: fix unused-but-set-variable compiler warning
rtsp-client.c:1260:21: error: variable 'protocols' set but not used
2012-11-15 17:11:16 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* TODO:
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-client.c:
rtsp: cleanups
2012-11-15 16:52:42 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/Makefile.am:
* examples/test-multicast2.c:
examples: add another multicast example
Add an example for how to configure separate multicast ranges for each media
stream.
2012-11-15 16:21:51 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-multicast.c:
test: set shared
2012-11-15 16:18:29 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-media.h:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
stream: use the address managed by the stream
Use the address managed by the stream for multicast. This allows us to have 1
multicast address for each stream.
Because the address is now managed by the stream we don't have to pass it around
anymore.
Set the address pool on the streams.
2012-11-15 16:15:20 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream.c:
rtsp: improve debug
2012-11-15 15:41:42 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: add signal for new streams
This allows applications to listen for new streams and configure properties on
them, like the address pool.
2012-11-15 15:41:19 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: configure address pool in new streams
2012-11-15 15:36:21 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: add methods to deal with address pool
Add methods to get and set the address pool for the stream
Add method to allocate and get the multicast addresses for this stream.
2012-11-15 15:32:43 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: remove MTU property
It is a stream property
2012-11-15 15:29:35 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: set blocksize only on stream
Set the blocksize only on the current stream.
2012-11-15 13:52:07 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream.c:
stream: share src and sink sockets
the allocated socket is in the used-socket property, not socket.
2012-11-15 13:25:14 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-address-pool.c:
* gst/rtsp-server/rtsp-address-pool.h:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-media.h:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
* tests/check/gst/addresspool.c:
rtsp: make address-pool return an address object
Return a boxed GstRTSPAddress from the GstRTSPAddressPool. This allows us to
store more info in the structure and allows us to more easily return the address
to the right pool when no longer needed.
Pass the address to the StreamTransport so that we can return it to the pool
when the stream transport is freed or changed.
2012-11-15 13:22:54 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/Makefile.am:
* examples/test-multicast.c:
examples: add multicast example
Show how to set up the multicast address pool so that media can be
server with multicast.
2012-11-14 17:23:59 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
rtsp: use AddressPool
Remove the multicast_group property.
Use the configured addresspool to allocate multicast addresses.
2012-11-14 16:17:33 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-address-pool.c:
* gst/rtsp-server/rtsp-address-pool.h:
address-pool: add clear method
2012-11-14 16:10:45 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-address-pool.c:
address-pool: small cleanups
2012-11-14 15:50:42 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/check/Makefile.am:
* tests/check/gst/addresspool.c:
tests: add addresspool unit test
2012-11-14 15:49:06 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-address-pool.c:
* gst/rtsp-server/rtsp-address-pool.h:
address-pool: add object to manage multicast addresses
Make an object that can manage a rage of multicast addresses and ports.
2012-11-13 12:05:42 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: set default max-threads property
2012-11-13 11:54:17 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: wait for concurrent _prepare
If a prepare is busy, wait for the result.
2012-11-13 11:49:08 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: add lock around message handler
We don't want to dispatch messages while we are still processing the result of
the state change.
2012-11-13 11:15:35 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: add lock to protect state changes
2012-11-13 11:14:49 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: add locking
2012-11-12 17:11:18 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.c:
stream-transport: add keep-alive method
2012-11-12 17:06:42 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.c:
stream-transport: add method to handle RTP/RTCP
Call new methods instead of poking into the structures directly.
2012-11-12 16:51:03 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-media.h:
session-media: add locking
2012-11-12 16:42:37 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
session: add locking
2012-11-12 16:30:16 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: free old socket
2012-11-12 16:18:57 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-mapping.c:
* gst/rtsp-server/rtsp-media-mapping.h:
mapping: add locking
2012-11-12 16:14:19 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
media-factory: add locking
2012-11-12 16:03:21 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
auth: add locking
2012-11-12 15:53:28 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
server: add max-thread property
2012-11-12 15:29:39 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
server: use a threadpool for the mainloops
2012-11-12 14:30:43 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: rename method
gst_rtsp_client_create_from_socket -> gst_rtsp_client_use_socket: we
don't really create the client from the socket, we use the socket for the
client.
2012-11-12 14:09:09 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-server.c:
server: rework maincontext handling in clients
Make a separate method to attach a client to a MainContext.
Let the server decide in what GMainContext the client will operate and give this
context to the client in attach. Then the server can later decide to use a
separate thread for each client or just use the mainthread.
2012-11-12 12:40:34 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
session: move session header code in session object
2012-11-04 00:14:25 +0000 Tim-Philipp Müller <tim@centricular.net>
* COPYING:
* COPYING.LIB:
* examples/test-auth.c:
* examples/test-launch.c:
* examples/test-mp4.c:
* examples/test-ogg.c:
* examples/test-readme.c:
* examples/test-sdp.c:
* examples/test-uri.c:
* examples/test-video.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media-factory-uri.h:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media-mapping.c:
* gst/rtsp-server/rtsp-media-mapping.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-params.c:
* gst/rtsp-server/rtsp-params.h:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-sdp.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-media.h:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
* tests/check/gst/rtspserver.c:
* tests/test-cleanup.c:
Fix FSF address
2012-10-28 13:48:44 +0100 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session.c:
rtsp-server: added annotations to indicate type of ownership transfer of return values
https://bugzilla.gnome.org/show_bug.cgi?id=680777
2012-10-28 15:37:51 +0000 Tim-Philipp Müller <tim@centricular.net>
* configure.ac:
No need to define GST_USE_UNSTABLE_API any more, 1.0 is stable now
2012-10-28 15:09:04 +0000 Tim-Philipp Müller <tim@centricular.net>
* Makefile.am:
* bindings/Makefile.am:
* bindings/vala/Makefile.am:
* bindings/vala/gst-rtsp-server-0.10.deps:
* bindings/vala/gst-rtsp-server-0.10.vapi:
* bindings/vala/packages/gst-rtsp-server-0.10.deps:
* bindings/vala/packages/gst-rtsp-server-0.10.files:
* bindings/vala/packages/gst-rtsp-server-0.10.gi:
* bindings/vala/packages/gst-rtsp-server-0.10.metadata:
* bindings/vala/packages/gst-rtsp-server-0.10.namespace:
* configure.ac:
bindings: remove vala bindings
They'll be reunited with the other GStreamer bindings
https://bugzilla.gnome.org/show_bug.cgi?id=680777
2012-10-28 00:23:57 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-media.h:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
rtsp: only create transport when needed
Only create the StreamTransport when configured.
2012-10-27 23:53:35 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: small cleanup
2012-10-27 23:49:24 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
rtsp: refactor configuration of transport
Move the configuration of the transport to a place where it makes
more sense.
2012-10-27 21:26:55 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: refactor transport parsing
2012-10-27 21:05:03 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: refuse to change the MTU on shared media
If we change the MTU of chared media, it changes for all clients.
We don't want to set the MTU to something large for clients that
stream over UDP.
2012-10-27 11:53:51 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-mp4.c:
* gst/rtsp-server/rtsp-media.c:
small fixes to docs and debug
2012-10-26 17:29:30 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-stream.c:
stream: transports must already have been removed
2012-10-26 17:28:10 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
stream: improve join and leave of the pipeline
simplify code
Do the cleanup properly
Add some docs
2012-10-26 15:23:16 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: move unprepare below default implementation
Makes it easier to find the default implementation
2012-10-26 15:21:50 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: signal unprepared when we actually finish
2012-10-26 15:19:23 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: no need to unlock, unprepare does that when needed
2012-10-26 12:33:21 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media-mapping.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-params.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.h:
docs: update docs
2012-10-26 12:04:02 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-mapping.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp: fix MTU setting
Fix setting of the MTU. There is no need for a vmethod.
2012-10-26 11:02:43 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/README:
docs: update docs
2012-10-26 11:24:55 +0100 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* configure.ac:
configure: bump version number after refactoring
2012-10-25 21:29:58 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-session-media.c:
* gst/rtsp-server/rtsp-session-media.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp: massive refactoring
Make GObjects from the remaining simple structures.
Remove GstRTSPSessionStream, it's not needed.
Rename GstRTSPMediaStream -> GstRTSPStream: It is shorter
Rename GstRTSPMediaTrans -> GstRTSPStreamTransport: It describes how
a GstRTSPStream should be transported to a client.
Rename GstRTSPMediaFactory::get_element -> create_element because that
more accurately describes what it does.
Make nice methods instead of poking in the structures.
Move some methods inside the relevant object source code.
Use GPtrArray to store objects instead of plain arrays, it is more
natural and allows us to more easily clean up.
Move the allocation of udp ports to the Stream object. The Stream object
contains the elements needed to stream the media to a client.
Improve the prepare and unprepare methods. Unprepare should now undo
everything prepare did. Improve also async unprepare when doing EOS on
shutdown. Make sure we always unprepare correctly.
2012-10-23 22:11:17 +0200 Sebastian Rasmussen <sebrn@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Unref server address clients connected to
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686725
2012-10-22 16:09:24 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-server.c:
rtsp-server: don't ref server socket if it is NULL
Fixes test_bind_already_in_use unit test again after commit 6a497440.
https://bugzilla.gnome.org/show_bug.cgi?id=686644
2012-10-22 16:29:09 +0200 Sebastian Rasmussen <sebrn@axis.com>
* tests/check/Makefile.am:
tests: Add libgio link dependency
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686647
2012-10-01 20:03:43 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/rtsp-media-mapping.c:
* gst/rtsp-server/rtsp-media-mapping.h:
rtsp-media-mapping: rename find_media vfunc to find_factory
The virtual method and class method should have the same name
so it is correctly represented in GIR file
https://bugzilla.gnome.org/show_bug.cgi?id=680777
2012-10-01 19:46:15 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-mapping.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
rtsp-server: fixed comments and GIR annotations
https://bugzilla.gnome.org/show_bug.cgi?id=680777
2012-10-12 07:18:19 +0200 Alessandro Decina <alessandro.d@gmail.com>
* gst/rtsp-server/rtsp-media-mapping.c:
media-mapping: fix transfer mode for gst_rtsp_media_mapping_add_factory
2012-10-12 07:08:57 +0200 Alessandro Decina <alessandro.d@gmail.com>
* gst/rtsp-server/rtsp-server.c:
rtsp-server: allow binding on port 0 (binds on a random port)
2012-10-12 06:21:24 +0200 Alessandro Decina <alessandro.d@gmail.com>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
rtsp-server: add bound-port property
bound-port can be used to retrieve the port number when the server is bound on
port 0, which binds on a random port.
2012-10-12 06:11:36 +0200 Alessandro Decina <alessandro.d@gmail.com>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
rtsp-media-factory: make ::get_element overridable by GI bindings
The way to annotate vfuncs with GI seems to be to create an invoker (GI term)
for them and to annotate the invoker. Add gst_rtsp_media_factory_get_element()
as the invoker for ::get_element(), making it overridable by GI generated
bindings.
2012-10-12 06:07:07 +0200 Alessandro Decina <alessandro.d@gmail.com>
* gst/rtsp-server/rtsp-media-factory-uri.c:
rtsp-media-factory-uri: don't autoplug parsers in a loop
Stop autoplugging parsers if caps have parsed=true set. Fixes autoplugging
h264parse forever.
2012-10-06 15:49:07 +0200 Alessandro Decina <alessandro.d@gmail.com>
* gst/rtsp-server/Makefile.am:
Explicitly link against gio. Fix link error on mac.
2012-10-10 11:13:10 +0200 Ognyan Tonchev <ognyan.tonchev at axis.com>
* gst/rtsp-server/rtsp-session.c:
session: add ttl to the transport header in SETUP
See https://bugzilla.gnome.org/show_bug.cgi?id=685561
2012-10-10 11:06:02 +0200 Ognyan Tonchev <ognyan.tonchev at axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media.c:
client: Use client transport settings for multicast if allowed.
This patch makes it possible for the client to send transport settings for
multicast (destination && ttl). Client settings must be explicitly allowed or
the server will use its own settings.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=685561
2012-10-06 15:02:27 +0100 Tim-Philipp Müller <tim@centricular.net>
* common:
Automatic update of common submodule
From 6c0b52c to 6bb6951
2012-10-01 16:13:50 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: do not destroy the rtsp watch
Don't destroy the client watch while dispatching. The rtsp watch is
automatically destroyed after the rtsp watch function closed() has
been called.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=685220
2012-09-22 16:11:48 +0100 Tim-Philipp Müller <tim@centricular.net>
* common:
Automatic update of common submodule
From 4f962f7 to 6c0b52c
2012-09-10 16:25:57 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-media.c:
media: fix check for seekability
2012-09-07 17:14:30 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: use more GIO
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681593
2012-09-07 17:14:10 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: remove obsolete includes
2012-09-03 17:33:17 -0700 Aleix Conchillo Flaque <aleix@oblong.com>
rtsp-media: also initialize transports in on_ssrc_active (bug #683304)
* gst/rtsp-server/rtsp-media.c: GstRTSPMediaStream transports might not
be available in "on_new_ssrc". The transports are added in
gst_rtsp_media_set_state when going to PLAYING state. However,
"on_new_ssrc" might be called before this happens.
https://bugzilla.gnome.org/show_bug.cgi?id=683304
2012-09-03 10:48:14 -0700 Aleix Conchillo Flaque <aleix@oblong.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
rtsp-client: add signals for rtsp requests (fixes #683287)
2012-08-30 12:03:27 -0700 Aleix Conchillo Flaque <aleix@oblong.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
add new-session signal to rtsp-client (fixes #683058)
2012-08-22 13:34:55 +0200 Stefan Sauer <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From 668acee to 4f962f7
2012-08-15 15:54:32 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-server.c:
* tests/check/gst/rtspserver.c:
rtsp-server: fixed segfault in gst_rtsp_server_create_socket
Do not assume that *error is set in g_socket_address_enumerator_next.
Added test_bind_already_in_use unit-test.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681914
2012-08-05 16:43:53 +0100 Tim-Philipp Müller <tim@centricular.net>
* common:
Automatic update of common submodule
From 94ccf4c to 668acee
2012-07-18 15:54:49 +0200 Patricia Muscalu <patricia@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
rtsp-client: make create_sdp virtual method
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680173
2012-07-23 08:48:25 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From 98e386f to 94ccf4c
2012-07-10 11:39:58 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: fix docs
2012-07-03 18:06:00 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
rtsp-server: use an existing socket to establish HTTP tunnel
Make it possible to transfer a socket from an HTTP server to be used as
an RTSP over HTTP tunnel.
2012-07-03 13:26:30 +0200 Ognyan Tonchev <ognyan@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
rtsp: Handle the blocksize parameter
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679325
2012-06-25 14:28:10 +0200 Sebastian Rasmussen <sebrn@axis.com>
* tests/check/Makefile.am:
* tests/check/gst/rtspserver.c:
Have unit test get header from source dir, not installed dir
This makes compilation of unit tests work in a build directory other
than the source directory.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=678789
2012-06-23 15:06:11 +0100 Tim-Philipp Müller <tim@centricular.net>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: update for gst_element_make_from_uri() changes
2012-06-19 15:25:36 +0200 David Svensson Fors <davidsf@axis.com>
* configure.ac:
* tests/Makefile.am:
* tests/check/Makefile.am:
* tests/check/gst/rtspserver.c:
rtsp: add unit test
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=678076
2012-06-13 11:43:17 +0200 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: don't collect media stats when going to NULL
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=678015
2012-06-14 09:59:06 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: don't leak transports
2012-06-12 14:45:39 +0200 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: free transport on no_stream in SETUP handler
2012-06-12 14:33:35 +0200 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: changed session media iteration
In client_unlink_session: now don't iterate in session->medias
list where items are removed by gst_rtsp_session_release_media.
Instead, repeatedly remove the first item.
2012-06-12 13:39:35 +0200 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: don't use g_object_unref on GstRTSPSessionMedia
GstRTSPSessionMedia is not a GObject type. When the
GstRTSPSession is freed, it will free the media.
2012-06-12 13:36:57 +0200 David Svensson Fors <davidsf@axis.com>
* gst/rtsp-server/rtsp-media-factory.c:
factory: plug pad leak in collect_streams
In gst_rtsp_media_factory_collect_streams: unref the srcpad that
was retrieved using gst_element_get_static_pad. gst_ghost_pad_new
will take one reference, and the other reference will otherwise
give a memory leak.
2012-05-25 16:43:38 +0200 Sebastian Rasmussen <sebrn@axis.com>
* configure.ac:
configure: suppress some warnings when debug is disabled
Warnings about unused variables should be suppressed if core has the
debug system disabled.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676824
2012-06-09 17:41:05 +0100 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* docs/libs/Makefile.am:
docs: fix build in uninstalled setup
Include gst-plugins-base libs properly.
2012-05-25 16:38:15 +0200 Sebastian Rasmussen <sebrn@axis.com>
* docs/libs/gst-rtsp-server.types:
docs: include headers defining rtsp-server object types
Fixes compiler warnings during docs build.
https://bugzilla.gnome.org/show_bug.cgi?id=676824
2012-05-25 17:11:53 +0200 Sebastian Rasmussen <sebrn@axis.com>
* configure.ac:
configure: Add warning flags for compiler when configuring
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676824
2012-06-08 15:07:06 +0200 Edward Hervey <edward.hervey@collabora.co.uk>
* common:
Automatic update of common submodule
From 03a0e57 to 98e386f
2012-06-06 18:20:49 +0200 Edward Hervey <edward.hervey@collabora.co.uk>
* common:
Automatic update of common submodule
From 1fab359 to 03a0e57
2012-06-06 14:49:02 +0200 David Svensson Fors <davidsf at axis.com>
* gst/rtsp-server/rtsp-client.c:
client: fix GSocketAddress leak in gst_rtsp_client_accept
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=677463
2012-06-01 10:30:58 +0200 Edward Hervey <edward.hervey@collabora.co.uk>
* common:
Automatic update of common submodule
From f1b5a96 to 1fab359
2012-05-31 13:11:43 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From 92b7266 to f1b5a96
2012-05-30 12:48:51 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From ec1c4a8 to 92b7266
2012-05-30 11:27:31 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From 3429ba6 to ec1c4a8
2012-05-22 15:37:25 +0200 David Svensson Fors <davidsf at axis.com>
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-server.c:
rtsp: fix compiler warnings
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676500
2012-05-13 15:59:10 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From dc70203 to 3429ba6
2012-05-11 09:42:47 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session-pool.h:
rtsp-server: port to new thread API
2012-04-16 09:11:54 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From 6db25be to dc70203
2012-04-13 15:27:22 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.c:
rtsp-server: Fix compilation and compiler warnings
2012-04-13 13:49:08 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* autogen.sh:
* configure.ac:
* gst/rtsp-server/Makefile.am:
configure: Modernize autotools setup a bit
Also we now only create tar.bz2 and tar.xz tarballs.
2012-04-13 13:39:40 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From 464fe15 to 6db25be
2012-04-05 18:45:43 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From 7fda524 to 464fe15
2012-04-04 14:45:55 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* configure.ac:
* docs/libs/Makefile.am:
* docs/version.entities.in:
* gst-rtsp.spec.in:
* gst/rtsp-server/Makefile.am:
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-rtsp-server-uninstalled.pc.in:
* pkgconfig/gstreamer-rtsp-server.pc.in:
* tests/Makefile.am:
rtsp-server: Update versioning
2012-03-29 15:12:21 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
Merge remote-tracking branch 'origin/0.10'
Conflicts:
gst/rtsp-server/rtsp-session-pool.c
2012-03-27 10:13:20 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst/rtsp-server/rtsp-session-pool.c:
rtsp-server: Don't use deprecated GLib API
2012-03-26 12:23:36 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
Replace master with 0.11
2012-03-26 12:22:05 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' into 0.11
2012-03-26 12:20:51 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' into 0.11
2012-03-19 10:48:09 +0000 Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>
* docs/README:
A couple minor typo fixes
2012-03-13 18:10:53 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: fix state of the appqueue
2012-03-13 16:06:50 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory-uri.c:
factory: use videoconvert
2012-03-13 16:02:47 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory-uri.c:
factory: change to new style caps
2012-03-07 15:03:55 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-pool.c:
rtsp-server: port to GIO
Port to GIO
2012-03-07 15:03:24 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
configure: fix build
2012-02-29 15:56:06 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* docs/README:
docs: fix for gst_rtsp_server_set_port() -> _set_service()
https://bugzilla.gnome.org/show_bug.cgi?id=666548
2012-02-13 11:42:51 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* configure.ac:
* examples/Makefile.am:
First rule of gst-rtsp-server club: don't talk about gst-phonon
2012-02-13 11:40:44 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* configure.ac:
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-rtsp-server-uninstalled.pc.in:
* pkgconfig/gstreamer-rtsp-server.pc.in:
pkg-config: rename gst-rtsp-server-0.11.pc to gstreamer-rtsp-server-0.11.pc
For consistency with all other modules.
2012-02-13 11:06:33 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: update for new map API
2012-02-13 10:37:37 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* .gitignore:
* bindings/Makefile.am:
* bindings/python/Makefile.am:
* bindings/python/arg-types.py:
* bindings/python/codegen/Makefile.am:
* bindings/python/codegen/__init__.py:
* bindings/python/codegen/argtypes.py:
* bindings/python/codegen/code-coverage.py:
* bindings/python/codegen/codegen.py:
* bindings/python/codegen/definitions.py:
* bindings/python/codegen/defsparser.py:
* bindings/python/codegen/docextract.py:
* bindings/python/codegen/docgen.py:
* bindings/python/codegen/fileprefix.override:
* bindings/python/codegen/fileprefixmodule.c:
* bindings/python/codegen/h2def.py:
* bindings/python/codegen/mergedefs.py:
* bindings/python/codegen/mkskel.py:
* bindings/python/codegen/override.py:
* bindings/python/codegen/reversewrapper.py:
* bindings/python/codegen/scmexpr.py:
* bindings/python/rtspserver-types.defs:
* bindings/python/rtspserver.defs:
* bindings/python/rtspserver.override:
* bindings/python/rtspservermodule.c:
* bindings/python/test.py:
* configure.ac:
python: remove pygst-based python bindings
pygi is the future, apparently.
2012-01-25 14:12:41 +0100 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
* common:
Automatic update of common submodule
From c463bc0 to 7fda524
2012-01-25 11:40:59 +0100 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From 2a59016 to c463bc0
2012-01-18 16:48:41 +0100 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From 0807187 to 2a59016
2012-01-04 19:56:02 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* common:
Automatic update of common submodule
From 11f0cd5 to 0807187
2011-12-09 11:00:46 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-auth.c:
example: update for new caps
2011-12-09 10:53:30 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-video.c:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
rtsp-server: port some more to 0.11
Fix caps.
Remove bufferlist stuff
Update for new API.
Add queue before appsink now that preroll-queue-len is gone.
Update for request pad changes.
2011-11-03 16:14:03 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' into 0.11
2011-11-03 16:06:23 +0100 Fabian Deutsch <fabian.deutsch@gmx.de>
* bindings/vala/packages/gst-rtsp-server-0.10.metadata:
bindings: Fix vala binding of gst_rtsp_media_mapping_add_factory to transfer ownership.
Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2011-11-03 16:06:23 +0100 Fabian Deutsch <fabian.deutsch@gmx.de>
* bindings/vala/packages/gst-rtsp-server-0.10.metadata:
bindings: Fix vala binding of gst_rtsp_media_mapping_add_factory to transfer ownership.
Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2011-11-03 12:58:42 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' into 0.11
2011-11-03 12:55:24 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: add a seekable boolean
Maintain the seekable state with a new variable instead of reusing the
is_live variable.
2011-09-16 11:31:17 -0400 Victor Gottardi <vgottardi@hotmail.com>
* gst/rtsp-server/rtsp-media.c:
Disallow seek in live media
2011-11-03 11:58:42 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' into 0.11
2011-11-03 10:48:40 +0100 mat <matzepopatze@gmx.de>
* gst/rtsp-server/rtsp-server.c:
#ifdef statements for windows socket creation were missing
2011-09-06 21:53:46 +0200 Stefan Sauer <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From a39eb83 to 11f0cd5
2011-09-06 16:07:18 +0200 Stefan Sauer <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From 605cd9a to a39eb83
2011-08-16 16:39:26 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' into 0.11
2011-08-16 16:07:04 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: use method to access property
2011-08-16 15:15:19 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
media-factory: add protocols property
Add a property to configure the allowed protocols in the media created from the
factory.
2011-08-16 15:03:06 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
media-factory: add media-configure signal
Add signal to allow the application to configure the media after it was created
from the factory.
2011-08-16 16:07:04 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: use method to access property
2011-08-16 15:15:19 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
media-factory: add protocols property
Add a property to configure the allowed protocols in the media created from the
factory.
2011-08-16 15:03:06 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
media-factory: add media-configure signal
Add signal to allow the application to configure the media after it was created
from the factory.
2011-08-16 14:50:50 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' into 0.11
2011-08-16 13:43:44 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: use media multicast group
2011-08-16 13:37:50 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.h:
retab some .h
2011-08-16 13:31:52 +0200 Robert Krakora <rob.krakora at messagenetsystems.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-sdp.h:
sdp: copy and free the server ip address
Copy and free the server ip address to make memory management easier later.
2011-08-16 13:27:39 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
media-factory: configure multicast in media
2011-08-16 13:25:16 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: add property for multicast group
Add a property to configure the multicast group in the media.
Based on patches from Marc Leeman and Robert Krakora.
2011-08-16 13:13:36 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
media-factory: add property for multicast group
Add a property to configure the multicast group in the media factory.
Based on patches from Marc Leeman and Robert Krakora.
2011-08-16 12:51:44 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: do configuration of transport in one place
Move the configuration of the transport destination address to where we also
configure the other bits.
2011-08-16 13:43:44 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: use media multicast group
2011-08-16 13:37:50 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.h:
retab some .h
2011-08-16 13:31:52 +0200 Robert Krakora <rob.krakora at messagenetsystems.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-sdp.h:
sdp: copy and free the server ip address
Copy and free the server ip address to make memory management easier later.
2011-08-16 13:27:39 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
media-factory: configure multicast in media
2011-08-16 13:25:16 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: add property for multicast group
Add a property to configure the multicast group in the media.
Based on patches from Marc Leeman and Robert Krakora.
2011-08-16 13:13:36 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
media-factory: add property for multicast group
Add a property to configure the multicast group in the media factory.
Based on patches from Marc Leeman and Robert Krakora.
2011-08-16 12:51:44 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: do configuration of transport in one place
Move the configuration of the transport destination address to where we also
configure the other bits.
2011-08-16 12:11:59 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' into 0.11
2011-08-16 12:09:48 +0200 Robert Krakora <rob.krakora at messagenetsystems.com>
* gst/rtsp-server/rtsp-client.c:
client: destroy pipeline on client disconnect with no prior TEARDOWN.
The problem occurs when the client abruptly closes the connection without
issuing a TEARDOWN. The TEARDOWN handler in the rtsp-client.c file of the RTSP
server is where the pipeline gets torn down. Since this handler is not called,
the pipeline remains and is up and running. Subsequent clients get their own
pipelines and if the do not issue TEARDOWNs then those pipelines will also
remain up and running. This is a resource leak.
2011-08-16 11:53:37 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' into 0.11
2011-06-30 10:13:59 +0200 Emmanuel Pacaud <emmanuel@gnome.org>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
media-factory: add a "media-constructed" signal to GstRTSPMediaFactory
For example, it can be used to retrieve source elements like appsrc, in a more
convenient way than subclassing get_element.
2011-08-16 11:12:33 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' into 0.11
2011-08-11 18:07:08 -0700 David Schleef <ds@schleef.org>
* gst/rtsp-server/rtsp-server.c:
rtsp-server: hold on to reference while using object
2011-08-04 08:59:17 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: use new api
2011-08-04 08:58:58 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
configure: use unstable api
2011-06-27 11:26:26 -0700 David Schleef <ds@schleef.org>
* gst/rtsp-server/rtsp-client.c:
client: fix reference counting
2011-07-20 17:16:42 +0200 Thijs Vermeir <thijsvermeir@gmail.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
fix compiler warnings about unused variables
2011-07-19 16:10:39 +0200 Stefan Sauer <ensonic@google.com>
* examples/test-launch.c:
* examples/test-readme.c:
* examples/test-uri.c:
* examples/test-video.c:
examples: tell rtsp uri when ready
2011-06-23 11:30:14 -0700 David Schleef <ds@schleef.org>
* common:
Automatic update of common submodule
From 69b981f to 605cd9a
2011-06-13 19:05:57 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: update for buffer API change
2011-06-07 10:54:26 +0200 Edward Hervey <edward.hervey@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
Makefile.am: 0.10 => @GST_MAJORMINOR@
2011-06-07 10:59:16 +0200 Edward Hervey <edward.hervey@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory-uri.c:
rtsp-media-factory-uri: GST_PLUGIN_FEATURE_NAME is no longer
2011-06-07 10:59:03 +0200 Edward Hervey <edward.hervey@collabora.co.uk>
* gst/rtsp-server/.gitignore:
.gitignore: 0.10 => 0.11
2011-06-07 10:54:26 +0200 Edward Hervey <edward.hervey@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
Makefile.am: 0.10 => @GST_MAJORMINOR@
2011-05-24 18:26:06 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' into 0.11
2011-05-19 23:00:52 +0300 Stefan Kost <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From 9e5bbd5 to 69b981f
2011-05-18 16:14:10 +0300 Stefan Kost <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From fd35073 to 9e5bbd5
2011-05-18 12:27:35 +0300 Stefan Kost <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From 46dfcea to fd35073
2011-05-17 09:48:13 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media.c:
media: port to new caps API
2011-05-17 09:45:04 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' into 0.11
2011-05-03 21:13:15 +0200 Fabian Deutsch <fabian.deutsch@gmx.de>
* bindings/vala/gst-rtsp-server-0.10.vapi:
Updated Vala bindings.
Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2011-05-03 16:24:28 +0200 Fabian Deutsch <fabian.deutsch@gmx.de>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
Add a signal for newly connected clients.
Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2011-05-08 13:15:19 +0200 Alessandro Decina <alessandro.d@gmail.com>
* bindings/python/rtspserver.override:
python: override gst_rtsp_media_mapping_add_factory to fix refcounting
2011-04-26 19:22:50 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-funnel.c:
* gst/rtsp-server/rtsp-funnel.h:
* gst/rtsp-server/rtsp-media.c:
rtsp-server: port to 0.11
2011-04-26 19:14:18 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* common:
add common
2011-04-26 19:07:13 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' into 0.11
Conflicts:
common
configure.ac
2011-04-24 14:07:11 +0100 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* common:
Automatic update of common submodule
From c3cafe1 to 46dfcea
2011-04-20 11:19:38 +0200 Alessandro Decina <alessandro.d@gmail.com>
* bindings/python/Makefile.am:
* bindings/python/rtspserver.defs:
python bindings: wrap GstRTSPMediaFactoryClass vfuncs
2011-04-20 11:13:56 +0200 Alessandro Decina <alessandro.d@gmail.com>
* bindings/python/arg-types.py:
python bindings: add GstRTSPUrlParam
Needed to implement MediaFactory virtual proxies
2011-04-20 10:19:46 +0200 Alessandro Decina <alessandro.d@gmail.com>
* bindings/python/arg-types.py:
python bindings: fix returning GstRTSPUrl types
2011-04-20 10:17:07 +0200 Alessandro Decina <alessandro.d@gmail.com>
* bindings/python/arg-types.py:
python bindings: add arg type for GstRTSPUrl
2011-04-20 10:16:08 +0200 Alessandro Decina <alessandro.d@gmail.com>
* bindings/python/rtspserver.defs:
python bindings: fix the definition of MediaFactory.collect_stream
2011-04-04 15:59:50 +0300 Stefan Kost <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From 1ccbe09 to c3cafe1
2011-03-25 22:38:06 +0100 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From 193b717 to 1ccbe09
2011-03-25 14:58:34 +0200 Stefan Kost <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From b77e2bf to 193b717
2011-03-25 10:04:57 +0100 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* Makefile.am:
build: Include lcov.mak to allow test coverage report generation
2011-03-25 09:35:15 +0100 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From d8814b6 to b77e2bf
2011-03-25 09:11:40 +0100 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* common:
Automatic update of common submodule
From 6aaa286 to d8814b6
2011-03-24 18:51:37 +0200 Stefan Kost <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From 6aec6b9 to 6aaa286
2011-03-18 19:34:57 +0100 Luis de Bethencourt <luis@debethencourt.com>
* autogen.sh:
autogen: wingo signed comment
2011-03-03 20:38:03 +0100 Miguel Angel Cabrera Moya <madmac2501@gmail.com>
* gst/rtsp-server/rtsp-session-pool.c:
session: use full charset for RTSP session ID
As specified in RFC 2326 section 3.4 use full valid charset to make guessing
session ID more difficult.
https://bugzilla.gnome.org/show_bug.cgi?id=643812
2011-03-07 10:23:06 +0100 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
rtsp-server: Don't install the funnel header
2011-02-28 18:35:03 +0100 Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
* common:
Automatic update of common submodule
From 1de7f6a to 6aec6b9
2011-02-26 19:58:02 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* configure.ac:
configure: require core/base 0.10.31
Needed at least for gst_plugin_feature_rank_compare_func().
2011-02-14 12:56:29 +0200 Stefan Kost <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From f94d739 to 1de7f6a
2011-02-02 15:37:03 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: remove more unused code
2011-02-02 15:30:45 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: remove duplicate filtering
Remove the duplicate filtering code now that we have a released -good version.
Give a warning instead.
2011-01-31 17:38:47 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
media: fix default buffer size
2011-01-31 17:37:02 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
media-factory: add property to configure the buffer-size
Add a property to configure the kernel UDP buffer size.
2011-01-31 17:28:22 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: add property to configure kernel buffer sizes
Add a property to configure the kernel UDP buffer size.
2011-01-26 15:52:54 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* configure.ac:
configure: set PYGOBJECT_REQ before using it
https://bugzilla.gnome.org/show_bug.cgi?id=640641
2011-01-24 11:59:22 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* docs/Makefile.am:
docs: recursive into sub-directories on 'make upload'
2011-01-24 11:53:17 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* docs/libs/gst-rtsp-server-docs.sgml:
* docs/version.entities.in:
docs: mention full version these docs are for, not just major-minor
2011-01-24 12:07:17 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
back to development
=== release 0.10.8 ===
2011-01-24 11:57:12 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
release 0.10.8
2011-01-19 15:29:55 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
rtsp-server: clarify docs a little
2011-01-13 18:57:15 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: init debug category before starting thread
2011-01-13 18:40:48 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-auth.c:
auth: add realm to make it more spec compliant
2011-01-12 18:57:41 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
server: add locking
2011-01-12 18:33:49 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-video.c:
example: improve example docs a little
2011-01-12 18:26:57 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: ensure the watch has a ref to the server
2011-01-12 18:24:44 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: simpify channel function
2011-01-12 18:18:13 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
server: simplify management of channel and source
We don't need to keep around the channel and source objects. Let the mainloop
and the source manage the source and channel respectively.
2011-01-12 18:17:26 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* Makefile.am:
* configure.ac:
build tests
2011-01-12 18:16:46 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/.gitignore:
* tests/Makefile.am:
* tests/test-cleanup.c:
tests: add tests directory and cleanup test
2011-01-12 18:14:48 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-mapping.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
server: improve debugging in various objects
2011-01-12 16:38:34 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: chain up to the parent finalize
2010-09-21 17:04:02 -0300 André Dieb Martins <andre.dieb@gmail.com>
* bindings/python/rtspserver-types.defs:
* bindings/python/rtspserver.defs:
* bindings/python/rtspserver.override:
* bindings/python/test.py:
gst-rtsp-server: update python bindings
2011-01-12 15:37:39 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: use the response from the clientstate
Create the response object only once and store in the client state.
Make all methods use the state response,
2011-01-12 15:36:22 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: use signal to keep track of clients
Keep track of all the clients that the server creates and remove them when they
fire the 'closed' signal.
2011-01-12 15:35:51 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: emit signal when closing
2011-01-12 13:57:09 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/.gitignore:
* examples/Makefile.am:
* examples/test-auth.c:
* examples/test-video.c:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.h:
media: enable per factory authorisations
Allow for adding a GstRTSPAuth on the factory and media level and check
permissions when accessing the factory.
Add hints to the auth methods for future more fine grained authorisation.
Add example application for per factory authentication.
2011-01-12 13:16:08 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-params.c:
* gst/rtsp-server/rtsp-params.h:
rtsp-server: Pass ClientState structure arround
Pass the collected information for the ongoing request in a GstRTSPClientState
structure that we can then pass around to simplify the method arguments. This
will also be handy when we implement logging functionality.
2011-01-12 12:07:40 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
media-factory: add methods to configure authorisation
2011-01-12 12:07:20 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: unref auth in finalize
2011-01-12 12:07:04 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: unref auth in finalize
2011-01-12 11:07:26 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/libs/gst-rtsp-server-docs.sgml:
* docs/libs/gst-rtsp-server-sections.txt:
* docs/libs/gst-rtsp-server.types:
docs: add more docs
2011-01-12 10:57:08 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
server: separate create and accept
Create separate create and accept methods so that subclasses can create custom
client object.
Configure the server in the client object and prepare for keeping track of
connected clients.
2011-01-12 10:42:52 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
client: add support for setting the server.
Add support for keeping a ref to the server that started this client
connection.
2011-01-12 10:41:42 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-auth.c:
auth: fix memleak and add some docs
Fix a memleak of the basic auth token.
Add docs for the helper function
2011-01-12 00:35:28 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.c:
client: delegate setup of auth to the manager
Delegate the configuration of the authentication tokens to the manager object
when configured.
2011-01-12 00:17:54 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-video.c:
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-auth.c:
* gst/rtsp-server/rtsp-auth.h:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
auth: add authentication object
Add an object that can check the authorization of requests.
Implement basic authentication.
Add example authentication to test-video
2011-01-12 00:20:36 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
server: move includes back
the includes are needed for sockaddr_in.
2011-01-11 22:41:12 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
rtsp: move network includes where they are needed
2011-01-07 23:45:32 +0200 Sreerenj Balachandran <sreerenj.balachandran@nokia.com>
* gst/rtsp-server/rtsp-media.h:
rtsp-media.h: Minor corrections in comments.
Fixes #638944
2011-01-11 15:52:44 +0200 Stefan Kost <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From e572c87 to f94d739
2011-01-11 13:01:44 +0100 Edward Hervey <edward.hervey@collabora.co.uk>
* .gitignore:
* docs/.gitignore:
* docs/libs/.gitignore:
* examples/.gitignore:
* gst/rtsp-server/.gitignore:
gitignore: updates
2011-01-11 12:58:39 +0100 Edward Hervey <edward.hervey@collabora.co.uk>
* docs/libs/Makefile.am:
docs: We don't build ps/pdf for API reference docs
2011-01-10 16:39:36 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* common:
Automatic update of common submodule
From ccbaa85 to e572c87
2011-01-10 14:56:39 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* common:
Automatic update of common submodule
From 46445ad to ccbaa85
2011-01-10 15:10:53 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-funnel.c:
* gst/rtsp-server/rtsp-funnel.h:
* gst/rtsp-server/rtsp-media.c:
funnel: rename fsfunnel to rtspfunnel
Rename the funnel to avoid conflicts with the farsight one.
2011-01-10 13:41:43 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/fs-funnel.c:
* gst/rtsp-server/fs-funnel.h:
* gst/rtsp-server/rtsp-media.c:
rtsp-media: add and use fsfunnel
Add a copy of fsfunnel to the build because input-selector removed the (broken)
select-all property that we need.
2011-01-08 01:58:44 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
gobject-introspection: use PKG_CONFIG_PATH specified at configure time
Use PKG_CONFIG_PATH specified at configure time (if any) as well
for the g-ir-compiler, rather than just assuming the env var has
been set.
2011-01-08 01:55:06 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* .gitignore:
* Makefile.am:
* configure.ac:
* m4/Makefile.am:
* m4/codeset.m4:
build: make autotools put all .m4 cruft into m4/ rather than polluting common/m4
2011-01-08 01:15:35 +0000 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* configure.ac:
* gst/rtsp-server/Makefile.am:
gobject-introspection: fix g-i build for uninstalled setup
Requires gst-plugins-base git (> 0.10.31.2).
2011-01-07 11:27:57 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-uri.c:
examples: add some more options and comments
2011-01-07 11:24:39 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory-uri.c:
factory-uri: use right property type
2011-01-05 12:07:42 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory-uri.c:
factory-uri: attempt to configure buffer-lists
Attempt to configure buffer lists in the payloader for improved performance.
2011-01-05 12:06:23 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: attempt to configure bigger UDP buffers
Attempt to configure bigger udp kernel send buffers to avoid overflowing the
send buffers with high bitrate streams.
2011-01-05 11:26:30 +0100 Jonas Larsson <jonas at hallerud dot se>
* gst/rtsp-server/rtsp-client.c:
client: use the socket length from getsockname
Use the length returned by getsockname to perform the getnameinfo call because
the size can depend on the socket type and platform.
Fixes #638723
2010-12-30 12:41:53 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/libs/gst-rtsp-server-docs.sgml:
* docs/libs/gst-rtsp-server-sections.txt:
docs: add uri factory to the docs
2010-12-30 12:41:31 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.h:
docs: improve docs
2010-12-29 16:26:41 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
rtsp-server: add support for buffer lists
Add support for sending bufferlists received from appsink.
Fixes #635832
2010-12-28 18:35:01 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-sdp.c:
media: make method to retrieve the play range
Make a method to retrieve the playback range so that we can conditionally create
a different range for the SDP and the PLAY requests.
2010-12-28 18:34:10 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: add signal to notify of state changes
2010-12-28 18:31:26 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.h:
client: cleanup headers
2010-12-28 12:18:41 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: fix typo
2010-12-23 18:53:01 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media-factory-uri.h:
factory-uri: add support for gstpay
Add an option to prefer gstpay over decoder + raw payloader.
2010-12-23 15:58:14 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media-factory-uri.h:
factory-uri: rework the autoplugger.
Rewrite the autoplugger a little so that it prefers to plug demuxers and parsers
before payloaders.
2010-12-21 17:37:26 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory-uri.c:
factory-uri: use better factory filter
Make better payloader filter based on autoplug rank and RTP use case.
2010-12-20 17:48:41 +0100 Edward Hervey <edward.hervey@collabora.co.uk>
* common:
Automatic update of common submodule
From 169462a to 46445ad
2010-12-18 11:24:48 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: set SO_REUSEADDR before bind
Set the SO_REUSEADDR _before_ bind() to make it actually work.
2010-12-13 16:58:36 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: emit prepared signal when prepared
Make a 'prepared' signal and emit it when we successfully prepared the element.
This signal can be used to configure the media object after it has been prepared
for streaming.
2010-12-15 14:58:00 +0200 Stefan Kost <ensonic@users.sf.net>
* common:
Automatic update of common submodule
From 011bcc8 to 169462a
2010-12-13 16:38:09 +0100 Andy Wingo <wingo@oblong.com>
python an optional dependency
* configure.ac: Move up valgrind and g-i checks. Make the python
dependency optional, as it was before.
2010-12-13 11:43:13 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' into 0.11
Conflicts:
common
configure.ac
2010-12-12 15:48:47 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: update range when active clients changed
When we changed the number of active clients, update the current range
information because we want the second client connecting to a shared resource
continue from where the stream currently.
2010-12-12 04:06:41 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media-factory-uri.h:
factory-uri: add colorspace and fix pt
Rework the way we pass data to the autoplugger.
When we have raw caps, plug a converter element to make pluggin to raw
payloaders more successful.
Make sure all dynamically plugged payloaders have a unique payload types.
2010-12-11 18:06:26 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/Makefile.am:
* examples/test-uri.c:
example: add example of the uri factory
2010-12-11 18:01:53 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-media-factory-uri.c:
* gst/rtsp-server/rtsp-media-factory-uri.h:
* gst/rtsp-server/rtsp-server.h:
factory-uri: add a factory to stream any URI
Make a factory that uses uridecodebin to decode any uri and autoplug a payloader
when we have one.
2010-12-11 17:31:44 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: ignore spurious ASYNC_DONE messages
When we are dynamically adding pads, the addition of the udpsrc elements will
trigger an ASYNC_DONE. We have to ignore this because we only want to react to
the real ASYNC_DONE when everything is prerolled.
2010-12-11 13:41:24 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
media-factory: make lock macro
2010-12-11 10:53:28 +0100 Edward Hervey <bilboed@bilboed.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-server: Remove unused variable and dead assignment
2010-12-11 10:49:30 +0100 Edward Hervey <bilboed@bilboed.com>
* examples/test-launch.c:
* examples/test-mp4.c:
* examples/test-ogg.c:
* examples/test-readme.c:
* examples/test-sdp.c:
* examples/test-video.c:
examples: Run gst-indent
2010-12-11 10:48:42 +0100 Edward Hervey <bilboed@bilboed.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-mapping.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-params.c:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
rtsp-server: Run gst-indent
Since it wasn't using the upstream common previously, there was no
indentation check before commiting.
2010-12-11 10:48:25 +0100 Edward Hervey <bilboed@bilboed.com>
* gst/rtsp-server/rtsp-media-mapping.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
rtsp-server: Some more doc fixups
2010-12-07 18:56:03 +0100 Edward Hervey <edward.hervey@collabora.co.uk>
* Makefile.am:
Makefile: Add cruft-cleaning support
2010-12-07 18:52:15 +0100 Edward Hervey <edward.hervey@collabora.co.uk>
* Makefile.am:
* configure.ac:
* docs/Makefile.am:
* docs/libs/Makefile.am:
* docs/libs/gst-rtsp-server-docs.sgml:
* docs/libs/gst-rtsp-server-sections.txt:
* docs/libs/gst-rtsp-server.types:
* docs/version.entities.in:
docs: Add gtk-doc build system
2010-12-07 18:14:39 +0100 Edward Hervey <edward.hervey@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
Makefile.am: Use standard GIR make behaviour
2010-12-07 18:14:22 +0100 Edward Hervey <edward.hervey@collabora.co.uk>
* autogen.sh:
* configure.ac:
autogen/configure: Bring more in sync to standard gst module behaviour
2010-12-06 19:29:53 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: warn and fail when gstrtpbin is not found
2010-12-06 12:40:30 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
configure: open 0.11 branch
2010-12-01 20:00:22 +0100 Edward Hervey <bilboed@bilboed.com>
* .gitmodules:
* common:
Add common submodule
2010-12-01 19:58:49 +0100 Edward Hervey <bilboed@bilboed.com>
* common/ChangeLog:
* common/Makefile.am:
* common/c-to-xml.py:
* common/check.mak:
* common/coverage/coverage-report-entry.pl:
* common/coverage/coverage-report.pl:
* common/coverage/coverage-report.xsl:
* common/coverage/lcov.mak:
* common/gettext.patch:
* common/glib-gen.mak:
* common/gst-autogen.sh:
* common/gst-xmlinspect.py:
* common/gst.supp:
* common/gstdoc-scangobj:
* common/gtk-doc-plugins.mak:
* common/gtk-doc.mak:
* common/m4/.gitignore:
* common/m4/Makefile.am:
* common/m4/README:
* common/m4/as-ac-expand.m4:
* common/m4/as-auto-alt.m4:
* common/m4/as-compiler-flag.m4:
* common/m4/as-compiler.m4:
* common/m4/as-docbook.m4:
* common/m4/as-libtool-tags.m4:
* common/m4/as-libtool.m4:
* common/m4/as-python.m4:
* common/m4/as-scrub-include.m4:
* common/m4/as-version.m4:
* common/m4/ax_create_stdint_h.m4:
* common/m4/check.m4:
* common/m4/glib-gettext.m4:
* common/m4/gst-arch.m4:
* common/m4/gst-args.m4:
* common/m4/gst-check.m4:
* common/m4/gst-debuginfo.m4:
* common/m4/gst-default.m4:
* common/m4/gst-doc.m4:
* common/m4/gst-error.m4:
* common/m4/gst-feature.m4:
* common/m4/gst-function.m4:
* common/m4/gst-gettext.m4:
* common/m4/gst-glib2.m4:
* common/m4/gst-libxml2.m4:
* common/m4/gst-plugindir.m4:
* common/m4/gst-valgrind.m4:
* common/m4/gtk-doc.m4:
* common/m4/introspection.m4:
* common/m4/pkg.m4:
* common/mangle-tmpl.py:
* common/plugins.xsl:
* common/po.mak:
* common/release.mak:
* common/scangobj-merge.py:
* common/upload.mak:
common: Remove static version
2010-11-08 17:04:00 +0000 Bastien Nocera <hadess@hadess.net>
* common/m4/introspection.m4:
Update introspection.m4 to match usage
2010-10-30 13:26:12 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* README:
README: update
Remove old stuff from the README
2010-10-11 11:12:11 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
back to development
=== release 0.10.7 ===
2010-10-11 11:05:40 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
release 0.10.7
2010-10-04 17:16:40 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-ogg.c:
test-ogg: remove parsers
Remove the parsers, they are not needed anymore as oggdemux now outputs normal
buffers with timestamps. Using the parsers also seems to break things.
2010-09-23 12:44:18 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* bindings/vala/gst-rtsp-server-0.10.vapi:
* bindings/vala/packages/gst-rtsp-server-0.10.metadata:
Updated Vala bindings
2010-09-22 23:13:37 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* common/m4/introspection.m4:
* configure.ac:
* gst/rtsp-server/Makefile.am:
Added initial gobject-introspection support
2010-09-23 11:32:58 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
media-factory: don't use host for shared hash key
When we generate the key to share made between connections, don't include the
host used to connect so that we can share media even if between clients that
connected with localhost and ones with the ip address.
2010-09-22 21:16:03 +0100 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* bindings/vala/Makefile.am:
build: fix distcheck
2010-09-22 18:24:12 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* bindings/vala/gst-rtsp-server-0.10.vapi:
* bindings/vala/packages/gst-rtsp-server-0.10.gi:
* bindings/vala/packages/gst-rtsp-server-0.10.metadata:
Update Vala bindings
2010-09-22 18:12:50 +0200 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* bindings/vala/Makefile.am:
* configure.ac:
Fix configure checks and installation location for Vala bindings
Fixes bug #628676.
2010-09-22 16:32:30 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
back to development
=== release 0.10.6 ===
2010-09-22 16:22:49 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
configure: release 0.10.6
2010-09-22 16:15:56 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: help the compiler a little
2010-08-24 16:47:30 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-session.c:
media: cleanup media transport before freeing
Cleanup the media transport data before freeing. In particular, remove the qdata
from the rtpsource object.
2010-08-20 18:17:08 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media-factory: add eos-shutdown property
Add an eos-shutdown property that will send an EOS to the pipeline before
shutting it down. This allows for nice cleanup in case of a muxer.
Fixes #625597
2010-08-20 15:58:39 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: use multiudpsink send-duplicates when we can
If we have a new enough multiudpsink with the send-duplicates property, use this
instead of doing our own filtering. Our custom filtering code should eventually
be removed when we can depend on a released -good.
2010-08-20 13:19:56 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: don't leak destinations
Refactor and cleanup the destinations array when the stream is destroyed.
2010-08-20 13:09:12 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: don't add udp addresses multiple times
Keep track of the udp addresses we added to udpsink and never add the same udp
destination twice. This avoids duplicate packets when using multicast.
2010-08-20 10:18:34 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: disable use of SO_LINGER
SO_LINGER cause the client to fail to receive a TEARDOWN message because the
server close()s the connection.
2010-08-19 18:52:47 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: use 5 second linger period in SO_LINGER
Wait 5 seconds before clearing the send buffers and reseting the connection with
the client when we do a close. This should be enough time to get the message to
the client.
See #622757
2010-08-16 12:32:28 +0200 Robert Krakora <rob.krakora at messagenetsystems.com>
* gst/rtsp-server/rtsp-server.c:
server: use SO_LINGER
SO_LINGER on the socket will make sure that any pending data on the socket is
flushed ASAP and that the socket connection is reset. This makes sure that the
socket can be reused immediately.
Fixes 622757
2010-08-16 12:24:50 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/README:
README: add blurb about shared media factories
2010-08-09 12:56:23 -0700 David Schleef <ds@schleef.org>
* gst/rtsp-server/rtsp-media.c:
Add stdlib.h for atoi()
2010-05-20 14:33:24 +0100 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* bindings/python/Makefile.am:
* bindings/vala/Makefile.am:
build: distcheck fixes
Fix 'make distcheck', somewhat (it still fails because it tries to
install files into /usr/share/vala/vapi/ irrespective of the
configured prefix).
2010-05-20 14:09:18 +0100 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* configure.ac:
configure: bump core/base requirements to released version
Makes things less confusing for people.
2010-04-25 16:35:30 +0100 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* configure.ac:
configure: fail if GStreamer core/base requirements are not met
2010-04-06 17:08:40 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: improve client cleanups
Make sure the session does not timeout when using TCP. We need to do this
because quicktime player does not send RTCP for some reason in tunneled
mode.
Refactor some cleanup code.
Fixes #612915
2010-04-06 17:07:27 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
session: add support for prevent session timeouts
Add an atomix counter to prevent session timeouts when we are, for example,
streaming over TCP.
2010-04-06 15:45:56 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: fix unlink on session timeouts
When our session times out, make sure we unlink all streams in this
session.
Remove the tunnelid when closing the connection.
2010-04-06 15:44:45 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session.c:
session: small cleanups
2010-04-06 11:13:51 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: handle lost_tunnel callbacks
Handle lost_tunnel callbacks and use it to store the tunnelid back into the
hashtable so that we can reuse it for when the client reopens the POST
socket.
Close the connection after a TEARDOWN.
Make sure or watchid is cleared when the watch is removed.
Fixes #612915
2010-03-19 18:03:40 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-sdp.c:
rtsp-server: add more support for multicast
2010-03-19 15:15:29 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: allow configuration of allowed lower transport
2010-03-16 18:37:18 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-sdp.h:
* gst/rtsp-server/rtsp-server.c:
rtsp: keep track of server ip and ipv6
Keep track of how the client connected to the server and setup the udp ports
with the same protocol.
Copy the server ip address in the SDP so that clients can send RTCP back to
us.
2010-03-16 18:34:43 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session.c:
session: indent
2010-03-16 18:33:23 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: use right size for malloc
2010-03-10 11:45:30 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
server: comment ipv6 server listening address
2010-03-10 11:45:06 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: allow for ipv6 sockets
2010-03-09 13:49:00 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
server: rework server part
Allow setting a bind address, make sure we can deal with ipv6.
Remove the port property and change with the service property.
2010-03-09 13:44:20 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.h:
media: update comments a little
2010-03-09 13:43:29 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: make content-base better
Use the URI formatting functions to make a content-base. Also make sure that
there is a trailing / at the end.
2010-03-09 13:42:50 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: guard against invalid paths
2010-03-09 13:41:33 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-video.c:
test: catch server bind errors
2010-03-09 10:27:38 +0100 Alessandro Decina <alessandro.d@gmail.com>
* gst/rtsp-server/rtsp-media.c:
rtspmedia: emit "unprepared" if _prepare fails.
Emit the unprepared signal if gst_rtsp_media_prepare fails so that the
media object is removed from its factory's cache.
2010-03-05 19:08:08 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: collect media position when seek completes
2010-03-05 18:37:17 +0100 Luca Ognibene <luca.ognibene at gmail.com>
* gst/rtsp-server/rtsp-client.c:
client: call unlink_streams in client finalize
Fixes #599027
2010-03-05 18:23:18 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: limit the time to wait to something huge
Avoid waiting forever but limit the timeout to 20 seconds.
2010-03-05 17:57:08 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-sdp.c:
sdp: reindent and check for prepared status
2010-03-05 17:51:26 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-session.c:
media: avoid doing _get_state() for state changes
When preparing, use the ASYNC_DONE and ERROR messages in the bus handler to wait
until the media is prerolled or in error. This avoids doing a blocking call of
gst_element_get_state() that can cause lockups when there is an error.
Fixes #611899
2010-03-05 16:20:08 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: reindent
2010-03-05 13:34:15 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
media-factory: better error handling
Improve the error handling a bit.
2010-03-05 13:31:37 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: rework transport parsing
Rework the transport parsing code so that we can ignore transports we don't
support instead of just picking the first one we can parse.
Configure a (for now hardcoded) destination for multicast transports.
2010-03-05 13:28:58 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: set multicast sink parameters
Disable loop and automatic multicast join on the udpsink elements.
Add some more debug info.
Reset some state variables in the right place.
Use the right port numbers for multicast.
2010-03-05 13:27:18 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session.c:
session: handle transport setup correctly
Handle UDP, MCAST and TCP transport negotiation more correctly.
Store the server session SSRC in the transport.
2010-01-27 18:38:27 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: implement error_full
Implement error_full to avoid some segfaults when the rtspconnection calls it.
See #608245
2009-12-25 18:24:10 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/README:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-server.c:
docs: update docs and comments
2009-12-25 15:22:23 +0100 Nikolay Ivanov <ivnik@mail.ru>
* gst/rtsp-server/rtsp-sdp.c:
sdp: make server work better when behind a proxy
2009-11-21 01:17:25 +0100 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/rtsp-client.c:
client: dump rtsp message only if debug threshold is higher than GST_LEVEL_LOG
2009-11-21 19:20:23 +0100 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-mapping.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
Use GStreamer's debugging subsystem
2009-11-21 01:00:39 +0100 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/rtsp-media-factory.c:
server: Set ghost pad active in gst_rtsp_media_factory_collect_streams
2009-11-05 11:22:44 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
back to development
=== release 0.10.5 ===
2009-11-05 11:20:45 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
release 0.10.5
2009-10-14 12:11:31 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
configure: bump required versions
2009-10-11 13:57:54 +0200 Luca Ognibene <luca.ognibene@gmail.com>
* gst/rtsp-server/rtsp-client.c:
client: call weak-unref on client->sessions from finalize
Fixes bug #596305
2009-10-09 23:08:18 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/rtsp-media.c:
media: Fixed crasher where caps got unref'ed too often
2009-10-09 16:26:30 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* configure.ac:
* pkgconfig/.gitignore:
* pkgconfig/Makefile.am:
* pkgconfig/gst-rtsp-server-uninstalled.pc.in:
Added pkg-config file to use gst-rtsp-server uninstalled
2009-09-11 13:52:27 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: add some docs
2009-08-24 13:27:00 +0200 Peter Kjellerstedt <pkj@axis.com>
* gst/rtsp-server/rtsp-client.c:
rtsp: Use gst_rtsp_watch_send_message().
Use gst_rtsp_watch_send_message() since the old API which used
gst_rtsp_watch_queue_message() has been deprecated.
2009-08-05 11:53:56 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
back to development
=== release 0.10.4 ===
2009-08-05 11:44:49 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
Release 0.10.4
2009-07-27 19:42:44 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
rtsp: allocate channels in TCP mode
When the client does not provide us with channels in TCP mode, allocate channels
ourselves.
2009-07-24 12:49:41 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: don't crash when tunnelid is missing
When a clients tries to open an HTTP tunnel but fails to provide a tunnelid,
don't crash but return an error response to the client.
Fixes #589489
2009-07-13 11:31:23 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* bindings/vala/gst-rtsp-server-0.10.vapi:
* bindings/vala/packages/gst-rtsp-server-0.10.gi:
* bindings/vala/packages/gst-rtsp-server-0.10.metadata:
bindings: update vala bindings with new method
2009-06-30 21:27:53 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session-pool.h:
sessionpool: add function to filter sessions
Add generic function to retrieve/remove sessions.
2009-06-22 18:57:25 +0100 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* configure.ac:
configure: bump core/base requirements to release
2009-06-18 16:05:18 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: fix indentation
2009-06-14 23:12:13 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/rtsp-media.c:
Unref pipeline and set it to NULL. Set stream's caps to NULL, otherwise we unref it too often.
2009-06-13 16:05:02 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/rtsp-media.c:
set state and remove elements of media in for loop
2009-06-13 14:38:39 +0200 Sebastian <sebastian@ubuntu.(none)>
* bindings/vala/gst-rtsp-server-0.10.vapi:
* bindings/vala/packages/gst-rtsp-server-0.10.gi:
Added gst_rtsp_media_remove_elements function to Vala bindings
2009-06-13 14:38:20 +0200 Sebastian <sebastian@ubuntu.(none)>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
Added gst_rtsp_media_remove_elements function
2009-06-12 22:22:40 +0200 Sebastian <sebastian@ubuntu.(none)>
* gst/rtsp-server/rtsp-media.c:
Don't use name for gstrtpbin so we can add multiple instances to the pipeline
2009-06-12 19:28:04 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* bindings/vala/gst-rtsp-server-0.10.vapi:
* bindings/vala/packages/gst-rtsp-server-0.10.gi:
* bindings/vala/packages/gst-rtsp-server-0.10.metadata:
Updated Vala bindings
2009-06-12 18:05:30 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
Added vmethod unprepare to GstRTSPMedia
The default implementation sets the state of the pipeline to GST_STATE_NULL
2009-06-12 17:51:44 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
Made collect_streams function public
2009-06-12 17:45:29 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
Added vmethod create_pipeline to GstRTSPMediaFactory
The pipeline is created in this method and the GstRTSPMedia's element is added to it
2009-06-11 11:27:47 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: use g_source_destroy()
We need to use g_source_destroy() because we might have added the source to a
different main context than the default one.
2009-06-10 00:01:07 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-params.c:
* gst/rtsp-server/rtsp-params.h:
rtsp: prepare for handling GET/SET_PARAMETER
Add helper functions to handle GET/SET_PARAMETER. Reply with an error when there
is a body now.
Fix return codes of handlers.
2009-06-04 19:20:26 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: don't leak session pads
2009-06-04 18:32:15 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: clean up the messages a bit
2009-06-03 12:13:21 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-sdp.c:
sdp: warn and skip streams without media
2009-05-30 14:38:34 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* bindings/vala/gst-rtsp-server-0.10.vapi:
* bindings/vala/packages/gst-rtsp-server-0.10.metadata:
vala: Fixed typo in header file of RTSPMediaStream
2009-05-27 11:15:22 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: fix message
Fix a debug message
Make dumping RTCP stats configurable
2009-05-26 19:20:07 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: be less verbose and leak less
2009-05-26 19:05:07 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: don't leak the destination address
2009-05-26 19:01:10 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
rtsp: use RTCP to keep the session alive
Use the RTCP rtcp-from stats field to find the associated session and use this
to keep the session alive.
2009-05-26 17:27:07 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session.c:
session: add 5sec to the real session timeout
Allow the session to live 5sec longer before really timing out. This should give
clients some extra time to keep the session active.
2009-05-26 17:25:59 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: replay OK to GET/SET_PARAMETER
Some clients (vlc) use GET/SET_PARAMETER to keep the TCP session open. Make it
so that we return OK for those requests.
2009-05-26 11:42:41 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: keep track of active transports
Keep track of which transport is active to avoid closing the connection too
soon.
Remove the destination transport also when going to NULL.
Print some stats about the SDES and other RTCP messages we receive from the
clients.
2009-05-24 20:00:19 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/.gitignore:
* examples/Makefile.am:
* examples/test-sdp.c:
example: add SDP relay example
2009-05-24 19:56:45 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: also count active TCP connections
2009-05-24 19:34:52 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
rtsp: add support for dynamic elements
Add support for dynamic elements.
Don't set live pipelines back to paused.
2009-05-24 19:33:22 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-sdp.c:
sdp: don't add encoding name when absent in caps
2009-05-23 16:30:55 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: warn when we can't do RTP-Info
2009-05-23 16:18:04 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
factory: factor out the stream construction
2009-05-23 16:17:02 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: only add RTP-Info when we have the info
Only add RTP-Info for a stream when we can get the seqnum and timestamp from the
depayloader.
2009-05-17 14:04:31 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
back to development
=== release 0.10.3 ===
2009-05-17 13:59:10 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
release: 0.10.3
- Fixes a bug where it put the wrong verion in pkgconfig
- Link RTP and RTCP sources
2009-05-15 17:58:44 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: link the RTP udpsrc to the session manager
Link the RTP udpsrc and the appsrc to the session manager so that they don't
shut down when the client sends a packet to open firewalls.
2009-05-15 17:10:44 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* pkgconfig/gst-rtsp-server.pc.in:
Don't use hard-coded version number in pkg-config file
2009-05-11 10:51:47 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
back to development
=== release 0.10.2 ===
2009-05-11 10:50:31 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
release 0.10.2
2009-05-11 10:38:44 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* .gitignore:
* common/m4/.gitignore:
* examples/.gitignore:
* pkgconfig/.gitignore:
add some .gitignore files
2009-04-29 17:24:46 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: seek to key frames
2009-04-21 22:44:05 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
media: emit the unprepared signal by id
Emit the unprepared signal by id instead of name and set the media as
reused.
2009-04-21 22:23:54 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/rtsp-media.c:
Set pipeline's state to NULL no matter if the media is reusable and emit unprepared signal in gst_rtsp_media_unprepare
2009-04-18 16:10:59 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* gst/rtsp-server/rtsp-server.c:
Added finalize function to GstRTPSPServer to unref session pool and media mapping
2009-04-17 21:13:07 +0200 Sebastian Pölsterl <sebp@k-d-w.org>
* bindings/vala/gst-rtsp-server-0.10.vapi:
* bindings/vala/packages/gst-rtsp-server-0.10.gi:
* bindings/vala/packages/gst-rtsp-server-0.10.metadata:
Updated vala bindings
2009-04-14 23:38:58 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
server: use appsink and appsrc with the API
Use the appsink/appsrc API instead of the signals for higher
performance.
2009-04-14 23:38:15 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-ogg.c:
tests: set the payload type correctly
2009-04-03 22:46:22 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
factory: connect to the unprepare signal
Connect to the unprepare signal for non-reusable media so that we can remove
them from the cache.
2009-04-03 22:45:57 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: add signal to notify of unprepare
2009-04-03 22:22:30 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
media: more work on making the media shared
Add a reusable flag to medias, indicating that they can be reused after a state
change to NULL.
Small cleanups.
2009-04-03 19:47:38 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-readme.c:
examples: mark the example as shared for testing
2009-04-03 19:44:37 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
client: support shared media
Always perform the state actions even if the target state of the pipeline is
already correct, we still want to add/remove the transports when we are dealing
with shared media.
Keep a counter of the number of active transports for a media so that we can use
this to perform a state change when needed.
Perform a state change of the pipeline only when the first transport was added
or when there are no active transports.
2009-04-03 09:03:59 +0200 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
client: fix refcounting crasher
Don't need to remove the weak refs in the finalize methods, they are already
removed in the dispose.
Don't register the callback with a DestroyNofity.
2009-04-01 01:01:46 +0100 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
Fix rtsp client refcount management in TCP mode.
Don't unref a client ref we never had. Fixes an unref
of an already-free client object after a client
teardown request for me.
2009-04-01 00:45:17 +0100 Tim-Philipp Müller <tim.muller@collabora.co.uk>
* gst/rtsp-server/rtsp-session.c:
docs: fix typo in API docs
2009-03-13 15:57:42 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
More seeking fixes.
Keep the udp sources in playing even if we go to paused. unlock the sources when
we shut down.
Add some more debug info.
Only seek when we need to.
Keep track of the position when we go to paused.
2009-03-12 20:32:14 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
Add beginnings of seeking.
Parse the Range header and perform a seek on the pipeline for the requested
position. It's disabled currently until I figure out what's going wrong.
2009-03-12 20:31:22 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
allow pause requests for now.
--
2009-03-11 20:03:06 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
Remove weak ref on the session in teardown
We need to remove our weakref from the session when we do a teardown because
else we close the TCP connection prematurely.
2009-03-11 19:38:06 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-session-pool.c:
Do some more session cleanup
Make session timeout kill the TCP connection that currently watches the
session.
Remove the client timeout property.
2009-03-11 16:45:12 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
Add TCP transports
Use appsrc and appsink to send and receive RTP/RTCP packets in the TCP
connection.
2009-03-11 16:39:20 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/Makefile.am:
* examples/test-launch.c:
Add example server that takes launch lines
Add an example server that streams any -launch line.
2009-03-06 19:34:14 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-readme.c:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
Add support for live streams
Add support for live streams and ranges
Start on handling TCP data transfer.
2009-03-04 16:33:59 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
Free the pipeline before other things
---
2009-03-04 16:33:21 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
Only free the pending tunnel if there is one
--
2009-03-04 12:44:01 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media.c:
rtsp-server: Add support for tunneling
Add support for tunneling over HTTP.
Use new connection methods to retrieve the url.
Dispatch messages based on the message type instead of blindly
assuming it's always a request.
Keep track of the watch id so that we can remove it later.
Set the media pipeline to NULL before unreffing the pipeline.
2009-02-19 15:53:50 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
Fix for channel -> watch rename in gstreamer
Rename the RTSPChannel to RTSPWatch and remove an unused variable.
2009-02-18 18:57:31 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
Use ASYNC RTSP io
Use the async RTSP channels instead of spawning a new thread for each client.
If a sessionid is specified in a request, fail if we don't have the session.
2009-02-18 17:49:03 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
Add better debug info
Add some better debug info.
2009-02-13 20:00:34 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/test-video.c:
Time out sessions
Add support for session timeouts in the example.
2009-02-13 19:58:17 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session-pool.h:
Pass GTimeVal around for performance reasons
Get the current time only once and pass it around so that sessions don't have to
get the current time anymore.
Add experimental support for a GSource that dispatches when the session needs to
be cleaned up.
2009-02-13 19:56:01 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
Add better support for session timeouts
Add a method to request the number of milliseconds when a session will timeout.
2009-02-13 19:54:18 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
Add suport for RTP manager monitoring
Add the first stage in monitoring the rtp manager.
Make sure we don't update the state to something we don't want.
2009-02-13 19:52:05 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
Add support for session keepalive
Get and update the session timeout for all requests. get the session as early as
possible.
2009-02-13 16:39:36 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
Handle media bus messages
Handle media bus messages in a custom mainloop and dispatch them to the
RTSPMedia objects. Let the default implementation handle some common messages.
2009-02-13 12:57:45 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
Some more session timeout handling
Move the session header setting code to a central place so that we always add
the timeout parameter too.
Handle timeouts by running the session cleanup code.
Stop media before cleaning up.
2009-02-10 16:24:13 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
Add timeout property
Add a timeout property ot the client and make the other properties into GObject
properties.
2009-02-10 16:21:17 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session-pool.c:
Use getters and setters in property code
Use the getters and setters for the timeout property instead of locking
ourselves.
2009-02-04 20:13:32 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
Merge branch 'master' of git+ssh://git.collabora.co.uk/git/gst-rtsp-server
2009-02-04 20:10:39 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
Add more timeout stuff
Add method to check if a session is expired.
Add method to perform cleanup on a session pool.
2009-02-04 19:52:50 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
Add beginnings of session timeouts and limits
Add the timeout value to the Session header for unusual timeout values.
Allow us to configure a limit to the amount of active sessions in a pool. Set a
limit on the amount of retry we do after a sessionid collision.
Add properties to the sessionid and the timeout of a session. Keep track of
creation time and last access time for sessions.
2009-02-04 17:00:42 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
Cleanup of sessions and more
Fix the refcounting of media and sessions in the client. Properly clean up the
session data when the client performs a teardown.
Add Server header to responses.
Allow for multiple uri setups in one session.
Add Range header to the PLAY response and add the range attribute to the SDP
message.
Fix the session pool remove method, it used the wrong key in the hashtable. Also
give the ownership of the sessionid to the session object.
2009-02-04 09:57:55 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
Rename a variable
Rename the 'server_port' variable to simply 'port'.
2009-02-03 19:32:38 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
Rework the way we handle transports for streams
Make the media accept an array of transports for the streams that we have
configured for the play/pause requests.
Implement server states for a client and its media.
Require 0.10.22.1 (git HEAD) of gstreamer.
2009-01-31 19:50:33 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
Drop const from functions dealing with urls
Drop const from GstRTSPUrl stuff because the .h files in gst-plugins-base don't
have the right const in them.
2009-01-30 17:06:26 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-sdp.c:
Fix various leaks
Fix some leaks.
2009-01-30 16:24:10 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
More cleanups
Don't keep a reference to the GstRTSPMedia in the stream.
Free more things when freeing the GstRTSPMedia.
2009-01-30 14:53:28 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/README:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
More docs and small cleanups
Add some more docs and update the README
Cleanup some method names.
Remove an unneeded idx field in the GstRTSPMediaStream
2009-01-30 13:24:04 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/README:
* examples/Makefile.am:
* examples/test-readme.c:
Add a README and more example code
Add a README file that contains a small introduction on how to use the server
along with the example code explained in the readme.
2009-01-30 11:06:31 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-server.c:
Fix some leaks and change default port
Fix some memory leaks by setting the udpsrc elements to the unlocked state after
we finished the initial preroll. If we keep them locked, setting the pipeline to
NULL will not stop and clean up the sources correctly.
Change the default RTSP port to 8554 aka the official alternative RTSP port.
2009-01-29 18:55:22 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
Cleanups to the session object
Remove some unneeded variables in the session state of a stream such as the
owner media and the server transport.
Get the configuration of a media stream in a session based on the media_stream
in the original object instead of our cached index.
Free more data in the finalize method.
2009-01-29 18:51:02 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
Cleanups and reuse media from DESCRIBE
Handle thread create errors.
Rename some internal methods to better match what they actually do.
Handle misconfiguration of session_pool and media_mapping gracefully.
Cache the DESCRIBE media and uri in the client connection and reuse them when
we receive a SETUP request in the same connection for the same uri.
Cleanup the client connection object.
2009-01-29 17:20:27 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
Add shared properties to media and factory
Add the shared property to media.
Implement some simple caching in the factory depending on if the media is shared
or not.
2009-01-29 17:19:21 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
Add a little comment
Add some comment about the content-base header.
2009-01-29 13:31:27 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/Makefile.am:
* examples/test-mp4.c:
* examples/test-ogg.c:
* examples/test-video.c:
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-sdp.c:
* gst/rtsp-server/rtsp-sdp.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
Reorganize things, prepare for media sharing
Added various other test server examples
Move the SDP message generation to a separate helper.
Refactor common code for finding the session.
Add content-base for realplayer compatibility
Clean up request uris before processing for better vlc compatibility.
Move prerolling and pipeline construction to the RTSPMedia object.
Use multiudpsink for future pipeline reuse.
2009-01-30 11:23:57 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
Back to development
Back to 0.10.1.1
=== release 0.10.1 ===
2009-01-30 11:20:18 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
Make 0.10.1 release
Release 0.10.1
2009-01-29 15:19:01 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* bindings/vala/Makefile.am:
Fix make dist
Add more directories and files to the dist.
2009-01-24 14:34:35 +0100 Sebastian Pölsterl <sebp@k-d-w.org>
* bindings/python/Makefile.am:
* bindings/python/rtspserver.override:
Fixed compile error of python bindings
2009-01-23 21:03:53 +0100 Sebastian Pölsterl <sebp@k-d-w.org>
* bindings/vala/gst-rtsp-server-0.10.vapi:
* bindings/vala/packages/gst-rtsp-server-0.10.metadata:
Marked values as nullable accordingly
2009-01-23 20:31:11 +0100 Sebastian Pölsterl <sebp@k-d-w.org>
* bindings/vala/gst-rtsp-server-0.10.vapi:
* bindings/vala/packages/gst-rtsp-server-0.10.excludes:
* bindings/vala/packages/gst-rtsp-server-0.10.gi:
* bindings/vala/packages/gst-rtsp-server-0.10.metadata:
Updated Vala bindings
2009-01-22 18:35:17 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-mapping.c:
* gst/rtsp-server/rtsp-media-mapping.h:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-session-pool.h:
Cleanups and doc updates
Add some more documentation and do some minor cleanups here and there.
2009-01-22 17:58:19 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
More improvements
Rename GstRTSPMediaBin to GstRTSPMedia
Parse the request url into a GstRTSPUri object and pass this object to the
various handlers and methods that require the uri.
2009-01-22 16:54:07 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/main.c:
Update example
Add some more docs and remove some old code from the example.
2009-01-22 16:53:16 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
Handle state change failures better
Handle state change failures better when changing the state of the pipeline to
determine the SDP.
2009-01-22 16:51:08 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
Make element creation more extendible
Add get_element vmethod to the default MediaFactory so that subclasses can just
override that method and still use the default logic for making a MediaBin from
that.
2009-01-22 15:33:29 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/main.c:
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
* gst/rtsp-server/rtsp-media-mapping.c:
* gst/rtsp-server/rtsp-media-mapping.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
Make the server handle arbitrary pipelines
Make GstMediaFactory an object that can instantiate GstMediaBin objects.
The GstMediaBin object has a handle to a bin with elements and to a list of
GstMediaStream objects that this bin produces.
Add GstMediaMapper that can map url mountpoints to GstMediaFactory objects along
with methods to register and remove those mappings.
Add methods and a property to GstRTSPServer to manage the GstMediaMapper object
used by the server instance.
Modify the example application so that it shows how to create custom pipelines
attached to a specific mount point.
Various misc cleanps.
2009-01-20 19:47:07 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
Allow setting a custom media factory for a server
2009-01-20 19:46:21 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
Allow setting a custom media factory for a client.
2009-01-20 19:45:28 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
Add Makefile entry for the media factory
2009-01-20 19:44:45 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media-factory.c:
* gst/rtsp-server/rtsp-media-factory.h:
Add media factory to map urls to media pipeline objects.
2009-01-20 19:43:47 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
Add comments. Remove unused field
2009-01-20 19:41:53 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session-pool.h:
Allow custom session pools to override the session id allocation algorithms Add some comments.
2009-01-20 19:40:42 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session.h:
Add some comments.
2009-01-20 13:57:47 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
Move the connection code in one place Add some comments
2009-01-20 13:19:36 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
Make vmethod to create and accept new clients. Add some docs.
2009-01-19 19:36:23 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
Make more properties configurable in the server. Expose the GIOChannel and GSource better to allow for more customisations.
2009-01-19 19:34:29 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
Name the parameters more appropriately.
2009-01-19 19:32:28 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-session-pool.c:
Do some more cleanup of the session pool.
2009-01-08 16:28:24 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-client.c:
Check if return value of gst_rtsp_session_get_media is not NULL
2009-01-08 15:02:42 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/Makefile.am:
Install rtsp-session and rtsp-session-pool headers
2009-01-08 14:57:55 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* .gitignore:
* Makefile.am:
* acinclude.m4:
* bindings/python/Makefile.am:
* bindings/python/arg-types.py:
* bindings/python/codegen/Makefile.am:
* bindings/python/codegen/__init__.py:
* bindings/python/codegen/argtypes.py:
* bindings/python/codegen/code-coverage.py:
* bindings/python/codegen/codegen.py:
* bindings/python/codegen/definitions.py:
* bindings/python/codegen/defsparser.py:
* bindings/python/codegen/docextract.py:
* bindings/python/codegen/docgen.py:
* bindings/python/codegen/fileprefix.override:
* bindings/python/codegen/fileprefixmodule.c:
* bindings/python/codegen/h2def.py:
* bindings/python/codegen/mergedefs.py:
* bindings/python/codegen/mkskel.py:
* bindings/python/codegen/override.py:
* bindings/python/codegen/reversewrapper.py:
* bindings/python/codegen/scmexpr.py:
* bindings/python/rtspserver-types.defs:
* bindings/python/rtspserver.defs:
* bindings/python/rtspserver.override:
* bindings/python/rtspservermodule.c:
* configure.ac:
Add python bindings.
2009-01-08 14:53:47 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* bindings/Makefile.am:
* configure.ac:
Don't go into python dir when requirements for python bindings are missing
2009-01-08 14:49:57 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* bindings/Makefile.am:
* bindings/vala/Makefile.am:
* configure.ac:
Install Vala bindings if vala is available
2008-12-12 16:22:02 +0100 Sebastian Pölsterl <sebp@k-d-w.org>
* bindings/vala/gst-rtsp-server-0.10.deps:
* bindings/vala/gst-rtsp-server-0.10.vapi:
* bindings/vala/packages/gst-rtsp-server-0.10.deps:
* bindings/vala/packages/gst-rtsp-server-0.10.excludes:
* bindings/vala/packages/gst-rtsp-server-0.10.files:
* bindings/vala/packages/gst-rtsp-server-0.10.gi:
* bindings/vala/packages/gst-rtsp-server-0.10.metadata:
* bindings/vala/packages/gst-rtsp-server-0.10.namespace:
Regenerated Vala bindings
2008-12-08 13:19:40 +0100 Sebastian Pölsterl <sebp@k-d-w.org>
* bindings/vala/gst-rtsp-server.vapi:
* bindings/vala/packages/gst-rtsp-server.metadata:
Fixed typo in included headers for vala bindings
2009-01-08 14:42:10 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* Makefile.am:
* configure.ac:
* pkgconfig/Makefile.am:
* pkgconfig/gst-rtsp-server.pc.in:
Added pkgconfig file
2008-11-30 23:57:26 +0100 Sebastian Pölsterl <marduk@k-d-w.org>
* bindings/vala/gst-rtsp-server.vapi:
* bindings/vala/packages/gst-rtsp-server.excludes:
* bindings/vala/packages/gst-rtsp-server.gi:
* bindings/vala/packages/gst-rtsp-server.metadata:
Adjusted included headersfor Vala bindings. Ignore rtsp-url-compat.h
2008-11-30 23:41:20 +0100 Sebastian Pölsterl <marduk@k-d-w.org>
* bindings/vala/gst-rtsp-server.vapi:
* bindings/vala/packages/gst-rtsp-server.deps:
* bindings/vala/packages/gst-rtsp-server.files:
* bindings/vala/packages/gst-rtsp-server.gi:
* bindings/vala/packages/gst-rtsp-server.metadata:
* bindings/vala/packages/gst-rtsp-server.namespace:
Added Vala bindings
2008-10-25 23:36:16 +0200 Alessandro Decina <alessandro.d@gmail.com>
* gst/rtsp-server/rtsp-session.c:
Change an obviously wrong return FALSE to return NULL; (cherry picked from commit 56d4fb48030db3ae45f3f0e60b29b36f3134322b)
2008-11-13 19:43:10 +0100 Sebastian Pölsterl <sebp@ubuntu.(none)>
* examples/Makefile.am:
* gst/rtsp-server/Makefile.am:
Put GStreamer version in library name
2009-01-08 13:51:26 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/Makefile.am:
* gst/rtsp-server/Makefile.am:
Fix some issues to pass distcheck
2009-01-08 13:41:33 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtsp-server/rtsp-server.c:
Added port property to GstRTSPServer class.
2009-01-08 13:18:55 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* Makefile.am:
* autogen.sh:
* configure.ac:
* examples/Makefile.am:
* examples/main.c:
* gst/Makefile.am:
* gst/rtsp-server/Makefile.am:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-media.h:
* gst/rtsp-server/rtsp-server.c:
* gst/rtsp-server/rtsp-server.h:
* gst/rtsp-server/rtsp-session-pool.c:
* gst/rtsp-server/rtsp-session-pool.h:
* gst/rtsp-server/rtsp-session.c:
* gst/rtsp-server/rtsp-session.h:
* src/Makefile.am:
Split in library and example program
2008-11-10 20:59:35 +0100 Sebastian Pölsterl <sebp@ubuntu.(none)>
* src/rtsp-client.h:
Removed obsolete variable
2008-11-10 21:03:15 +0100 Sebastian Pölsterl <sebp@ubuntu.(none)>
* src/rtsp-client.c:
* src/rtsp-client.h:
Removed pipeline variable GstRTSPClient, because it's only used in one function
2009-01-08 11:22:58 +0100 Wim Taymans <wim.taymans@collabora.co.uk>
* src/rtsp-media.c:
Set the payload types for the different payloaders. Maybe this shoulde be done automatically instead.
2008-10-23 12:23:27 +0200 Wim Taymans <wim@metal.(none)>
* src/rtsp-session.c:
Initialize some more vars.
2008-10-23 12:14:55 +0200 Wim Taymans <wim@metal.(none)>
* src/rtsp-session.c:
Initialize variable to avoid compiler warning.
2008-10-09 13:30:47 +0100 Simon McVittie <simon.mcvittie@collabora.co.uk>
* .gitignore:
Add a reasonable generic .gitignore
|