rtmp2: Add gst_rtmp_connection_set_chunk_size
This commit is contained in:
parent
63ec837824
commit
f7bb2cdeb7
@ -1064,6 +1064,21 @@ gst_rtmp_connection_send_ping_response (GstRtmpConnection * connection,
|
|||||||
gst_rtmp_message_new_user_control (&uc));
|
gst_rtmp_message_new_user_control (&uc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
gst_rtmp_connection_set_chunk_size (GstRtmpConnection * connection,
|
||||||
|
guint32 chunk_size)
|
||||||
|
{
|
||||||
|
GstRtmpProtocolControl pc = {
|
||||||
|
.type = GST_RTMP_MESSAGE_TYPE_SET_CHUNK_SIZE,
|
||||||
|
.param = chunk_size,
|
||||||
|
};
|
||||||
|
|
||||||
|
g_return_if_fail (GST_IS_RTMP_CONNECTION (connection));
|
||||||
|
|
||||||
|
gst_rtmp_connection_queue_message (connection,
|
||||||
|
gst_rtmp_message_new_protocol_control (&pc));
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gst_rtmp_connection_request_window_size (GstRtmpConnection * connection,
|
gst_rtmp_connection_request_window_size (GstRtmpConnection * connection,
|
||||||
guint32 window_ack_size)
|
guint32 window_ack_size)
|
||||||
|
@ -81,6 +81,8 @@ void gst_rtmp_connection_expect_command (GstRtmpConnection * connection,
|
|||||||
GstRtmpCommandCallback response_command, gpointer user_data,
|
GstRtmpCommandCallback response_command, gpointer user_data,
|
||||||
guint32 stream_id, const gchar * command_name);
|
guint32 stream_id, const gchar * command_name);
|
||||||
|
|
||||||
|
void gst_rtmp_connection_set_chunk_size (GstRtmpConnection * connection,
|
||||||
|
guint32 chunk_size);
|
||||||
void gst_rtmp_connection_request_window_size (GstRtmpConnection * connection,
|
void gst_rtmp_connection_request_window_size (GstRtmpConnection * connection,
|
||||||
guint32 window_ack_size);
|
guint32 window_ack_size);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user