RTSPConnection.doTunnel

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

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

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

Parameters

conn2 gstrtsp.rtspconnection.RTSPConnection

a #GstRTSPConnection or null

Return Value

Type: gstrtsp.types.RTSPResult

return GST_RTSP_OK on success.