Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable hrtb_*, Float param support #19

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

jevonearth
Copy link
Contributor

The --hrtb_ival and --hrtb_retr_ival command line arguments can now set the heartbeat intervals used by the rtpproxy client in b2bua.

Print a friendly message and sys.exit() when log file can't be open

Add float datatype to MyConfigParser.

Add tests to cover MyConfigParser.

jevonearth added 9 commits April 22, 2016 11:29
`python setup.py` install for installing from source
or
`python setup.py` develop for hacking.
so that we can configure heartbeat intervals and
retransmits at run time.
Rtp_proxy_client(). Requires a rtpproxy socket to run.
Would be nice to mock that socket instead.
Remove redundant '\' symbols from between ()'s
Raise exceptions using the new style.
Added `F` for Float support to MyConfigParser.
Moved tests from __main__ target into its own untitest.

Set the hrtb_* params as properties, instead of passing them
in via the global_config dict.
'xmpp_b2bua_id': ('I', 'ID passed to the XMPP socket server'),
'hrtb_retr_ival': ('F', 'Heartbeat retransmit value for rtpproxy client'),
'hrtb_ival': ('F', 'Heartbeat interval for rpproxy client')}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra blank line.

jevonearth added 2 commits April 22, 2016 18:09
line breaks before a class declaration. Kill one superfluous
new line.
@@ -88,6 +88,7 @@ def __init__(self, global_config, *address, **kwargs):
if kwargs.has_key('no_version_check'):
no_version_check = kwargs['no_version_check']
del kwargs['no_version_check']

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the whole patch (Rtp_proxy_client.py).

@jevonearth jevonearth changed the title Configurable hrtb_, Float param support Configurable hrtb_*, Float param support Apr 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants