~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/src/sip/sdp.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20140128182336-3xenud1kbnwmf3mz
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 *  Copyright (C) 2004-2012 Savoir-Faire Linux Inc.
 
2
 *  Copyright (C) 2004-2013 Savoir-Faire Linux Inc.
3
3
 *  Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
4
4
 *  Author: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
5
5
 *
69
69
         */
70
70
        Sdp(pj_pool_t *pool);
71
71
 
 
72
        ~Sdp();
 
73
 
72
74
        /**
73
75
         * Accessor for the internal memory pool
74
76
         */
151
153
        /*
152
154
         * Write accessor. Set the local IP address that will be used in the sdp session
153
155
         */
154
 
        void setLocalIP(const std::string &ip_addr) {
155
 
            localIpAddr_ = ip_addr;
156
 
        }
 
156
        void setPublishedIP(const std::string &ip_addr);
157
157
 
158
158
        /*
159
159
         * Read accessor. Get the local IP address
160
160
         */
161
 
        std::string getLocalIP() const {
162
 
            return localIpAddr_;
 
161
        std::string getPublishedIP() const {
 
162
            return publishedIpAddr_;
163
163
        }
164
164
 
165
165
        void setLocalPublishedAudioPort(int port) {
248
248
 
249
249
        std::string getAudioCodecNames() const;
250
250
        std::string getSessionVideoCodec() const;
251
 
        void getSessionAudioMedia(std::vector<sfl::AudioCodec*> &) const;
 
251
        std::vector<sfl::AudioCodec*> getSessionAudioMedia() const;
252
252
        // Sets @param settings with appropriate values and returns true if
253
253
        // we are sending video, false otherwise
254
254
        bool getOutgoingVideoSettings(std::map<std::string, std::string> &settings) const;
309
309
        std::vector<sfl::AudioCodec *> sessionAudioMedia_;
310
310
        std::vector<std::string> sessionVideoMedia_;
311
311
 
312
 
        std::string localIpAddr_;
 
312
        std::string publishedIpAddr_;
313
313
        std::string remoteIpAddr_;
314
314
 
315
315
        int localAudioDataPort_;