private.h 1.29 KB
Newer Older
Ghislain MARY's avatar
Ghislain MARY committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
/*
mediastreamer2 library - modular sound and video processing and streaming
Copyright (C) 2006-2013 Belledonne Communications, Grenoble

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/


#ifndef PRIVATE_H
#define PRIVATE_H

#include "mediastreamer2/mediastream.h"


#define MAX_RTP_SIZE	UDP_MAX_SIZE


MSTickerPrio __ms_get_default_prio(bool_t is_video);

RtpSession * create_duplex_rtpsession(int loc_rtp_port, int loc_rtcp_port, bool_t ipv6);

void start_ticker(MediaStream *stream);

36 37
void payload_type_changed(RtpSession *session, unsigned long data);

Ghislain MARY's avatar
Ghislain MARY committed
38
const char * media_stream_type_str(MediaStream *stream);
Ghislain MARY's avatar
Ghislain MARY committed
39 40 41 42

void media_stream_free(MediaStream *stream);

#endif /* PRIVATE_H */