Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
6bb9300e
Commit
6bb9300e
authored
Dec 01, 2010
by
Guillaume Beraudo
Browse files
Binding to Enable video on LinphoneCall
parent
a9079412
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
coreapi/linphonecore_jni.cc
coreapi/linphonecore_jni.cc
+4
-0
java/common/org/linphone/core/LinphoneCall.java
java/common/org/linphone/core/LinphoneCall.java
+2
-0
No files found.
coreapi/linphonecore_jni.cc
View file @
6bb9300e
...
...
@@ -1015,6 +1015,10 @@ extern "C" jlong Java_org_linphone_core_LinphoneCallImpl_getCurrentParams(JNIEnv
return
(
jlong
)
linphone_call_get_current_params
((
LinphoneCall
*
)
lc
);
}
extern
"C"
jlong
Java_org_linphone_core_LinphoneCallImpl_enableCamera
(
JNIEnv
*
env
,
jobject
thiz
,
jlong
lc
,
jboolean
b
){
linphone_call_enable_camera
((
LinphoneCall
*
)
lc
,
(
bool_t
)
b
);
}
extern
"C"
jlong
Java_org_linphone_core_LinphoneCoreImpl_inviteAddressWithParams
(
JNIEnv
*
env
,
jobject
thiz
,
jlong
lc
,
jlong
addr
,
jlong
params
){
return
(
jlong
)
linphone_core_invite_address_with_params
((
LinphoneCore
*
)
lc
,
(
const
LinphoneAddress
*
)
addr
,
(
const
LinphoneCallParams
*
)
params
);
}
...
...
java/common/org/linphone/core/LinphoneCall.java
View file @
6bb9300e
...
...
@@ -155,4 +155,6 @@ public interface LinphoneCall {
*/
public
LinphoneCallParams
getCurrentParamsReadOnly
();
public
void
enableCamera
(
boolean
enabled
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment