set_list_callbacks


Description:

[ Version ( since = "1.16" ) ]
public void set_list_callbacks (SendListFunc send_rtp_list, owned SendListFunc send_rtcp_list)

Install callbacks that will be called when data for a stream should be sent to a client.

This is usually used when sending RTP/RTCP over TCP.

Parameters:

this

a StreamTransport

send_rtp_list

a callback called when RTP should be sent

send_rtcp_list

a callback called when RTCP should be sent

notify

called with the user_data when no longer needed.

user_data

user data passed to callbacks




2022 vala-language.org