[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] bitrate used for codecs vs available bandwidth
From: |
Vincent Nguyen |
Subject: |
[Linphone-developers] bitrate used for codecs vs available bandwidth |
Date: |
Wed, 17 Jun 2015 18:09:55 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
Hello guys,
I have an issue here and I do not understand the logic.
If I initiate a call with :
audio codec = speex32 vbr=on
video codec = h264
if I do not set the max up/down bandwidth and leave it to zero, then the
upstream audio max out at 24 kbps (see below the log)
if I set the max up/down bandwidth at 1500 or 2000 for instance, then
the audio max out at 40 kbps
the quality difference is huge.
HOW to explain the 6th line of the log below which triggers this.
thanks
message: 2015-06-17 17:55:23:494 Call 02C1BED0: moving from state
LinphoneCallOutgoingProgress to LinphoneCallConnected
message: 2015-06-17 17:55:23:494 Linphone core [018BFCE8] notifying
[call_state_changed]
message: 2015-06-17 17:55:23:497 Call 02C1BED0 is locking sound resources.
message: 2015-06-17 17:55:23:498 Linphone core [018BFCE8] notifying
[display_status]
message: 2015-06-17 17:55:23:498 linphone_call_start_media_streams()
call=[02C1BED0] local upload_bandwidth=[0] kbit/s; local
download_bandwidth=[0] kbit/s
message: 2015-06-17 17:55:23:498 Audio bandwidth for this call is 24
message: 2015-06-17 17:55:23:498 RtpSession [02C9C120] sending to rtp
[10.0.1.142:16894] rtcp [10.0.1.142:16895]
message: 2015-06-17 17:55:23:498 Stun packet sent for session [02C9C120]
message: 2015-06-17 17:55:23:498 ms_filter_unlink:
MSRtpRecv:02BFC078,0-->MSVoidSink:02BFC0B8,0
message: 2015-06-17 17:55:23:498 speex_lib_ctl init without neon
error: 2015-06-17 17:55:23:498 No such filter with id 117
message: 2015-06-17 17:55:23:498 target bitrate not set for stream
[02CCDDD8] using payload's bitrate is 24000
message: 2015-06-17 17:55:23:498 Setting audio encoder network bitrate
to [24000] on stream [02CCDDD8]
message: 2015-06-17 17:55:23:498 MSSpeexEnc: got ptime=20
message: 2015-06-17 17:55:23:498 MSSpeexEnc: got ptime=20
message: 2015-06-17 17:55:23:498 Equalizer rate: 8000, selecting 128
steps for FFT
message: 2015-06-17 17:55:23:498 Equalizer rate: 32000, selecting 512
steps for FFT
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSWinSndRead:02BFC078,0-->MSVolume:02BFBE78,0
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSVolume:02BFBE78,0-->MSAudioMixer:02BFC678,0
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSAudioMixer:02BFC678,0-->MSSpeexEnc:02BFC5B8,0
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSSpeexEnc:02BFC5B8,0-->MSRtpSend:02BFBFB8,0
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSRtpRecv:02BFC538,0-->MSSpeexDec:02BFC5F8,0
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSSpeexDec:02BFC5F8,0-->MSDtmfGen:02BFC578,0
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSDtmfGen:02BFC578,0-->MSVolume:02BFC638,0
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSVolume:02BFC638,0-->MSTee:02BFC738,0
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSTee:02BFC738,0-->MSEqualizer:02BFC778,0
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSEqualizer:02BFC778,0-->MSAudioMixer:02CD9FD8,0
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSFilePlayer:02CDA018,0-->MSResample:02CDA058,0
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSResample:02CDA058,0-->MSAudioMixer:02CD9FD8,1
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSAudioMixer:02CD9FD8,0-->MSWinSndWrite:02BFC0B8,0
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSAudioMixer:02BFC678,1-->MSAudioMixer:02BFC6F8,0
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSTee:02BFC738,1-->MSAudioMixer:02BFC6F8,1
message: 2015-06-17 17:55:23:498 ms_filter_link:
MSAudioMixer:02BFC6F8,0-->MSFileRec:02BFC6B8,0
message: 2015-06-17 17:55:23:517 Setting maxbitrate=8000 to speex encoder.
message: 2015-06-17 17:55:23:517 Using bitrate 7550 for speex encoder,
ip bitrate is 23200
message: 2015-06-17 17:55:23:517 Initializing speex resampler in mode
[voip]
message: 2015-06-17 17:55:23:522 Filter MSRtpRecv is already being
scheduled; nothing to do.
message: 2015-06-17 17:55:23:522 MSVolume set gain to [0,000000 db],
[1,000000] linear
message: 2015-06-17 17:55:23:522 Setting video size 352x288 on stream
[02C1C438]
message: 2015-06-17 17:55:23:522 linphone_call_start_video_stream lc
rotation:0