view stream/udp.h @ 22749:f088d69b1667

Fix for realrtsp urls with more than 2 streams: - do setup for all the streams we subscribed to - Use all bits of stream id, not only the lsbit Fixes rtsp://vodreal.stanford.edu/opa/philo/061022.rm
author rtogni
date Tue, 20 Mar 2007 22:30:51 +0000
parents a28ef75c9fe7
children 3f0d00abc073
line wrap: on
line source

/*
 *  Copyright (C) 2006 Benjamin Zores
 *   Network helpers for UDP connections (originally borrowed from rtp.c).
 *
 *   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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

#ifndef _UDP_H_
#define _UDP_H_

int udp_open_socket (URL_t *url);

#endif /* _UDP_H_ */