~ubuntu-branches/ubuntu/trusty/liblivemedia/trusty

« back to all changes in this revision

Viewing changes to testProgs/openRTSP.cpp

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2013-05-05 19:49:35 UTC
  • mfrom: (1.4.15) (11.1.9 experimental)
  • Revision ID: package-import@ubuntu.com-20130505194935-pyim0rda30k401ca
Tags: 2013.04.30-1
* Team upload.
* New upstream release.
* Upload to unstable after the Debian 7.0 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
along with this library; if not, write to the Free Software Foundation, Inc.,
14
14
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
15
15
**********/
16
 
// Copyright (c) 1996-2012, Live Networks, Inc.  All rights reserved
 
16
// Copyright (c) 1996-2013, Live Networks, Inc.  All rights reserved
17
17
// A RTSP client application that opens a RTSP URL argument,
18
18
// and extracts and records the data from each incoming RTP stream.
19
19
//
46
46
  ourRTSPClient->sendPlayCommand(*session, afterFunc, start, end, scale, ourAuthenticator);
47
47
}
48
48
 
 
49
void startPlayingSession(MediaSession* session, char const* absStartTime, char const* absEndTime, float scale, RTSPClient::responseHandler* afterFunc) {
 
50
  ourRTSPClient->sendPlayCommand(*session, afterFunc, absStartTime, absEndTime, scale, ourAuthenticator);
 
51
}
 
52
 
49
53
void tearDownSession(MediaSession* session, RTSPClient::responseHandler* afterFunc) {
50
54
  ourRTSPClient->sendTeardownCommand(*session, afterFunc, ourAuthenticator);
51
55
}