message_new_response
Description:
public Result message_new_response (out Message msg, StatusCode code, string? reason, Message? request)
Create a new response Message with code
and reason
and store the result message in msg
.
Free with 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.
Parameters:
msg |
a location for the new Message |
code |
the status code |
reason |
the status reason or null |
request |
the request that triggered the response or null |
Returns:
a Result. |
Namespace: Gst.RTSP
Package: gstreamer-rtsp-1.0