RTSPMessage.getHeader

gstrtsp.types.RTSPResult getHeader(gstrtsp.types.RTSPHeaderField field, out string value, int indx)

Get the indx header value with key field from msg. The result in value stays valid as long as it remains present in msg.

Parameters

fielda #GstRTSPHeaderField
valuepointer to hold the result
indxthe index of the header

Returns

#GST_RTSP_OK when field was found, #GST_RTSP_ENOTIMPL if the key

was not found.