1/**********
2This library is free software; you can redistribute it and/or modify it under
3the terms of the GNU Lesser General Public License as published by the
4Free Software Foundation; either version 2.1 of the License, or (at your
5option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
6This library is distributed in the hope that it will be useful, but WITHOUT
7ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
8FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for
9more details.
10You should have received a copy of the GNU Lesser General Public License
11along with this library; if not, write to the Free Software Foundation, Inc.,
1251 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
13**********/
14// Copyright (c) 1996-2016, Live Networks, Inc.  All rights reserved
15// Copyright (c) 2016, Dario Casalinuovo. All rights reserved.
16#ifndef _RTSP_H
17#define _RTSP_H
18
19#include "liveMedia.hh"
20#include "BasicUsageEnvironment.hh"
21
22
23void continueAfterDESCRIBE(RTSPClient* rtspClient, int resultCode, char* resultString);
24void continueAfterSETUP(RTSPClient* rtspClient, int resultCode, char* resultString);
25void continueAfterPLAY(RTSPClient* rtspClient, int resultCode, char* resultString);
26
27void subsessionAfterPlaying(void* clientData);
28void subsessionByeHandler(void* clientData);
29void streamTimerHandler(void* clientData);
30void setupNextSubsession(RTSPClient* rtspClient);
31void shutdownStream(RTSPClient* rtspClient, int exitCode = 1);
32
33
34#endif
35