Create a new response #GstRTSPMessage with code and reason and store the result message in msg. Free with gstrtsp.rtspmessage.RTSPMessage.free.
When reason is null, the default reason for code will be used.
When request is not null, the relevant headers will be copied to the new response message.
a location for the new #GstRTSPMessage
the status code
the status reason or null
the request that triggered the response or null
a #GstRTSPResult.
Create a new response #GstRTSPMessage with code and reason and store the result message in msg. Free with gstrtsp.rtspmessage.RTSPMessage.free.
When reason is null, the default reason for code will be used.
When request is not null, the relevant headers will be copied to the new response message.