RTSPMessage.initRequest

gstrtsp.types.RTSPResult initRequest(gstrtsp.types.RTSPMethod method, string uri)

Initialize msg as a request message with method and uri. To clear msg again, use [gstrtsp.rtspmessage.RTSPMessage.unset].

Parameters

methodthe request method to use
urithe uri of the request

Returns

a #GstRTSPResult.