RTSPMessage.getHeader

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

class RTSPMessage
getHeader

Parameters

field gstrtsp.types.RTSPHeaderField

a #GstRTSPHeaderField

value string

pointer to hold the result

indx int

the index of the header

Return Value

Type: gstrtsp.types.RTSPResult

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