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

CreateSession parameters #5

Open
aoberoi opened this issue May 9, 2014 · 1 comment
Open

CreateSession parameters #5

aoberoi opened this issue May 9, 2014 · 1 comment

Comments

@aoberoi
Copy link
Collaborator

aoberoi commented May 9, 2014

At this point there are various method signatures for OpenTok.CreateSession(). You seem to be able to use a Builder pattern SessionProperties object, or use method overloading to use a partial set of the current SessionProperties.

Here are some better options:

  • Stick with just the no parameter signature and a SessionProperties accepting signature (as done in Java)
  • Use option arguments (as done in python)

I prefer the second approach since the language has affordances for this: http://msdn.microsoft.com/en-us/library/dd264739.aspx

@aoberoi
Copy link
Collaborator Author

aoberoi commented May 9, 2014

SessionProperties class would go away if the second approach is taken.

eauge pushed a commit that referenced this issue May 10, 2014
SessionProperties has been removed since it is not necessary anymore.
Related to issue #5
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

No branches or pull requests

1 participant