gstrtsp.global

Global functions for gstrtsp1 library

Functions 15

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