[jitsi-dev] Control Event Call-back for Jitsi-Meet iOS


#1

Hi Team,

Is there a possibility of handling callbacks (call events like join/mute
etc.) inside an iOS app?

If not, what could be a possible work around?

Also if some one has to implement, where should we start? Where can I find
jitsi static lib code. Please advise. Thanks

Regards,
JSZ


#2

Hi JSZ,

Is there a possibility of handling callbacks (call events like join/mute
etc.) inside an iOS app?

Not yet.

If not, what could be a possible work around?
Also if some one has to implement, where should we start? Where can I find

1) Generally, Fork the project and modify the Objective-C and
JavaScript source code to your liking. Specifically, look at
actionTypes.js files in the project to identify the redux actions
associated with the events you're interested in such a join, mute, etc
and then execute your own logic when they are dispatched.

2) Optionally and if you think your modifications make sense for other
people as well, please contribute your modifications to the
project/upstream.

jitsi static lib code.

What to you mean by "jitsi static lib code"? Are you asking about
https://github.com/jitsi/jitsi-meet/ios/sdk ?

Best regards,
Lyubo Marinov

···

On Wed, Nov 1, 2017 at 3:11 AM, JSZ <jitterbuffer@gmail.com> wrote:


#3

Hi guys,

A bit confused, should I be asking this question on user list or dev list?
I am not sure please advise. Thanks

Regards,
JSZ

···

On Wed, Nov 1, 2017 at 1:11 PM, JSZ <jitterbuffer@gmail.com> wrote:

Hi Team,

Is there a possibility of handling callbacks (call events like join/mute
etc.) inside an iOS app?

If not, what could be a possible work around?

Also if some one has to implement, where should we start? Where can I find
jitsi static lib code. Please advise. Thanks

Regards,
JSZ


#4

Hi Lyubo,

Thanks for replying, seems like my previous email failed to reach.

I am more of a backed person so trying to figure out the change points from
jitsi-meet code. I have been able to clone and compile the code.
ActionTypes.js for base conference and media makes sense.

However, can you please point me to code/file/resource on iOS side to
handle callback and dispatching from react side? Need a bit of direction or
flow.

Much appreciated your valuable input. Thanks

Regards,
JSZ

···

On Wed, Nov 1, 2017 at 7:49 PM, Lyubomir Marinov <lyubomir.marinov@jitsi.org > wrote:

Hi JSZ,

On Wed, Nov 1, 2017 at 3:11 AM, JSZ <jitterbuffer@gmail.com> wrote:
> Is there a possibility of handling callbacks (call events like join/mute
> etc.) inside an iOS app?

Not yet.

> If not, what could be a possible work around?
> Also if some one has to implement, where should we start? Where can I
find

1) Generally, Fork the project and modify the Objective-C and
JavaScript source code to your liking. Specifically, look at
actionTypes.js files in the project to identify the redux actions
associated with the events you're interested in such a join, mute, etc
and then execute your own logic when they are dispatched.

2) Optionally and if you think your modifications make sense for other
people as well, please contribute your modifications to the
project/upstream.

> jitsi static lib code.

What to you mean by "jitsi static lib code"? Are you asking about
https://github.com/jitsi/jitsi-meet/ios/sdk ?

Best regards,
Lyubo Marinov


#5

We have encountered an issue, causing Apple to reject app, per message below.
Have you encountered this and how did you resolve?

Issue noted in Apple dev forum effecting other mobile apps:
https://forums.developer.apple.com/message/147579#147579

Apple review response:

···

----- Original Message -----

From: "Lyubomir Marinov" <lyubomir.marinov@jitsi.org>
To: "Jitsi Developers" <dev@jitsi.org>
Cc: jitterbuffer@gmail.com
Sent: Wednesday, November 1, 2017 7:49:09 AM
Subject: Re: [jitsi-dev] Control Event Call-back for Jitsi-Meet iOS

Hi JSZ,

On Wed, Nov 1, 2017 at 3:11 AM, JSZ <jitterbuffer@gmail.com> wrote:

Is there a possibility of handling callbacks (call events like join/mute
etc.) inside an iOS app?

Not yet.

If not, what could be a possible work around?
Also if some one has to implement, where should we start? Where can I find

1) Generally, Fork the project and modify the Objective-C and
JavaScript source code to your liking. Specifically, look at
actionTypes.js files in the project to identify the redux actions
associated with the events you're interested in such a join, mute, etc
and then execute your own logic when they are dispatched.

2) Optionally and if you think your modifications make sense for other
people as well, please contribute your modifications to the
project/upstream.

jitsi static lib code.

What to you mean by "jitsi static lib code"? Are you asking about
https://github.com/jitsi/jitsi-meet/ios/sdk ?

Best regards,
Lyubo Marinov

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#6

We made sure that Jitsi Meet for iOS worked in a Wi-Fi connected to an
IPv6 network. We used the 'Internet Sharing' (if I remember correctly)
built into macOS to generate such a network.

···

On Thu, Nov 9, 2017 at 8:04 PM, <royblog@comcast.net> wrote:

We have encountered an issue, causing Apple to reject app, per message below.
Have you encountered this and how did you resolve?


#7

Hi,

···

On Nov 10, 2017, at 03:04, royblog@comcast.net wrote:

We have encountered an issue, causing Apple to reject app, per message below.
Have you encountered this and how did you resolve?

Issue noted in Apple dev forum effecting other mobile apps:
https://forums.developer.apple.com/message/147579#147579

Apple review response:
<Screen Shot 2017-11-09 at 5.12.05 PM.png>

Interesting. I’m not aware of us getting rejected because of this. Lyubo may know more though.

According to the linked article, the fact that the app failed in their network environment doesn’t necessarily mean it failed *because* of it. Have you tested your app on a NAT64 enabled network? Here is Apple’s guide on how to get such a test network: https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW16

Cheers,

--
Saúl


#8

Hi Lyubo/Team,

I would really appreciate if you can share a bit of detail how you would
want call-backs for iOS to be integrated so that I can share it with my iOS
dev team to evaluate and if it gets working we can share it with you.

Expected changes from iOS side and react side, couple of liners each side
would help. Thanks

Regards,
JSZ

···

On Wed, Nov 8, 2017 at 1:48 AM, JSZ <jitterbuffer@gmail.com> wrote:

Hi Lyubo,

Thanks for replying, seems like my previous email failed to reach.

I am more of a backed person so trying to figure out the change points
from jitsi-meet code. I have been able to clone and compile the code.
ActionTypes.js for base conference and media makes sense.

However, can you please point me to code/file/resource on iOS side to
handle callback and dispatching from react side? Need a bit of direction or
flow.

Much appreciated your valuable input. Thanks

Regards,
JSZ

On Wed, Nov 1, 2017 at 7:49 PM, Lyubomir Marinov < > lyubomir.marinov@jitsi.org> wrote:

Hi JSZ,

On Wed, Nov 1, 2017 at 3:11 AM, JSZ <jitterbuffer@gmail.com> wrote:
> Is there a possibility of handling callbacks (call events like join/mute
> etc.) inside an iOS app?

Not yet.

> If not, what could be a possible work around?
> Also if some one has to implement, where should we start? Where can I
find

1) Generally, Fork the project and modify the Objective-C and
JavaScript source code to your liking. Specifically, look at
actionTypes.js files in the project to identify the redux actions
associated with the events you're interested in such a join, mute, etc
and then execute your own logic when they are dispatched.

2) Optionally and if you think your modifications make sense for other
people as well, please contribute your modifications to the
project/upstream.

> jitsi static lib code.

What to you mean by "jitsi static lib code"? Are you asking about
https://github.com/jitsi/jitsi-meet/ios/sdk ?

Best regards,
Lyubo Marinov


#9

Hi JSZ,

I would really appreciate if you can share a bit of detail how you would
want call-backs for iOS to be integrated so that I can share it with my iOS
dev team to evaluate and if it gets working we can share it with you.

Expected changes from iOS side and react side, couple of liners each side
would help. Thanks

* https://github.com/jitsi/jitsi-meet/blob/master/ios/sdk/src/JitsiMeetViewDelegate.h
which has `conferenceFailed:`, `conferenceJoined:`, `conferenceLeft:`.
I'm not entirely sure that I'll like it if it explodes to too many
events but it's definitely a starting point for what (I think) you're
talking about. FWIW, "call events like join/mute etc." that you
mentioned initially sounds a lot like `conferenceJoined:`,
`participantJoined:`, etc. to me. Did you have something different in
mind?

* https://github.com/jitsi/jitsi-meet/blob/master/react/features/mobile/external-api/middleware.js
is where the events are intercepted on the JavaScript side and are
translated to the respective Objective-C `JitsiMeetViewDelegate`
methods. Please look for `CONFERENCE_FAILED`, `CONFERENCE_JOINED`,
`CONFERENCE_LEFT` there.

* Explore our source code by following an example event. You should be
able to find and look at source code related to `conferenceJoined:`,
`CONFERENCE_JOINED`, `dispatch(conferenceJoined(...))`, etc.

Best regards,
Lyubo

···

On Fri, Nov 10, 2017 at 5:01 AM, JSZ <jitterbuffer@gmail.com> wrote:


#10

Thanks Lyubo.

Will get back to you in case of more questions.

Regards,
JSZ

···

On Fri, Nov 10, 2017 at 8:26 PM, Lyubomir Marinov < lyubomir.marinov@jitsi.org> wrote:

Hi JSZ,

On Fri, Nov 10, 2017 at 5:01 AM, JSZ <jitterbuffer@gmail.com> wrote:
> I would really appreciate if you can share a bit of detail how you would
> want call-backs for iOS to be integrated so that I can share it with my
iOS
> dev team to evaluate and if it gets working we can share it with you.
>
> Expected changes from iOS side and react side, couple of liners each side
> would help. Thanks

* https://github.com/jitsi/jitsi-meet/blob/master/ios/
sdk/src/JitsiMeetViewDelegate.h
which has `conferenceFailed:`, `conferenceJoined:`, `conferenceLeft:`.
I'm not entirely sure that I'll like it if it explodes to too many
events but it's definitely a starting point for what (I think) you're
talking about. FWIW, "call events like join/mute etc." that you
mentioned initially sounds a lot like `conferenceJoined:`,
`participantJoined:`, etc. to me. Did you have something different in
mind?

* https://github.com/jitsi/jitsi-meet/blob/master/react/
features/mobile/external-api/middleware.js
is where the events are intercepted on the JavaScript side and are
translated to the respective Objective-C `JitsiMeetViewDelegate`
methods. Please look for `CONFERENCE_FAILED`, `CONFERENCE_JOINED`,
`CONFERENCE_LEFT` there.

* Explore our source code by following an example event. You should be
able to find and look at source code related to `conferenceJoined:`,
`CONFERENCE_JOINED`, `dispatch(conferenceJoined(...))`, etc.

Best regards,
Lyubo