Exemple #1
0
static void owr_payload_init(OwrPayload *payload)
{
    payload->priv = OWR_PAYLOAD_GET_PRIVATE(payload);
    payload->priv->mtu = DEFAULT_MTU;
    payload->priv->bitrate = DEFAULT_BITRATE;

    payload->priv->rtx_payload_type = -1;
    payload->priv->rtx_time = DEFAULT_RTX_TIME;
}
Exemple #2
0
static void owr_payload_init(OwrPayload *payload)
{
    static GOnce g_once = G_ONCE_INIT;

    g_once (&g_once, owr_payload_detect_codecs, NULL);

    payload->priv = OWR_PAYLOAD_GET_PRIVATE(payload);
    payload->priv->mtu = DEFAULT_MTU;
    payload->priv->bitrate = DEFAULT_BITRATE;
}