Changeset 741:f87cafa3c89a in mediastreamer2
- Timestamp:
- Oct 24, 2009 4:30:23 PM (4 years ago)
- Branch:
- default
- Location:
- linphone/coreapi
- Files:
-
- 2 edited
-
linphonecore.c (modified) (2 diffs)
-
linphonecore.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linphone/coreapi/linphonecore.c
r740 r741 1617 1617 } 1618 1618 audio_stream_enable_automatic_gain_control(lc->audiostream,linphone_core_agc_enabled(lc)); 1619 if (lc->a_rtp) 1620 rtp_session_set_transports(lc->audiostream->session,lc->a_rtp,lc->a_rtcp); 1621 1619 1622 #ifdef VIDEO_ENABLED 1620 1623 if (lc->video_conf.display || lc->video_conf.capture) … … 2585 2588 } 2586 2589 2590 void linphone_core_set_audio_transports(LinphoneCore *lc, RtpTransport *rtp, RtpTransport *rtcp){ 2591 lc->a_rtp=rtp; 2592 lc->a_rtcp=rtcp; 2593 } 2594 2587 2595 void net_config_uninit(LinphoneCore *lc) 2588 2596 { -
linphone/coreapi/linphonecore.h
r740 r741 481 481 struct _VideoStream *videostream; 482 482 struct _VideoStream *previewstream; 483 RtpTransport *a_rtp,*a_rtcp; 483 484 struct _RtpProfile *local_profile; 484 485 MSList *bl_reqs; … … 774 775 void linphone_core_destroy(LinphoneCore *lc); 775 776 777 /*for advanced users:*/ 778 void linphone_core_set_audio_transports(LinphoneCore *lc, RtpTransport *rtp, RtpTransport *rtcp); 779 776 780 /* end of lecacy api */ 777 781
Note: See TracChangeset
for help on using the changeset viewer.
