do_tunnel


Description:

public Result do_tunnel (Connection? conn2)

If this received the first tunnel connection and conn2 received the second tunnel connection, link the two connections together so that this manages the tunneled connection.

After this call, conn2 cannot be used anymore and must be freed with free.

If conn2 is null then only the base64 decoding context will be setup for this.

Parameters:

this

a Connection

conn2

a Connection or null

Returns:

return GST_RTSP_OK on success.