RTPBasePayload.connectRequestExtension
gulong connectRequestExtension(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T : gstrtp.rtpheader_extension.RTPHeaderExtension)
&& (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 && is(Parameters!T[2] : gstrtp.rtpbase_payload.RTPBasePayload)))
&& Parameters!T.length < 4)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.
Parameters
callback | 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 | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID