Hi, I use Opus even for narrowband calls because of all its bells and whistles that PCM doesn't have. The trouble is that I always end up negotiating a crazy sampling rate, more demanding in every way and not necessary for a basic narrowband call. I know this because if I record the call, one leg is recording a full 48kHz audio that is unbelievable and the other one is a regular 8kHz sad PSTN call. I have 40kHz going to waste here. I see issue 6947 seems to be talking about the same thing and was wondering if something had been done about it. https://freeswitch.org/jira/browse/FS-6947 It shows it's been solved, but I cannot see any dialplan variables I could set to fine tune my Opus codec negotiation.
I can also reference issue 6992: https://freeswitch.org/jira/browse/FS-6992 The global configuration is well understood, however I'd consider it more as a limitation than a feature if I cannot dynamically set this in my dialplan on a per call basis. Can we manipulate the maxaveragebitrate and maxplaybackrate from the dialplan?
On Feb 10, 2015, at 10:42 PM, Emrah <lists@kavun.ch> wrote:
Hi, I use Opus even for narrowband calls because of all its bells and whistles that PCM doesn't have. The trouble is that I always end up negotiating a crazy sampling rate, more demanding in every way and not necessary for a basic narrowband call. I know this because if I record the call, one leg is recording a full 48kHz audio that is unbelievable and the other one is a regular 8kHz sad PSTN call. I have 40kHz going to waste here. I see issue 6947 seems to be talking about the same thing and was wondering if something had been done about it. https://freeswitch.org/jira/browse/FS-6947
It shows it's been solved, but I cannot see any dialplan variables I could set to fine tune my Opus codec negotiation.
Why not just set the record_sample_rate variable? On Tue, Feb 10, 2015 at 3:42 PM, Emrah <lists@kavun.ch> wrote:
Hi, I use Opus even for narrowband calls because of all its bells and whistles that PCM doesn't have. The trouble is that I always end up negotiating a crazy sampling rate, more demanding in every way and not necessary for a basic narrowband call. I know this because if I record the call, one leg is recording a full 48kHz audio that is unbelievable and the other one is a regular 8kHz sad PSTN call. I have 40kHz going to waste here. I see issue 6947 seems to be talking about the same thing and was wondering if something had been done about it. https://freeswitch.org/jira/browse/FS-6947
It shows it's been solved, but I cannot see any dialplan variables I could set to fine tune my Opus codec negotiation. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
Hi guys, Opus has different aptitudes and advantages depending on what segment of the audio bandwidth it is operating on. For narrowband calls, why engage the full 48kHz spectrum? This has an impact in so many places, Internet bandwidth, transcoding CPU usage, internal audio sampling frequency, AEC... The setting is available globally anyway. I do believe it would make sense to have it in the dialplan. Emrah
On Feb 10, 2015, at 11:59 PM, Brian West <brian@freeswitch.org> wrote:
Why not just set the record_sample_rate variable?
On Tue, Feb 10, 2015 at 3:42 PM, Emrah <lists@kavun.ch <mailto:lists@kavun.ch>> wrote: Hi, I use Opus even for narrowband calls because of all its bells and whistles that PCM doesn't have. The trouble is that I always end up negotiating a crazy sampling rate, more demanding in every way and not necessary for a basic narrowband call. I know this because if I record the call, one leg is recording a full 48kHz audio that is unbelievable and the other one is a regular 8kHz sad PSTN call. I have 40kHz going to waste here. I see issue 6947 seems to be talking about the same thing and was wondering if something had been done about it. https://freeswitch.org/jira/browse/FS-6947 <https://freeswitch.org/jira/browse/FS-6947>
It shows it's been solved, but I cannot see any dialplan variables I could set to fine tune my Opus codec negotiation. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
-- Brian West brian@freeswitch.org <mailto:brian@freeswitch.org>
Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com <http://www.freeswitchbook.com/> http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
hi Emrah, there's a bunch of comments in FS-6947 which I guess you missed. As per standard, Opus codec always requires that RTP is encoded with 48000Hz stereo, and there's always up- and downsampling if you feed the codec with 8KHz sound. On Tue, Feb 10, 2015 at 10:42 PM, Emrah <lists@kavun.ch> wrote:
Hi, I use Opus even for narrowband calls because of all its bells and whistles that PCM doesn't have. The trouble is that I always end up negotiating a crazy sampling rate, more demanding in every way and not necessary for a basic narrowband call. I know this because if I record the call, one leg is recording a full 48kHz audio that is unbelievable and the other one is a regular 8kHz sad PSTN call. I have 40kHz going to waste here. I see issue 6947 seems to be talking about the same thing and was wondering if something had been done about it. https://freeswitch.org/jira/browse/FS-6947
It shows it's been solved, but I cannot see any dialplan variables I could set to fine tune my Opus codec negotiation. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Brian West
-
Emrah
-
Stanislav Sinyagin