-
Notifications
You must be signed in to change notification settings - Fork 12
Conversation
Consolidated the callback for video and audio bitrate. Update tests so they work with new toxav
- (void) toxAV:(OCTToxAV *)toxAV bitrateStatusForFriendNumber:(OCTToxFriendNumber)friendNumber | ||
audioBitRate:(OCTToxAVAudioBitRate)audioBitrate | ||
videoBitRate:(OCTToxAVVideoBitRate)videoBitrate | ||
{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why objcTox isn't handling this callback?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea you are right, this should be done at objcTox level. I'll move this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm... I think that it should be done not in OCTToxAV, but on more higher level. OCTSubmanagerCalls would be perfect place for that. So everything was fine, no need to remove the callback. I was just writing about those empty parentheses.
Can you please get it back (and add a comment to the #88 here)? :-)
Sorry for confusing.
I'll take a look. Created an issue #144 |
Cool, thanks! |
…udio Update to latest toxAV from mannol
Some new enums were added from toxav.
Did
$ xctool -workspace objcTox.xcworkspace -scheme iOSDemo -sdk iphonesimulator CODE_SIGNING_REQUIRED=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test
But got one error:
Unable to read build settings for target 'iOSDemoTests'. It's likely that the scheme references a non-existent target.
xcodebuild: error: The test action requires that the name of a scheme in the project is provided using the "-scheme" option. The "-list" option can be used to find the names of the schemes in the project.
However all tests pass when running them in xcode