RTPBasePayload.connectRequestExtension

Connect to RequestExtension signal.

The returned ext must be configured with the correct ext_id and with the necessary attributes as required by the extension implementation.

class RTPBasePayload
ulong
connectRequestExtension
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
is(Parameters!T[0] == uint)
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
is(Parameters!T[1] == string)
)
)
&&
(
Parameters!T.length < 3 ||
(
ParameterStorageClassTuple!T[2] == ParameterStorageClass.none &&
)
)
&&
Parameters!T.length < 4
)

Parameters

callback T

signal callback delegate or function to connect

gstrtp.rtpheader_extension.RTPHeaderExtension callback(uint extId, string extUri, gstrtp.rtpbase_payload.RTPBasePayload rTPBasePayload)

extId the extension id being requested (optional)

extUri the extension URI being requested (optional)

rTPBasePayload the instance the signal is connected to (optional)

Returns the #GstRTPHeaderExtension for ext_id, or null

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID