[server] / trunk / server / src / ipmdevice.h Repository:
ViewVC logotype

Diff of /trunk/server/src/ipmdevice.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1217, Fri Apr 20 09:55:38 2012 UTC revision 1218, Wed Jun 6 13:16:07 2012 UTC
# Line 57  Line 57 
57  #endif  #endif
58  #include "sdp.h"  #include "sdp.h"
59    
60  #include "ipinfo.h"  #include "rtpipinfo.h"
61  #include "dialogicdevice.h"  #include "dialogicdevice.h"
62  #include "coders.h"  #include "coders.h"
63  #include "overlay.h"  #include "overlay.h"
# Line 186  Line 186 
186           * \return true if the info was found; otherwise, false.           * \return true if the info was found; otherwise, false.
187           */           */
188          bool getLocalMediaInfo( eIPM_MEDIA_TYPE type,          bool getLocalMediaInfo( eIPM_MEDIA_TYPE type,
189                                  IpInfo& rtp_media ) const;                                  RtpIpInfo& rtp_media ) const;
190    
191          /*!          /*!
192           * Save the ip-address and port of the remote party's media.           * Save the ip-address and port of the remote party's media.
# Line 194  Line 194 
194           * \param rtp_media           * \param rtp_media
195           */           */
196          void setRemoteMediaInfo( eIPM_MEDIA_TYPE type,          void setRemoteMediaInfo( eIPM_MEDIA_TYPE type,
197                                   const IpInfo& rtp_media );                                   const RtpIpInfo& rtp_media );
198    
199          /*!          /*!
200           * Get the ip-address and port used by the remote party's media.           * Get the ip-address and port used by the remote party's media.
# Line 203  Line 203 
203           * \return true if the info was found; otherwise, false.           * \return true if the info was found; otherwise, false.
204           */           */
205          bool getRemoteMediaInfo( eIPM_MEDIA_TYPE type,          bool getRemoteMediaInfo( eIPM_MEDIA_TYPE type,
206                                   IpInfo& rtp_media ) const;                                   RtpIpInfo& rtp_media ) const;
207    
208          /*!          /*!
209           * Set the local audio coder.           * Set the local audio coder.
# Line 303  Line 303 
303           * \param remote_video_rtp           * \param remote_video_rtp
304           * \param remote_video_rtcp           * \param remote_video_rtcp
305           */           */
306          bool startMedia( const IpInfo& remote_audio_rtp,          bool startMedia( const RtpIpInfo& remote_audio_rtp,
307                           const IpInfo& remote_audio_rtcp,                           const RtpIpInfo& remote_audio_rtcp,
308                           const IpInfo& remote_video_rtp,                           const RtpIpInfo& remote_video_rtp,
309                           const IpInfo& remote_video_rtcp );                           const RtpIpInfo& remote_video_rtcp );
310    
311          /*!          /*!
312           * Stop streaming media.           * Stop streaming media.
# Line 503  Line 503 
503                          AudioCoderInfo audioCoder;                          AudioCoderInfo audioCoder;
504                          VideoCoderInfo videoCoder;                          VideoCoderInfo videoCoder;
505                          bool           rfc2833;                          bool           rfc2833;
506                          IpInfo         rtp;                          RtpIpInfo      rtp;
                         std::string    direction;  /* sendonly, recvonly, sendrecv, or inactive */  
507                  };                  };
508    
509                  typedef std::vector<Media> media_t;                  typedef std::vector<Media> media_t;
# Line 533  Line 532 
532           */           */
533          struct MediaInfo          struct MediaInfo
534          {          {
535                  IpInfo         audioRtp;                  RtpIpInfo      audioRtp;
536                  IpInfo         audioRtcp;                  RtpIpInfo      audioRtcp;
537                  AudioCoderInfo audioCoder;                  AudioCoderInfo audioCoder;
                 std::string    audioDirection;  
538    
539                  IpInfo         videoRtp;                  RtpIpInfo      videoRtp;
540                  IpInfo         videoRtcp;                  RtpIpInfo      videoRtcp;
541                  VideoCoderInfo videoCoder;                  VideoCoderInfo videoCoder;
                 std::string    videoDirection;  
542    
543                  Origin         origin;                  Origin         origin;
544          };          };

Legend:
Removed from v.1217  
changed lines
  Added in v.1218

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.8