RTSPMessage.initRequest

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

class RTSPMessage
initRequest

Parameters

method gstrtsp.types.RTSPMethod

the request method to use

uri string

the uri of the request

Return Value

Type: gstrtsp.types.RTSPResult

a #GstRTSPResult.