gstrtsp.global
Global functions for gstrtsp1 library
fn rtspAuthCredentialsFree rtspFindHeaderField rtspFindMethod rtspGenerateDigestAuthResponse rtspGenerateDigestAuthResponseFromMd5 rtspHeaderAllowMultiple rtspHeaderAsText rtspMessageNew rtspMessageNewData rtspMessageNewRequest rtspMessageNewResponse rtspOptionsAsText rtspOptionsFromText rtspStatusAsText rtspStrresult
Functions 15
fn
void rtspAuthCredentialsFree(gstrtsp.rtspauth_credential.RTSPAuthCredential credentials)Free a null-terminated array of credentials returned from [gstrtsp.rtspmessage.RTSPMessage.parseAuthCredentials].fn
gstrtsp.types.RTSPHeaderField rtspFindHeaderField(string header)Convert header to a #GstRTSPHeaderField.fn
string rtspGenerateDigestAuthResponse(string algorithm, string method, string realm, string username, string password, string uri, string nonce)Calculates the digest auth response from the values given by the server and the username and password. See RFC2069 for details.fn
string rtspGenerateDigestAuthResponseFromMd5(string algorithm, string method, string md5, string uri, string nonce)Calculates the digest auth response from the values given by the server and the md5sum. See RFC2069 for details.fn
bool rtspHeaderAllowMultiple(gstrtsp.types.RTSPHeaderField field)Check whether field may appear multiple times in a message.fn
gstrtsp.types.RTSPResult rtspMessageNew(out gstrtsp.rtspmessage.RTSPMessage msg)Create a new initialized #GstRTSPMessage. Free with [gstrtsp.rtspmessage.RTSPMessage.free].fn
gstrtsp.types.RTSPResult rtspMessageNewData(out gstrtsp.rtspmessage.RTSPMessage msg, ubyte channel)Create a new data #GstRTSPMessage with channel and store the result message in msg. Free with [gstrtsp.rtspmessage.RTSPMessage.free].fn
gstrtsp.types.RTSPResult rtspMessageNewRequest(out gstrtsp.rtspmessage.RTSPMessage msg, gstrtsp.types.RTSPMethod method, string uri)Create a new #GstRTSPMessage with method and uri and store the result request message in msg. Free with [gstrtsp.rtspmessage.RTSPMessage.free].fn
gstrtsp.types.RTSPResult rtspMessageNewResponse(out gstrtsp.rtspmessage.RTSPMessage msg, gstrtsp.types.RTSPStatusCode code, string reason = null, gstrtsp.rtspmessage.RTSPMessage request = null)Create a new response #GstRTSPMessage with code and reason and store the result message in msg. Free with [gstrtsp.rtspmessage.RTSPMessage.free].fn
gstrtsp.types.RTSPMethod rtspOptionsFromText(string options)Convert the comma separated list options to a #GstRTSPMethod bitwise or of methods. This functions is the reverse of [gstrtsp.global.rtspOptionsAsText].