@girs/farstream-0.2 0.2.0-3.2.7 → 0.2.0-3.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/farstream-0.2-ambient.js +2 -0
- package/farstream-0.2-import.js +3 -0
- package/farstream-0.2.d.cts +4 -144
- package/farstream-0.2.d.ts +4 -144
- package/package.json +15 -9
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Farstream-0.2, generated from library version 0.2.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for Farstream-0.2, generated from library version 0.2.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.9.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/farstream-0.2.d.cts
CHANGED
|
@@ -851,16 +851,11 @@ export module Session {
|
|
|
851
851
|
* The media-type of the session. This is either Audio, Video or both.
|
|
852
852
|
* This is a constructor parameter that cannot be changed.
|
|
853
853
|
*/
|
|
854
|
-
|
|
854
|
+
mediaType?: MediaType | null
|
|
855
855
|
/**
|
|
856
856
|
* Sets the IP ToS field (and if possible the IPv6 TCLASS field
|
|
857
857
|
*/
|
|
858
858
|
tos?: number | null
|
|
859
|
-
/**
|
|
860
|
-
* The media-type of the session. This is either Audio, Video or both.
|
|
861
|
-
* This is a constructor parameter that cannot be changed.
|
|
862
|
-
*/
|
|
863
|
-
mediaType?: MediaType | null
|
|
864
859
|
}
|
|
865
860
|
|
|
866
861
|
}
|
|
@@ -869,43 +864,18 @@ export interface Session {
|
|
|
869
864
|
|
|
870
865
|
// Own properties of Farstream-0.2.Farstream.Session
|
|
871
866
|
|
|
872
|
-
/**
|
|
873
|
-
* These are the #GstCaps that can be fed into the session,
|
|
874
|
-
* they are used to filter the codecs to only those that can
|
|
875
|
-
* accepted those caps as input.
|
|
876
|
-
*/
|
|
877
|
-
readonly allowed_sink_caps: Gst.Caps
|
|
878
867
|
/**
|
|
879
868
|
* These are the #GstCaps that can be fed into the session,
|
|
880
869
|
* they are used to filter the codecs to only those that can
|
|
881
870
|
* accepted those caps as input.
|
|
882
871
|
*/
|
|
883
872
|
readonly allowedSinkCaps: Gst.Caps
|
|
884
|
-
/**
|
|
885
|
-
* These are the #GstCaps that the session can produce,
|
|
886
|
-
* they are used to filter the codecs to only those that can
|
|
887
|
-
* accepted those caps as output.
|
|
888
|
-
*/
|
|
889
|
-
readonly allowed_src_caps: Gst.Caps
|
|
890
873
|
/**
|
|
891
874
|
* These are the #GstCaps that the session can produce,
|
|
892
875
|
* they are used to filter the codecs to only those that can
|
|
893
876
|
* accepted those caps as output.
|
|
894
877
|
*/
|
|
895
878
|
readonly allowedSrcCaps: Gst.Caps
|
|
896
|
-
/**
|
|
897
|
-
* This is the current preferences list for the local codecs. It is
|
|
898
|
-
* set by the user to specify the codec options and priorities. The user may
|
|
899
|
-
* change its value with fs_session_set_codec_preferences() at any time
|
|
900
|
-
* during a session. It is a #GList of #FsCodec.
|
|
901
|
-
* The user must free this codec list using fs_codec_list_destroy() when done.
|
|
902
|
-
*
|
|
903
|
-
* The payload type may be a valid dynamic PT (96-127), %FS_CODEC_ID_DISABLE
|
|
904
|
-
* or %FS_CODEC_ID_ANY. If the encoding name is "reserve-pt", then the
|
|
905
|
-
* payload type of the codec will be "reserved" and not be used by any
|
|
906
|
-
* dynamically assigned payload type.
|
|
907
|
-
*/
|
|
908
|
-
readonly codec_preferences: Codec[]
|
|
909
879
|
/**
|
|
910
880
|
* This is the current preferences list for the local codecs. It is
|
|
911
881
|
* set by the user to specify the codec options and priorities. The user may
|
|
@@ -939,25 +909,6 @@ export interface Session {
|
|
|
939
909
|
* fs_codec_list_destroy() when done.
|
|
940
910
|
*/
|
|
941
911
|
readonly codecs: Codec[]
|
|
942
|
-
/**
|
|
943
|
-
* This is the same list of codecs as #FsSession:codecs without
|
|
944
|
-
* the configuration information that describes the data sent. It is suitable
|
|
945
|
-
* for configurations where a list of codecs is shared by many senders.
|
|
946
|
-
* If one is using codecs such as Theora, Vorbis or H.264 that require
|
|
947
|
-
* such information to be transmitted, the configuration data should be
|
|
948
|
-
* included in the stream and retransmitted regularly.
|
|
949
|
-
*
|
|
950
|
-
* It may change when the codec preferences are set, when codecs are set
|
|
951
|
-
* on a #FsStream in this session, when a #FsStream is destroyed or
|
|
952
|
-
* asynchronously when new config data is discovered.
|
|
953
|
-
*
|
|
954
|
-
* The "farstream-codecs-changed" message will be emitted whenever the value
|
|
955
|
-
* of this property changes.
|
|
956
|
-
*
|
|
957
|
-
* It is a #GList of #FsCodec. User must free this codec list using
|
|
958
|
-
* fs_codec_list_destroy() when done.
|
|
959
|
-
*/
|
|
960
|
-
readonly codecs_without_config: Codec[]
|
|
961
912
|
/**
|
|
962
913
|
* This is the same list of codecs as #FsSession:codecs without
|
|
963
914
|
* the configuration information that describes the data sent. It is suitable
|
|
@@ -982,15 +933,6 @@ export interface Session {
|
|
|
982
933
|
* construct param and is read-only.
|
|
983
934
|
*/
|
|
984
935
|
readonly conference: Conference
|
|
985
|
-
/**
|
|
986
|
-
* Indicates the currently active send codec. A user can change the active
|
|
987
|
-
* send codec by calling fs_session_set_send_codec(). The send codec could
|
|
988
|
-
* also be automatically changed by Farstream. This property is an
|
|
989
|
-
* #FsCodec. User must free the codec using fs_codec_destroy() when done.
|
|
990
|
-
* The "farstream-send-codec-changed" message is emitted on the bus when
|
|
991
|
-
* the value of this property changes.
|
|
992
|
-
*/
|
|
993
|
-
readonly current_send_codec: Codec
|
|
994
936
|
/**
|
|
995
937
|
* Indicates the currently active send codec. A user can change the active
|
|
996
938
|
* send codec by calling fs_session_set_send_codec(). The send codec could
|
|
@@ -1000,10 +942,6 @@ export interface Session {
|
|
|
1000
942
|
* the value of this property changes.
|
|
1001
943
|
*/
|
|
1002
944
|
readonly currentSendCodec: Codec
|
|
1003
|
-
/**
|
|
1004
|
-
* Retrieves previously set encryption parameters
|
|
1005
|
-
*/
|
|
1006
|
-
readonly encryption_parameters: Gst.Structure
|
|
1007
945
|
/**
|
|
1008
946
|
* Retrieves previously set encryption parameters
|
|
1009
947
|
*/
|
|
@@ -1013,21 +951,11 @@ export interface Session {
|
|
|
1013
951
|
* will be this id
|
|
1014
952
|
*/
|
|
1015
953
|
readonly id: number
|
|
1016
|
-
/**
|
|
1017
|
-
* The media-type of the session. This is either Audio, Video or both.
|
|
1018
|
-
* This is a constructor parameter that cannot be changed.
|
|
1019
|
-
*/
|
|
1020
|
-
readonly media_type: MediaType
|
|
1021
954
|
/**
|
|
1022
955
|
* The media-type of the session. This is either Audio, Video or both.
|
|
1023
956
|
* This is a constructor parameter that cannot be changed.
|
|
1024
957
|
*/
|
|
1025
958
|
readonly mediaType: MediaType
|
|
1026
|
-
/**
|
|
1027
|
-
* The Gstreamer sink pad that must be used to send media data on this
|
|
1028
|
-
* session. User must unref this GstPad when done with it.
|
|
1029
|
-
*/
|
|
1030
|
-
readonly sink_pad: Gst.Pad
|
|
1031
959
|
/**
|
|
1032
960
|
* The Gstreamer sink pad that must be used to send media data on this
|
|
1033
961
|
* session. User must unref this GstPad when done with it.
|
|
@@ -1431,17 +1359,6 @@ export interface Stream {
|
|
|
1431
1359
|
|
|
1432
1360
|
// Own properties of Farstream-0.2.Farstream.Stream
|
|
1433
1361
|
|
|
1434
|
-
/**
|
|
1435
|
-
* This is the list of codecs that have been received by this stream.
|
|
1436
|
-
* The user must free the list if fs_codec_list_destroy().
|
|
1437
|
-
* The "farstream-recv-codecs-changed" message is send on the #GstBus
|
|
1438
|
-
* when the value of this property changes.
|
|
1439
|
-
* It is normally emitted right after #FsStream::src-pad-added
|
|
1440
|
-
* only if that codec was not previously received in this stream, but it can
|
|
1441
|
-
* also be emitted if the pad already exists, but the source material that
|
|
1442
|
-
* will come to it is different.
|
|
1443
|
-
*/
|
|
1444
|
-
readonly current_recv_codecs: Codec[]
|
|
1445
1362
|
/**
|
|
1446
1363
|
* This is the list of codecs that have been received by this stream.
|
|
1447
1364
|
* The user must free the list if fs_codec_list_destroy().
|
|
@@ -1453,10 +1370,6 @@ export interface Stream {
|
|
|
1453
1370
|
* will come to it is different.
|
|
1454
1371
|
*/
|
|
1455
1372
|
readonly currentRecvCodecs: Codec[]
|
|
1456
|
-
/**
|
|
1457
|
-
* Retrieves previously set decryption parameters
|
|
1458
|
-
*/
|
|
1459
|
-
readonly decryption_parameters: Gst.Structure
|
|
1460
1373
|
/**
|
|
1461
1374
|
* Retrieves previously set decryption parameters
|
|
1462
1375
|
*/
|
|
@@ -1467,14 +1380,6 @@ export interface Stream {
|
|
|
1467
1380
|
* required by setting this property.
|
|
1468
1381
|
*/
|
|
1469
1382
|
direction: StreamDirection
|
|
1470
|
-
/**
|
|
1471
|
-
* This is the list of negotiatied codecs, it is the same list as the list
|
|
1472
|
-
* of #FsCodec from the parent #FsSession, except that the codec config data
|
|
1473
|
-
* has been replaced with the data from the remote codecs for this stream.
|
|
1474
|
-
* This is the list of #FsCodec used to receive data from this stream.
|
|
1475
|
-
* It is a #GList of #FsCodec.
|
|
1476
|
-
*/
|
|
1477
|
-
readonly negotiated_codecs: Codec[]
|
|
1478
1383
|
/**
|
|
1479
1384
|
* This is the list of negotiatied codecs, it is the same list as the list
|
|
1480
1385
|
* of #FsCodec from the parent #FsSession, except that the codec config data
|
|
@@ -1488,12 +1393,6 @@ export interface Stream {
|
|
|
1488
1393
|
* is read-only construction.
|
|
1489
1394
|
*/
|
|
1490
1395
|
readonly participant: Participant
|
|
1491
|
-
/**
|
|
1492
|
-
* This is the list of remote codecs for this stream. They must be set by the
|
|
1493
|
-
* user as soon as they are known using fs_stream_set_remote_codecs()
|
|
1494
|
-
* (generally through external signaling). It is a #GList of #FsCodec.
|
|
1495
|
-
*/
|
|
1496
|
-
readonly remote_codecs: Codec[]
|
|
1497
1396
|
/**
|
|
1498
1397
|
* This is the list of remote codecs for this stream. They must be set by the
|
|
1499
1398
|
* user as soon as they are known using fs_stream_set_remote_codecs()
|
|
@@ -1837,18 +1736,12 @@ export module StreamTransmitter {
|
|
|
1837
1736
|
* This tells the stream transmitter to associate incoming data with this
|
|
1838
1737
|
* based on the source without looking at the content if possible.
|
|
1839
1738
|
*/
|
|
1840
|
-
|
|
1841
|
-
|
|
1739
|
+
associateOnSource?: boolean | null
|
|
1740
|
+
preferredLocalCandidates?: any | null
|
|
1842
1741
|
/**
|
|
1843
1742
|
* A network source #GstElement to be used by the #FsSession
|
|
1844
1743
|
*/
|
|
1845
1744
|
sending?: boolean | null
|
|
1846
|
-
/**
|
|
1847
|
-
* This tells the stream transmitter to associate incoming data with this
|
|
1848
|
-
* based on the source without looking at the content if possible.
|
|
1849
|
-
*/
|
|
1850
|
-
associateOnSource?: boolean | null
|
|
1851
|
-
preferredLocalCandidates?: any | null
|
|
1852
1745
|
}
|
|
1853
1746
|
|
|
1854
1747
|
}
|
|
@@ -1857,17 +1750,11 @@ export interface StreamTransmitter {
|
|
|
1857
1750
|
|
|
1858
1751
|
// Own properties of Farstream-0.2.Farstream.StreamTransmitter
|
|
1859
1752
|
|
|
1860
|
-
/**
|
|
1861
|
-
* This tells the stream transmitter to associate incoming data with this
|
|
1862
|
-
* based on the source without looking at the content if possible.
|
|
1863
|
-
*/
|
|
1864
|
-
readonly associate_on_source: boolean
|
|
1865
1753
|
/**
|
|
1866
1754
|
* This tells the stream transmitter to associate incoming data with this
|
|
1867
1755
|
* based on the source without looking at the content if possible.
|
|
1868
1756
|
*/
|
|
1869
1757
|
readonly associateOnSource: boolean
|
|
1870
|
-
readonly preferred_local_candidates: any
|
|
1871
1758
|
readonly preferredLocalCandidates: any
|
|
1872
1759
|
/**
|
|
1873
1760
|
* A network source #GstElement to be used by the #FsSession
|
|
@@ -2028,16 +1915,11 @@ export module Transmitter {
|
|
|
2028
1915
|
* Apply current stream time to buffers or provide buffers without
|
|
2029
1916
|
* timestamps. Must be set before creating a stream transmitter.
|
|
2030
1917
|
*/
|
|
2031
|
-
|
|
1918
|
+
doTimestamp?: boolean | null
|
|
2032
1919
|
/**
|
|
2033
1920
|
* Sets the IP ToS field (and if possible the IPv6 TCLASS field
|
|
2034
1921
|
*/
|
|
2035
1922
|
tos?: number | null
|
|
2036
|
-
/**
|
|
2037
|
-
* Apply current stream time to buffers or provide buffers without
|
|
2038
|
-
* timestamps. Must be set before creating a stream transmitter.
|
|
2039
|
-
*/
|
|
2040
|
-
doTimestamp?: boolean | null
|
|
2041
1923
|
}
|
|
2042
1924
|
|
|
2043
1925
|
}
|
|
@@ -2050,25 +1932,11 @@ export interface Transmitter {
|
|
|
2050
1932
|
* The number of components to create
|
|
2051
1933
|
*/
|
|
2052
1934
|
readonly components: number
|
|
2053
|
-
/**
|
|
2054
|
-
* Apply current stream time to buffers or provide buffers without
|
|
2055
|
-
* timestamps. Must be set before creating a stream transmitter.
|
|
2056
|
-
*/
|
|
2057
|
-
do_timestamp: boolean
|
|
2058
1935
|
/**
|
|
2059
1936
|
* Apply current stream time to buffers or provide buffers without
|
|
2060
1937
|
* timestamps. Must be set before creating a stream transmitter.
|
|
2061
1938
|
*/
|
|
2062
1939
|
doTimestamp: boolean
|
|
2063
|
-
/**
|
|
2064
|
-
* A network source #GstElement to be used by the #FsSession
|
|
2065
|
-
* These element's sink must have async=FALSE
|
|
2066
|
-
* This element MUST provide a pad named "sink_\%u" per component.
|
|
2067
|
-
* These pads number must start at 1 (the \%u corresponds to the component
|
|
2068
|
-
* number).
|
|
2069
|
-
* These pads MUST be static pads.
|
|
2070
|
-
*/
|
|
2071
|
-
readonly gst_sink: Gst.Element
|
|
2072
1940
|
/**
|
|
2073
1941
|
* A network source #GstElement to be used by the #FsSession
|
|
2074
1942
|
* These element's sink must have async=FALSE
|
|
@@ -2078,14 +1946,6 @@ export interface Transmitter {
|
|
|
2078
1946
|
* These pads MUST be static pads.
|
|
2079
1947
|
*/
|
|
2080
1948
|
readonly gstSink: Gst.Element
|
|
2081
|
-
/**
|
|
2082
|
-
* A network source #GstElement to be used by the #FsSession
|
|
2083
|
-
* This element MUST provide a source pad named "src_%u" per component.
|
|
2084
|
-
* These pads number must start at 1 (the %u corresponds to the component
|
|
2085
|
-
* number).
|
|
2086
|
-
* These pads MUST be static pads.
|
|
2087
|
-
*/
|
|
2088
|
-
readonly gst_src: Gst.Element
|
|
2089
1949
|
/**
|
|
2090
1950
|
* A network source #GstElement to be used by the #FsSession
|
|
2091
1951
|
* This element MUST provide a source pad named "src_%u" per component.
|
package/farstream-0.2.d.ts
CHANGED
|
@@ -853,16 +853,11 @@ module Session {
|
|
|
853
853
|
* The media-type of the session. This is either Audio, Video or both.
|
|
854
854
|
* This is a constructor parameter that cannot be changed.
|
|
855
855
|
*/
|
|
856
|
-
|
|
856
|
+
mediaType?: MediaType | null
|
|
857
857
|
/**
|
|
858
858
|
* Sets the IP ToS field (and if possible the IPv6 TCLASS field
|
|
859
859
|
*/
|
|
860
860
|
tos?: number | null
|
|
861
|
-
/**
|
|
862
|
-
* The media-type of the session. This is either Audio, Video or both.
|
|
863
|
-
* This is a constructor parameter that cannot be changed.
|
|
864
|
-
*/
|
|
865
|
-
mediaType?: MediaType | null
|
|
866
861
|
}
|
|
867
862
|
|
|
868
863
|
}
|
|
@@ -871,43 +866,18 @@ interface Session {
|
|
|
871
866
|
|
|
872
867
|
// Own properties of Farstream-0.2.Farstream.Session
|
|
873
868
|
|
|
874
|
-
/**
|
|
875
|
-
* These are the #GstCaps that can be fed into the session,
|
|
876
|
-
* they are used to filter the codecs to only those that can
|
|
877
|
-
* accepted those caps as input.
|
|
878
|
-
*/
|
|
879
|
-
readonly allowed_sink_caps: Gst.Caps
|
|
880
869
|
/**
|
|
881
870
|
* These are the #GstCaps that can be fed into the session,
|
|
882
871
|
* they are used to filter the codecs to only those that can
|
|
883
872
|
* accepted those caps as input.
|
|
884
873
|
*/
|
|
885
874
|
readonly allowedSinkCaps: Gst.Caps
|
|
886
|
-
/**
|
|
887
|
-
* These are the #GstCaps that the session can produce,
|
|
888
|
-
* they are used to filter the codecs to only those that can
|
|
889
|
-
* accepted those caps as output.
|
|
890
|
-
*/
|
|
891
|
-
readonly allowed_src_caps: Gst.Caps
|
|
892
875
|
/**
|
|
893
876
|
* These are the #GstCaps that the session can produce,
|
|
894
877
|
* they are used to filter the codecs to only those that can
|
|
895
878
|
* accepted those caps as output.
|
|
896
879
|
*/
|
|
897
880
|
readonly allowedSrcCaps: Gst.Caps
|
|
898
|
-
/**
|
|
899
|
-
* This is the current preferences list for the local codecs. It is
|
|
900
|
-
* set by the user to specify the codec options and priorities. The user may
|
|
901
|
-
* change its value with fs_session_set_codec_preferences() at any time
|
|
902
|
-
* during a session. It is a #GList of #FsCodec.
|
|
903
|
-
* The user must free this codec list using fs_codec_list_destroy() when done.
|
|
904
|
-
*
|
|
905
|
-
* The payload type may be a valid dynamic PT (96-127), %FS_CODEC_ID_DISABLE
|
|
906
|
-
* or %FS_CODEC_ID_ANY. If the encoding name is "reserve-pt", then the
|
|
907
|
-
* payload type of the codec will be "reserved" and not be used by any
|
|
908
|
-
* dynamically assigned payload type.
|
|
909
|
-
*/
|
|
910
|
-
readonly codec_preferences: Codec[]
|
|
911
881
|
/**
|
|
912
882
|
* This is the current preferences list for the local codecs. It is
|
|
913
883
|
* set by the user to specify the codec options and priorities. The user may
|
|
@@ -941,25 +911,6 @@ interface Session {
|
|
|
941
911
|
* fs_codec_list_destroy() when done.
|
|
942
912
|
*/
|
|
943
913
|
readonly codecs: Codec[]
|
|
944
|
-
/**
|
|
945
|
-
* This is the same list of codecs as #FsSession:codecs without
|
|
946
|
-
* the configuration information that describes the data sent. It is suitable
|
|
947
|
-
* for configurations where a list of codecs is shared by many senders.
|
|
948
|
-
* If one is using codecs such as Theora, Vorbis or H.264 that require
|
|
949
|
-
* such information to be transmitted, the configuration data should be
|
|
950
|
-
* included in the stream and retransmitted regularly.
|
|
951
|
-
*
|
|
952
|
-
* It may change when the codec preferences are set, when codecs are set
|
|
953
|
-
* on a #FsStream in this session, when a #FsStream is destroyed or
|
|
954
|
-
* asynchronously when new config data is discovered.
|
|
955
|
-
*
|
|
956
|
-
* The "farstream-codecs-changed" message will be emitted whenever the value
|
|
957
|
-
* of this property changes.
|
|
958
|
-
*
|
|
959
|
-
* It is a #GList of #FsCodec. User must free this codec list using
|
|
960
|
-
* fs_codec_list_destroy() when done.
|
|
961
|
-
*/
|
|
962
|
-
readonly codecs_without_config: Codec[]
|
|
963
914
|
/**
|
|
964
915
|
* This is the same list of codecs as #FsSession:codecs without
|
|
965
916
|
* the configuration information that describes the data sent. It is suitable
|
|
@@ -984,15 +935,6 @@ interface Session {
|
|
|
984
935
|
* construct param and is read-only.
|
|
985
936
|
*/
|
|
986
937
|
readonly conference: Conference
|
|
987
|
-
/**
|
|
988
|
-
* Indicates the currently active send codec. A user can change the active
|
|
989
|
-
* send codec by calling fs_session_set_send_codec(). The send codec could
|
|
990
|
-
* also be automatically changed by Farstream. This property is an
|
|
991
|
-
* #FsCodec. User must free the codec using fs_codec_destroy() when done.
|
|
992
|
-
* The "farstream-send-codec-changed" message is emitted on the bus when
|
|
993
|
-
* the value of this property changes.
|
|
994
|
-
*/
|
|
995
|
-
readonly current_send_codec: Codec
|
|
996
938
|
/**
|
|
997
939
|
* Indicates the currently active send codec. A user can change the active
|
|
998
940
|
* send codec by calling fs_session_set_send_codec(). The send codec could
|
|
@@ -1002,10 +944,6 @@ interface Session {
|
|
|
1002
944
|
* the value of this property changes.
|
|
1003
945
|
*/
|
|
1004
946
|
readonly currentSendCodec: Codec
|
|
1005
|
-
/**
|
|
1006
|
-
* Retrieves previously set encryption parameters
|
|
1007
|
-
*/
|
|
1008
|
-
readonly encryption_parameters: Gst.Structure
|
|
1009
947
|
/**
|
|
1010
948
|
* Retrieves previously set encryption parameters
|
|
1011
949
|
*/
|
|
@@ -1015,21 +953,11 @@ interface Session {
|
|
|
1015
953
|
* will be this id
|
|
1016
954
|
*/
|
|
1017
955
|
readonly id: number
|
|
1018
|
-
/**
|
|
1019
|
-
* The media-type of the session. This is either Audio, Video or both.
|
|
1020
|
-
* This is a constructor parameter that cannot be changed.
|
|
1021
|
-
*/
|
|
1022
|
-
readonly media_type: MediaType
|
|
1023
956
|
/**
|
|
1024
957
|
* The media-type of the session. This is either Audio, Video or both.
|
|
1025
958
|
* This is a constructor parameter that cannot be changed.
|
|
1026
959
|
*/
|
|
1027
960
|
readonly mediaType: MediaType
|
|
1028
|
-
/**
|
|
1029
|
-
* The Gstreamer sink pad that must be used to send media data on this
|
|
1030
|
-
* session. User must unref this GstPad when done with it.
|
|
1031
|
-
*/
|
|
1032
|
-
readonly sink_pad: Gst.Pad
|
|
1033
961
|
/**
|
|
1034
962
|
* The Gstreamer sink pad that must be used to send media data on this
|
|
1035
963
|
* session. User must unref this GstPad when done with it.
|
|
@@ -1433,17 +1361,6 @@ interface Stream {
|
|
|
1433
1361
|
|
|
1434
1362
|
// Own properties of Farstream-0.2.Farstream.Stream
|
|
1435
1363
|
|
|
1436
|
-
/**
|
|
1437
|
-
* This is the list of codecs that have been received by this stream.
|
|
1438
|
-
* The user must free the list if fs_codec_list_destroy().
|
|
1439
|
-
* The "farstream-recv-codecs-changed" message is send on the #GstBus
|
|
1440
|
-
* when the value of this property changes.
|
|
1441
|
-
* It is normally emitted right after #FsStream::src-pad-added
|
|
1442
|
-
* only if that codec was not previously received in this stream, but it can
|
|
1443
|
-
* also be emitted if the pad already exists, but the source material that
|
|
1444
|
-
* will come to it is different.
|
|
1445
|
-
*/
|
|
1446
|
-
readonly current_recv_codecs: Codec[]
|
|
1447
1364
|
/**
|
|
1448
1365
|
* This is the list of codecs that have been received by this stream.
|
|
1449
1366
|
* The user must free the list if fs_codec_list_destroy().
|
|
@@ -1455,10 +1372,6 @@ interface Stream {
|
|
|
1455
1372
|
* will come to it is different.
|
|
1456
1373
|
*/
|
|
1457
1374
|
readonly currentRecvCodecs: Codec[]
|
|
1458
|
-
/**
|
|
1459
|
-
* Retrieves previously set decryption parameters
|
|
1460
|
-
*/
|
|
1461
|
-
readonly decryption_parameters: Gst.Structure
|
|
1462
1375
|
/**
|
|
1463
1376
|
* Retrieves previously set decryption parameters
|
|
1464
1377
|
*/
|
|
@@ -1469,14 +1382,6 @@ interface Stream {
|
|
|
1469
1382
|
* required by setting this property.
|
|
1470
1383
|
*/
|
|
1471
1384
|
direction: StreamDirection
|
|
1472
|
-
/**
|
|
1473
|
-
* This is the list of negotiatied codecs, it is the same list as the list
|
|
1474
|
-
* of #FsCodec from the parent #FsSession, except that the codec config data
|
|
1475
|
-
* has been replaced with the data from the remote codecs for this stream.
|
|
1476
|
-
* This is the list of #FsCodec used to receive data from this stream.
|
|
1477
|
-
* It is a #GList of #FsCodec.
|
|
1478
|
-
*/
|
|
1479
|
-
readonly negotiated_codecs: Codec[]
|
|
1480
1385
|
/**
|
|
1481
1386
|
* This is the list of negotiatied codecs, it is the same list as the list
|
|
1482
1387
|
* of #FsCodec from the parent #FsSession, except that the codec config data
|
|
@@ -1490,12 +1395,6 @@ interface Stream {
|
|
|
1490
1395
|
* is read-only construction.
|
|
1491
1396
|
*/
|
|
1492
1397
|
readonly participant: Participant
|
|
1493
|
-
/**
|
|
1494
|
-
* This is the list of remote codecs for this stream. They must be set by the
|
|
1495
|
-
* user as soon as they are known using fs_stream_set_remote_codecs()
|
|
1496
|
-
* (generally through external signaling). It is a #GList of #FsCodec.
|
|
1497
|
-
*/
|
|
1498
|
-
readonly remote_codecs: Codec[]
|
|
1499
1398
|
/**
|
|
1500
1399
|
* This is the list of remote codecs for this stream. They must be set by the
|
|
1501
1400
|
* user as soon as they are known using fs_stream_set_remote_codecs()
|
|
@@ -1839,18 +1738,12 @@ module StreamTransmitter {
|
|
|
1839
1738
|
* This tells the stream transmitter to associate incoming data with this
|
|
1840
1739
|
* based on the source without looking at the content if possible.
|
|
1841
1740
|
*/
|
|
1842
|
-
|
|
1843
|
-
|
|
1741
|
+
associateOnSource?: boolean | null
|
|
1742
|
+
preferredLocalCandidates?: any | null
|
|
1844
1743
|
/**
|
|
1845
1744
|
* A network source #GstElement to be used by the #FsSession
|
|
1846
1745
|
*/
|
|
1847
1746
|
sending?: boolean | null
|
|
1848
|
-
/**
|
|
1849
|
-
* This tells the stream transmitter to associate incoming data with this
|
|
1850
|
-
* based on the source without looking at the content if possible.
|
|
1851
|
-
*/
|
|
1852
|
-
associateOnSource?: boolean | null
|
|
1853
|
-
preferredLocalCandidates?: any | null
|
|
1854
1747
|
}
|
|
1855
1748
|
|
|
1856
1749
|
}
|
|
@@ -1859,17 +1752,11 @@ interface StreamTransmitter {
|
|
|
1859
1752
|
|
|
1860
1753
|
// Own properties of Farstream-0.2.Farstream.StreamTransmitter
|
|
1861
1754
|
|
|
1862
|
-
/**
|
|
1863
|
-
* This tells the stream transmitter to associate incoming data with this
|
|
1864
|
-
* based on the source without looking at the content if possible.
|
|
1865
|
-
*/
|
|
1866
|
-
readonly associate_on_source: boolean
|
|
1867
1755
|
/**
|
|
1868
1756
|
* This tells the stream transmitter to associate incoming data with this
|
|
1869
1757
|
* based on the source without looking at the content if possible.
|
|
1870
1758
|
*/
|
|
1871
1759
|
readonly associateOnSource: boolean
|
|
1872
|
-
readonly preferred_local_candidates: any
|
|
1873
1760
|
readonly preferredLocalCandidates: any
|
|
1874
1761
|
/**
|
|
1875
1762
|
* A network source #GstElement to be used by the #FsSession
|
|
@@ -2030,16 +1917,11 @@ module Transmitter {
|
|
|
2030
1917
|
* Apply current stream time to buffers or provide buffers without
|
|
2031
1918
|
* timestamps. Must be set before creating a stream transmitter.
|
|
2032
1919
|
*/
|
|
2033
|
-
|
|
1920
|
+
doTimestamp?: boolean | null
|
|
2034
1921
|
/**
|
|
2035
1922
|
* Sets the IP ToS field (and if possible the IPv6 TCLASS field
|
|
2036
1923
|
*/
|
|
2037
1924
|
tos?: number | null
|
|
2038
|
-
/**
|
|
2039
|
-
* Apply current stream time to buffers or provide buffers without
|
|
2040
|
-
* timestamps. Must be set before creating a stream transmitter.
|
|
2041
|
-
*/
|
|
2042
|
-
doTimestamp?: boolean | null
|
|
2043
1925
|
}
|
|
2044
1926
|
|
|
2045
1927
|
}
|
|
@@ -2052,25 +1934,11 @@ interface Transmitter {
|
|
|
2052
1934
|
* The number of components to create
|
|
2053
1935
|
*/
|
|
2054
1936
|
readonly components: number
|
|
2055
|
-
/**
|
|
2056
|
-
* Apply current stream time to buffers or provide buffers without
|
|
2057
|
-
* timestamps. Must be set before creating a stream transmitter.
|
|
2058
|
-
*/
|
|
2059
|
-
do_timestamp: boolean
|
|
2060
1937
|
/**
|
|
2061
1938
|
* Apply current stream time to buffers or provide buffers without
|
|
2062
1939
|
* timestamps. Must be set before creating a stream transmitter.
|
|
2063
1940
|
*/
|
|
2064
1941
|
doTimestamp: boolean
|
|
2065
|
-
/**
|
|
2066
|
-
* A network source #GstElement to be used by the #FsSession
|
|
2067
|
-
* These element's sink must have async=FALSE
|
|
2068
|
-
* This element MUST provide a pad named "sink_\%u" per component.
|
|
2069
|
-
* These pads number must start at 1 (the \%u corresponds to the component
|
|
2070
|
-
* number).
|
|
2071
|
-
* These pads MUST be static pads.
|
|
2072
|
-
*/
|
|
2073
|
-
readonly gst_sink: Gst.Element
|
|
2074
1942
|
/**
|
|
2075
1943
|
* A network source #GstElement to be used by the #FsSession
|
|
2076
1944
|
* These element's sink must have async=FALSE
|
|
@@ -2080,14 +1948,6 @@ interface Transmitter {
|
|
|
2080
1948
|
* These pads MUST be static pads.
|
|
2081
1949
|
*/
|
|
2082
1950
|
readonly gstSink: Gst.Element
|
|
2083
|
-
/**
|
|
2084
|
-
* A network source #GstElement to be used by the #FsSession
|
|
2085
|
-
* This element MUST provide a source pad named "src_%u" per component.
|
|
2086
|
-
* These pads number must start at 1 (the %u corresponds to the component
|
|
2087
|
-
* number).
|
|
2088
|
-
* These pads MUST be static pads.
|
|
2089
|
-
*/
|
|
2090
|
-
readonly gst_src: Gst.Element
|
|
2091
1951
|
/**
|
|
2092
1952
|
* A network source #GstElement to be used by the #FsSession
|
|
2093
1953
|
* This element MUST provide a source pad named "src_%u" per component.
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/farstream-0.2",
|
|
3
|
-
"version": "0.2.0-3.2.
|
|
3
|
+
"version": "0.2.0-3.2.9",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Farstream-0.2, generated from library version 0.2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "farstream-0.2.js",
|
|
7
7
|
"main": "farstream-0.2.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"./ambient":
|
|
10
|
-
|
|
9
|
+
"./ambient": {
|
|
10
|
+
"types": "./farstream-0.2-ambient.d.ts",
|
|
11
|
+
"default": "./farstream-0.2-ambient.js"
|
|
12
|
+
},
|
|
13
|
+
"./import": {
|
|
14
|
+
"types": "./farstream-0.2-import.d.ts",
|
|
15
|
+
"default": "./farstream-0.2-import.js"
|
|
16
|
+
},
|
|
11
17
|
".": {
|
|
12
18
|
"import": {
|
|
13
19
|
"types": "./farstream-0.2.d.ts",
|
|
@@ -25,11 +31,11 @@
|
|
|
25
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit farstream-0.2.d.cts"
|
|
26
32
|
},
|
|
27
33
|
"dependencies": {
|
|
28
|
-
"@girs/gjs": "^3.2.
|
|
29
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
30
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
31
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
32
|
-
"@girs/gst-1.0": "^1.23.0-3.2.
|
|
34
|
+
"@girs/gjs": "^3.2.9",
|
|
35
|
+
"@girs/glib-2.0": "^2.78.0-3.2.9",
|
|
36
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.9",
|
|
37
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.9",
|
|
38
|
+
"@girs/gst-1.0": "^1.23.0-3.2.9"
|
|
33
39
|
},
|
|
34
40
|
"devDependencies": {
|
|
35
41
|
"typescript": "*"
|
|
@@ -46,7 +52,7 @@
|
|
|
46
52
|
"license": "MIT",
|
|
47
53
|
"repository": {
|
|
48
54
|
"type": "git",
|
|
49
|
-
"url": "git+https://github.com/gjsify/
|
|
55
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
50
56
|
},
|
|
51
57
|
"bugs": {
|
|
52
58
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|