@girs/farstream-0.2 0.2.0-3.2.9 → 0.2.0-3.3.0
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.d.cts +14 -14
- package/farstream-0.2.d.ts +14 -14
- package/package.json +6 -6
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.
|
|
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.3.0.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/farstream-0.2.d.cts
CHANGED
|
@@ -302,7 +302,7 @@ export function candidate_list_copy(candidate_list: Codec[]): Codec[]
|
|
|
302
302
|
export function codec_list_are_equal(list1: Codec[] | null, list2: Codec[] | null): boolean
|
|
303
303
|
/**
|
|
304
304
|
* Copies a list of #FsCodec structures.
|
|
305
|
-
* @param codec_list
|
|
305
|
+
* @param codec_list a GList of #FsCodec to copy
|
|
306
306
|
* @returns The new list.
|
|
307
307
|
*/
|
|
308
308
|
export function codec_list_copy(codec_list: Codec[]): Codec[]
|
|
@@ -331,7 +331,7 @@ export function codec_list_copy(codec_list: Codec[]): Codec[]
|
|
|
331
331
|
* ```
|
|
332
332
|
*
|
|
333
333
|
* @param filename Name of the #GKeyFile to read the codecs parameters from
|
|
334
|
-
* @returns
|
|
334
|
+
* @returns The #GList of #FsCodec or %NULL if the keyfile was empty or an error occured.
|
|
335
335
|
*/
|
|
336
336
|
export function codec_list_from_keyfile(filename: string): Codec[]
|
|
337
337
|
export function error_quark(): GLib.Quark
|
|
@@ -351,7 +351,7 @@ export function media_type_to_string(media_type: MediaType): string
|
|
|
351
351
|
export function parse_error(object: GObject.Object, message: Gst.Message): [ /* returnType */ boolean, /* error */ Error, /* error_msg */ string ]
|
|
352
352
|
/**
|
|
353
353
|
* Does a deep copy of a #GList of #FsRtpHeaderExtension
|
|
354
|
-
* @param extensions
|
|
354
|
+
* @param extensions a #GList of #FsRtpHeaderExtension
|
|
355
355
|
* @returns a new #GList of #FsRtpHeaderExtension
|
|
356
356
|
*/
|
|
357
357
|
export function rtp_header_extension_list_copy(extensions: RtpHeaderExtension[]): RtpHeaderExtension[]
|
|
@@ -394,7 +394,7 @@ export function rtp_header_extension_list_from_keyfile(filename: string, media_t
|
|
|
394
394
|
* available in the main GStreamer element repositories.
|
|
395
395
|
* They should be suitable for standards based protocols like SIP or XMPP.
|
|
396
396
|
* @param element Element for which to fetch default codec preferences
|
|
397
|
-
* @returns
|
|
397
|
+
* @returns The default codec preferences for this plugin. This #GList should be freed with fs_codec_list_destroy()
|
|
398
398
|
*/
|
|
399
399
|
export function utils_get_default_codec_preferences(element: Gst.Element): Codec[]
|
|
400
400
|
/**
|
|
@@ -976,8 +976,8 @@ export interface Session {
|
|
|
976
976
|
* Some codec updates need to be reliably transmitted to the other side
|
|
977
977
|
* because they contain important parameters required to decode the media.
|
|
978
978
|
* Other codec updates, caused by user action, don't.
|
|
979
|
-
* @param old_codecs
|
|
980
|
-
* @param new_codecs
|
|
979
|
+
* @param old_codecs Codecs previously retrieved from the #FsSession:codecs property
|
|
980
|
+
* @param new_codecs Codecs recently retrieved from the #FsSession:codecs property
|
|
981
981
|
* @returns A new #GList of #FsCodec that need to be resent or %NULL if there are none. This list must be freed with fs_codec_list_destroy().
|
|
982
982
|
*/
|
|
983
983
|
codecs_need_resend(old_codecs: Codec[] | null, new_codecs: Codec[] | null): Codec[]
|
|
@@ -1131,8 +1131,8 @@ export interface Session {
|
|
|
1131
1131
|
* because they contain important parameters required to decode the media.
|
|
1132
1132
|
* Other codec updates, caused by user action, don't.
|
|
1133
1133
|
* @virtual
|
|
1134
|
-
* @param old_codecs
|
|
1135
|
-
* @param new_codecs
|
|
1134
|
+
* @param old_codecs Codecs previously retrieved from the #FsSession:codecs property
|
|
1135
|
+
* @param new_codecs Codecs recently retrieved from the #FsSession:codecs property
|
|
1136
1136
|
* @returns A new #GList of #FsCodec that need to be resent or %NULL if there are none. This list must be freed with fs_codec_list_destroy().
|
|
1137
1137
|
*/
|
|
1138
1138
|
vfunc_codecs_need_resend(old_codecs: Codec[] | null, new_codecs: Codec[] | null): Codec[]
|
|
@@ -1464,7 +1464,7 @@ export interface Stream {
|
|
|
1464
1464
|
* This function forces data to be sent immediately to the selected remote
|
|
1465
1465
|
* candidate, by-passing any connectivity checks. There should be at most
|
|
1466
1466
|
* one candidate per component.
|
|
1467
|
-
* @param remote_candidates
|
|
1467
|
+
* @param remote_candidates a #GList of #FsCandidate to force
|
|
1468
1468
|
* @returns %TRUE if the candidates could be forced, %FALSE otherwise
|
|
1469
1469
|
*/
|
|
1470
1470
|
force_remote_candidates(remote_candidates: Candidate[]): boolean
|
|
@@ -1534,7 +1534,7 @@ export interface Stream {
|
|
|
1534
1534
|
* The parameters correspond to the varios GObject properties of the
|
|
1535
1535
|
* selected stream transmitter.
|
|
1536
1536
|
* @param transmitter Name of the type of transmitter to use for this stream
|
|
1537
|
-
* @param stream_transmitter_parameters
|
|
1537
|
+
* @param stream_transmitter_parameters an array of n_parameters #GParameter struct that will be passed to the newly-create #FsStreamTransmitter
|
|
1538
1538
|
* @returns %TRUE if the transmitter could be set, %FALSE otherwise
|
|
1539
1539
|
*/
|
|
1540
1540
|
set_transmitter(transmitter: string, stream_transmitter_parameters: GObject.Parameter[] | null): boolean
|
|
@@ -1548,7 +1548,7 @@ export interface Stream {
|
|
|
1548
1548
|
* This is the same as fs_stream_set_transmitter() except that the parameters
|
|
1549
1549
|
* are passed in a #GHashTable to make it more friendly to GObject introspection
|
|
1550
1550
|
* @param transmitter Name of the type of transmitter to use for this stream
|
|
1551
|
-
* @param stream_transmitter_parameters
|
|
1551
|
+
* @param stream_transmitter_parameters A #GHashTable of string->GValue containing the parameters.
|
|
1552
1552
|
* @returns %TRUE if the transmitter could be set, %FALSE otherwise
|
|
1553
1553
|
*/
|
|
1554
1554
|
set_transmitter_ht(transmitter: string, stream_transmitter_parameters: GLib.HashTable | null): boolean
|
|
@@ -1588,7 +1588,7 @@ export interface Stream {
|
|
|
1588
1588
|
* candidate, by-passing any connectivity checks. There should be at most
|
|
1589
1589
|
* one candidate per component.
|
|
1590
1590
|
* @virtual
|
|
1591
|
-
* @param remote_candidates
|
|
1591
|
+
* @param remote_candidates a #GList of #FsCandidate to force
|
|
1592
1592
|
* @returns %TRUE if the candidates could be forced, %FALSE otherwise
|
|
1593
1593
|
*/
|
|
1594
1594
|
vfunc_force_remote_candidates(remote_candidates: Candidate[]): boolean
|
|
@@ -1619,7 +1619,7 @@ export interface Stream {
|
|
|
1619
1619
|
* selected stream transmitter.
|
|
1620
1620
|
* @virtual
|
|
1621
1621
|
* @param transmitter Name of the type of transmitter to use for this stream
|
|
1622
|
-
* @param stream_transmitter_parameters
|
|
1622
|
+
* @param stream_transmitter_parameters an array of n_parameters #GParameter struct that will be passed to the newly-create #FsStreamTransmitter
|
|
1623
1623
|
* @returns %TRUE if the transmitter could be set, %FALSE otherwise
|
|
1624
1624
|
*/
|
|
1625
1625
|
vfunc_set_transmitter(transmitter: string, stream_transmitter_parameters: GObject.Parameter[] | null): boolean
|
|
@@ -2313,7 +2313,7 @@ export interface Codec {
|
|
|
2313
2313
|
* Removes an optional parameter from a codec.
|
|
2314
2314
|
*
|
|
2315
2315
|
* NULL param will do nothing.
|
|
2316
|
-
* @param item
|
|
2316
|
+
* @param item a pointer to the #GList element to remove that contains a #FsFeedbackParameter
|
|
2317
2317
|
*/
|
|
2318
2318
|
remove_feedback_parameter(item: FeedbackParameter[]): void
|
|
2319
2319
|
/**
|
package/farstream-0.2.d.ts
CHANGED
|
@@ -304,7 +304,7 @@ function candidate_list_copy(candidate_list: Codec[]): Codec[]
|
|
|
304
304
|
function codec_list_are_equal(list1: Codec[] | null, list2: Codec[] | null): boolean
|
|
305
305
|
/**
|
|
306
306
|
* Copies a list of #FsCodec structures.
|
|
307
|
-
* @param codec_list
|
|
307
|
+
* @param codec_list a GList of #FsCodec to copy
|
|
308
308
|
* @returns The new list.
|
|
309
309
|
*/
|
|
310
310
|
function codec_list_copy(codec_list: Codec[]): Codec[]
|
|
@@ -333,7 +333,7 @@ function codec_list_copy(codec_list: Codec[]): Codec[]
|
|
|
333
333
|
* ```
|
|
334
334
|
*
|
|
335
335
|
* @param filename Name of the #GKeyFile to read the codecs parameters from
|
|
336
|
-
* @returns
|
|
336
|
+
* @returns The #GList of #FsCodec or %NULL if the keyfile was empty or an error occured.
|
|
337
337
|
*/
|
|
338
338
|
function codec_list_from_keyfile(filename: string): Codec[]
|
|
339
339
|
function error_quark(): GLib.Quark
|
|
@@ -353,7 +353,7 @@ function media_type_to_string(media_type: MediaType): string
|
|
|
353
353
|
function parse_error(object: GObject.Object, message: Gst.Message): [ /* returnType */ boolean, /* error */ Error, /* error_msg */ string ]
|
|
354
354
|
/**
|
|
355
355
|
* Does a deep copy of a #GList of #FsRtpHeaderExtension
|
|
356
|
-
* @param extensions
|
|
356
|
+
* @param extensions a #GList of #FsRtpHeaderExtension
|
|
357
357
|
* @returns a new #GList of #FsRtpHeaderExtension
|
|
358
358
|
*/
|
|
359
359
|
function rtp_header_extension_list_copy(extensions: RtpHeaderExtension[]): RtpHeaderExtension[]
|
|
@@ -396,7 +396,7 @@ function rtp_header_extension_list_from_keyfile(filename: string, media_type: Me
|
|
|
396
396
|
* available in the main GStreamer element repositories.
|
|
397
397
|
* They should be suitable for standards based protocols like SIP or XMPP.
|
|
398
398
|
* @param element Element for which to fetch default codec preferences
|
|
399
|
-
* @returns
|
|
399
|
+
* @returns The default codec preferences for this plugin. This #GList should be freed with fs_codec_list_destroy()
|
|
400
400
|
*/
|
|
401
401
|
function utils_get_default_codec_preferences(element: Gst.Element): Codec[]
|
|
402
402
|
/**
|
|
@@ -978,8 +978,8 @@ interface Session {
|
|
|
978
978
|
* Some codec updates need to be reliably transmitted to the other side
|
|
979
979
|
* because they contain important parameters required to decode the media.
|
|
980
980
|
* Other codec updates, caused by user action, don't.
|
|
981
|
-
* @param old_codecs
|
|
982
|
-
* @param new_codecs
|
|
981
|
+
* @param old_codecs Codecs previously retrieved from the #FsSession:codecs property
|
|
982
|
+
* @param new_codecs Codecs recently retrieved from the #FsSession:codecs property
|
|
983
983
|
* @returns A new #GList of #FsCodec that need to be resent or %NULL if there are none. This list must be freed with fs_codec_list_destroy().
|
|
984
984
|
*/
|
|
985
985
|
codecs_need_resend(old_codecs: Codec[] | null, new_codecs: Codec[] | null): Codec[]
|
|
@@ -1133,8 +1133,8 @@ interface Session {
|
|
|
1133
1133
|
* because they contain important parameters required to decode the media.
|
|
1134
1134
|
* Other codec updates, caused by user action, don't.
|
|
1135
1135
|
* @virtual
|
|
1136
|
-
* @param old_codecs
|
|
1137
|
-
* @param new_codecs
|
|
1136
|
+
* @param old_codecs Codecs previously retrieved from the #FsSession:codecs property
|
|
1137
|
+
* @param new_codecs Codecs recently retrieved from the #FsSession:codecs property
|
|
1138
1138
|
* @returns A new #GList of #FsCodec that need to be resent or %NULL if there are none. This list must be freed with fs_codec_list_destroy().
|
|
1139
1139
|
*/
|
|
1140
1140
|
vfunc_codecs_need_resend(old_codecs: Codec[] | null, new_codecs: Codec[] | null): Codec[]
|
|
@@ -1466,7 +1466,7 @@ interface Stream {
|
|
|
1466
1466
|
* This function forces data to be sent immediately to the selected remote
|
|
1467
1467
|
* candidate, by-passing any connectivity checks. There should be at most
|
|
1468
1468
|
* one candidate per component.
|
|
1469
|
-
* @param remote_candidates
|
|
1469
|
+
* @param remote_candidates a #GList of #FsCandidate to force
|
|
1470
1470
|
* @returns %TRUE if the candidates could be forced, %FALSE otherwise
|
|
1471
1471
|
*/
|
|
1472
1472
|
force_remote_candidates(remote_candidates: Candidate[]): boolean
|
|
@@ -1536,7 +1536,7 @@ interface Stream {
|
|
|
1536
1536
|
* The parameters correspond to the varios GObject properties of the
|
|
1537
1537
|
* selected stream transmitter.
|
|
1538
1538
|
* @param transmitter Name of the type of transmitter to use for this stream
|
|
1539
|
-
* @param stream_transmitter_parameters
|
|
1539
|
+
* @param stream_transmitter_parameters an array of n_parameters #GParameter struct that will be passed to the newly-create #FsStreamTransmitter
|
|
1540
1540
|
* @returns %TRUE if the transmitter could be set, %FALSE otherwise
|
|
1541
1541
|
*/
|
|
1542
1542
|
set_transmitter(transmitter: string, stream_transmitter_parameters: GObject.Parameter[] | null): boolean
|
|
@@ -1550,7 +1550,7 @@ interface Stream {
|
|
|
1550
1550
|
* This is the same as fs_stream_set_transmitter() except that the parameters
|
|
1551
1551
|
* are passed in a #GHashTable to make it more friendly to GObject introspection
|
|
1552
1552
|
* @param transmitter Name of the type of transmitter to use for this stream
|
|
1553
|
-
* @param stream_transmitter_parameters
|
|
1553
|
+
* @param stream_transmitter_parameters A #GHashTable of string->GValue containing the parameters.
|
|
1554
1554
|
* @returns %TRUE if the transmitter could be set, %FALSE otherwise
|
|
1555
1555
|
*/
|
|
1556
1556
|
set_transmitter_ht(transmitter: string, stream_transmitter_parameters: GLib.HashTable | null): boolean
|
|
@@ -1590,7 +1590,7 @@ interface Stream {
|
|
|
1590
1590
|
* candidate, by-passing any connectivity checks. There should be at most
|
|
1591
1591
|
* one candidate per component.
|
|
1592
1592
|
* @virtual
|
|
1593
|
-
* @param remote_candidates
|
|
1593
|
+
* @param remote_candidates a #GList of #FsCandidate to force
|
|
1594
1594
|
* @returns %TRUE if the candidates could be forced, %FALSE otherwise
|
|
1595
1595
|
*/
|
|
1596
1596
|
vfunc_force_remote_candidates(remote_candidates: Candidate[]): boolean
|
|
@@ -1621,7 +1621,7 @@ interface Stream {
|
|
|
1621
1621
|
* selected stream transmitter.
|
|
1622
1622
|
* @virtual
|
|
1623
1623
|
* @param transmitter Name of the type of transmitter to use for this stream
|
|
1624
|
-
* @param stream_transmitter_parameters
|
|
1624
|
+
* @param stream_transmitter_parameters an array of n_parameters #GParameter struct that will be passed to the newly-create #FsStreamTransmitter
|
|
1625
1625
|
* @returns %TRUE if the transmitter could be set, %FALSE otherwise
|
|
1626
1626
|
*/
|
|
1627
1627
|
vfunc_set_transmitter(transmitter: string, stream_transmitter_parameters: GObject.Parameter[] | null): boolean
|
|
@@ -2315,7 +2315,7 @@ interface Codec {
|
|
|
2315
2315
|
* Removes an optional parameter from a codec.
|
|
2316
2316
|
*
|
|
2317
2317
|
* NULL param will do nothing.
|
|
2318
|
-
* @param item
|
|
2318
|
+
* @param item a pointer to the #GList element to remove that contains a #FsFeedbackParameter
|
|
2319
2319
|
*/
|
|
2320
2320
|
remove_feedback_parameter(item: FeedbackParameter[]): void
|
|
2321
2321
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/farstream-0.2",
|
|
3
|
-
"version": "0.2.0-3.
|
|
3
|
+
"version": "0.2.0-3.3.0",
|
|
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",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit farstream-0.2.d.cts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "^3.
|
|
35
|
-
"@girs/glib-2.0": "^2.78.0-3.
|
|
36
|
-
"@girs/gmodule-2.0": "^2.0.0-3.
|
|
37
|
-
"@girs/gobject-2.0": "^2.78.0-3.
|
|
38
|
-
"@girs/gst-1.0": "^1.23.0-3.
|
|
34
|
+
"@girs/gjs": "^3.3.0",
|
|
35
|
+
"@girs/glib-2.0": "^2.78.0-3.3.0",
|
|
36
|
+
"@girs/gmodule-2.0": "^2.0.0-3.3.0",
|
|
37
|
+
"@girs/gobject-2.0": "^2.78.0-3.3.0",
|
|
38
|
+
"@girs/gst-1.0": "^1.23.0-3.3.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"typescript": "*"
|