[jitsi-dev] rtcpeerconnection


#1

Hello,

I am stuck at the last (i think) step in establishing an connection with audio.

I have extended the webrtc to have xmpp support to connect to openfire server. I have a mac jitsi client connect as well and it sets up a video bridge and invites my ios app.

i handle the jingle session-accept, reply 'defintively accept the session' now my mac jitsi client show i am connected. I need to take this information now and establish a rtcpeerconnection and i can not find anything that tells me what to do here.

I have been looking at this for two days and i am not getting closer. I know i need to construct an SDP from the data in the jingle dialog but i dont know what to do with it.

Peter Mycue
pmycue@us.ibm.com
pmycue@gmail.com
704-626-9772


#2

Hey Peter,

Just a couple of quick tips:

1. Rather than using Jitsi, try using Jitsi Meet. This would provide session descriptions that are compatible with the WebRTC stack.

2. Once you convert your XMPP to SDP (you can have a look at how strophe.jingle is doing this) The PeerConnection methods you would need to use with the SDP are:

virtual void CreateAnswer(CreateSessionDescriptionObserver* observer,
                             const MediaConstraintsInterface* constraints);

virtual void SetLocalDescription(SetSessionDescriptionObserver* observer,
                                    SessionDescriptionInterface* desc);
virtual void SetRemoteDescription(SetSessionDescriptionObserver* observer,
                                     SessionDescriptionInterface* desc);

https://code.google.com/p/webrtc/source/browse/trunk/talk/app/webrtc/peerconnection.h#97

Hope this helps,
Emil

···

On 18.10.14, 17:36, Peter Mycue wrote:

Hello,

I am stuck at the last (i think) step in establishing an connection with
audio.

I have extended the webrtc to have xmpp support to connect to openfire
server. I have a mac jitsi client connect as well and it sets up a video
bridge and invites my ios app.

i handle the jingle session-accept, reply 'defintively accept the
session' now my mac jitsi client show i am connected. I need to take
this information now and establish a rtcpeerconnection and i can not
find anything that tells me what to do here.

I have been looking at this for two days and i am not getting closer. I
know i need to construct an SDP from the data in the jingle dialog but i
dont know what to do with it.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

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

--
https://jitsi.org


#3

I can not find instructions to get jitsi meet running on macosx. I have openfire and jitsivideobridge installed, configured, and working. How do i ad jitsi meet?

i also tried to get prosody for macosx but can not get past dependencies for expat ended up going around in circles trying to get all the lua parts installed and working and never succeeded.

It does sound like a simpler solution than what i am doing but there are still lots of pieces that i don't know how to deal with. I did get jitmeet working on redhat, however, the jitsi video bridge plugin fails with a java version incompatible with openfire.

if i do get jitmeet set up, how do i join a session from my ios app?

I know this is a lot of questions, i seem to be spending all of my time trying to get all sorts of components on the servers working together and little time actually working on my app.

Peter Mycue
pmycue@us.ibm.com
pmycue@gmail.com
704-626-9772

···

On Oct 18, 2014, at 11:45 AM, Emil Ivov <emcho@jitsi.org> wrote:

Hey Peter,

Just a couple of quick tips:

1. Rather than using Jitsi, try using Jitsi Meet. This would provide session descriptions that are compatible with the WebRTC stack.

2. Once you convert your XMPP to SDP (you can have a look at how strophe.jingle is doing this) The PeerConnection methods you would need to use with the SDP are:

virtual void CreateAnswer(CreateSessionDescriptionObserver* observer,
                           const MediaConstraintsInterface* constraints);

virtual void SetLocalDescription(SetSessionDescriptionObserver* observer,
                                  SessionDescriptionInterface* desc);
virtual void SetRemoteDescription(SetSessionDescriptionObserver* observer,
                                   SessionDescriptionInterface* desc);

https://code.google.com/p/webrtc/source/browse/trunk/talk/app/webrtc/peerconnection.h#97

Hope this helps,
Emil

On 18.10.14, 17:36, Peter Mycue wrote:

Hello,

I am stuck at the last (i think) step in establishing an connection with
audio.

I have extended the webrtc to have xmpp support to connect to openfire
server. I have a mac jitsi client connect as well and it sets up a video
bridge and invites my ios app.

i handle the jingle session-accept, reply 'defintively accept the
session' now my mac jitsi client show i am connected. I need to take
this information now and establish a rtcpeerconnection and i can not
find anything that tells me what to do here.

I have been looking at this for two days and i am not getting closer. I
know i need to construct an SDP from the data in the jingle dialog but i
dont know what to do with it.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

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

--
https://jitsi.org

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


#4

You can install Jitsi Meet on a server (installation on debian/ubuntu is currently easiest) and only run the clients (e.g. Chrome) on your machine.

Assuming you installed on example.com with MUC component conference.example.com, you would need to point a browser to http://jitsi-meet.example.com/someName and while this is running, have the IOS app join the "someName@conference.example.com" MUC. The javascript client will send an invite (a jingle session-initiate) as soon as someone enters the room.

Regards,
Boris

···

On 18/10/14 21:10, Peter Mycue wrote:

I can not find instructions to get jitsi meet running on macosx. I have
openfire and jitsivideobridge installed, configured, and working. How
do i ad jitsi meet?

i also tried to get prosody for macosx but can not get past dependencies
for expat ended up going around in circles trying to get all the lua
parts installed and working and never succeeded.

It does sound like a simpler solution than what i am doing but there are
still lots of pieces that i don't know how to deal with. I did get
jitmeet working on redhat, however, the jitsi video bridge plugin fails
with a java version incompatible with openfire.

if i do get jitmeet set up, how do i join a session from my ios app?


#5

i am still getting nowhere fast trying to make an SDP from an session-accept. Is there any reference on how to map these? when i look at strophe code for that, it does not seem to be building it from a session-initiate but already has it in nearly useable sdp form already unless i missing something, which at this point is likely. everything is starting to look the same.

If i try to use jitsi meet as my server, i still have configuration issues to get through before i can try it but once i am past those, how would i connect to that from an ios app. it expects a browser. I can use a webview in my app with the url to connect to jitsi meet, but then how do i get sdp and use it to create an rtcpeerconnection.

when i connect to appspot server, i get JSON structure that is used to get a google channel whos callbacks tie in to peerconnection

I know i am close, i just hope i can make the last few inches soon.

Peter Mycue
pmycue@us.ibm.com
pmycue@gmail.com
704-626-9772

···

On Oct 18, 2014, at 11:45 AM, Emil Ivov <emcho@jitsi.org> wrote:

Hey Peter,

Just a couple of quick tips:

1. Rather than using Jitsi, try using Jitsi Meet. This would provide session descriptions that are compatible with the WebRTC stack.

2. Once you convert your XMPP to SDP (you can have a look at how strophe.jingle is doing this) The PeerConnection methods you would need to use with the SDP are:

virtual void CreateAnswer(CreateSessionDescriptionObserver* observer,
                           const MediaConstraintsInterface* constraints);

virtual void SetLocalDescription(SetSessionDescriptionObserver* observer,
                                  SessionDescriptionInterface* desc);
virtual void SetRemoteDescription(SetSessionDescriptionObserver* observer,
                                   SessionDescriptionInterface* desc);

https://code.google.com/p/webrtc/source/browse/trunk/talk/app/webrtc/peerconnection.h#97

Hope this helps,
Emil

On 18.10.14, 17:36, Peter Mycue wrote:

Hello,

I am stuck at the last (i think) step in establishing an connection with
audio.

I have extended the webrtc to have xmpp support to connect to openfire
server. I have a mac jitsi client connect as well and it sets up a video
bridge and invites my ios app.

i handle the jingle session-accept, reply 'defintively accept the
session' now my mac jitsi client show i am connected. I need to take
this information now and establish a rtcpeerconnection and i can not
find anything that tells me what to do here.

I have been looking at this for two days and i am not getting closer. I
know i need to construct an SDP from the data in the jingle dialog but i
dont know what to do with it.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

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

--
https://jitsi.org

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


#6

Hey Peter,

i am still getting nowhere fast trying to make an SDP from an
session-accept. Is there any reference on how to map these?

No, not currently. Not a comprehensive one at least. Looking at what happens in Jitsi Meet is your best option right now.

when i
look at strophe code for that, it does not seem to be building it from a
session-initiate but already has it in nearly useable sdp form already
unless i missing something, which at this point is likely. everything
is starting to look the same.

I don't understand what you mean.

When you join a Jitsi Meet conference:

1. The focus sends Jingle XMPP to participants.
2. strophe.jingle takes that and turns it into SDP that it then feeds to the peer connection API (SetRemoteDescription). You need to do exactly the same thing.

3. The browser then creates SDP (CreateAnswer) that strophe.jingle takes and converts into XMPP. This, again, is exactly what you need to do.

If i try to use jitsi meet as my server, i still have configuration
issues to get through before i can try it but once i am past those, how
would i connect to that from an ios app. it expects a browser. I can
use a webview in my app with the url to connect to jitsi meet, but then
how do i get sdp and use it to create an rtcpeerconnection.

As Boris explained, if you are using Jitsi Meet, then you can have one browser join first. This would end up creating a Multi User Chat room (MUC) on the XMPP server.

You then get your XMPP iOS app to join the same MUC. This needs to happen over regular XMPP and no browser is necessary.

Once you do, you would get the Jingle XMPP I mentioned in point 1. above and you take it from there.

Emil

···

On 19.10.14, 22:00, Peter Mycue wrote:

when i connect to appspot server, i get JSON structure that is used to
get a google channel whos callbacks tie in to peerconnection

I know i am close, i just hope i can make the last few inches soon.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

On Oct 18, 2014, at 11:45 AM, Emil Ivov <emcho@jitsi.org > <mailto:emcho@jitsi.org>> wrote:

Hey Peter,

Just a couple of quick tips:

1. Rather than using Jitsi, try using Jitsi Meet. This would provide
session descriptions that are compatible with the WebRTC stack.

2. Once you convert your XMPP to SDP (you can have a look at how
strophe.jingle is doing this) The PeerConnection methods you would
need to use with the SDP are:

virtual void CreateAnswer(CreateSessionDescriptionObserver* observer,
                           const MediaConstraintsInterface* constraints);

virtual void SetLocalDescription(SetSessionDescriptionObserver* observer,
                                  SessionDescriptionInterface* desc);
virtual void SetRemoteDescription(SetSessionDescriptionObserver* observer,
                                   SessionDescriptionInterface* desc);

https://code.google.com/p/webrtc/source/browse/trunk/talk/app/webrtc/peerconnection.h#97

Hope this helps,
Emil

On 18.10.14, 17:36, Peter Mycue wrote:

Hello,

I am stuck at the last (i think) step in establishing an connection with
audio.

I have extended the webrtc to have xmpp support to connect to openfire
server. I have a mac jitsi client connect as well and it sets up a video
bridge and invites my ios app.

i handle the jingle session-accept, reply 'defintively accept the
session' now my mac jitsi client show i am connected. I need to take
this information now and establish a rtcpeerconnection and i can not
find anything that tells me what to do here.

I have been looking at this for two days and i am not getting closer. I
know i need to construct an SDP from the data in the jingle dialog but i
dont know what to do with it.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

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

--
https://jitsi.org

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

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

--
https://jitsi.org


#7

Thank you!

When i got the first message about using ofmeet instead of jitsi client it really made a lot more sense. I am now trying to get ofmeet to run. Since the jvb plugin wont launch on macosx, i have it manually launched from a terminal and it works fine but ofmeet does not seem accessible. there is an ofmeet directory, in /usr/local/openfire/plugins/jitsivideobridge/apps but i can not seem to connect to it.
HTTP ERROR 404

Problem accessing /jitsi/apps/ofmeet. Reason:

    Not Found

Powered by Jetty://

I assume that this is because i am not running jvb as a plugin, which sets up ofmeet when it is installed. is is possible to use ofmeet with openfire/jvb with jvb running from jvb.sh?

Peter Mycue
pmycue@us.ibm.com
pmycue@gmail.com
704-626-9772

···

On Oct 20, 2014, at 8:54 AM, Emil Ivov <emcho@jitsi.org> wrote:

Hey Peter,

On 19.10.14, 22:00, Peter Mycue wrote:

i am still getting nowhere fast trying to make an SDP from an
session-accept. Is there any reference on how to map these?

No, not currently. Not a comprehensive one at least. Looking at what happens in Jitsi Meet is your best option right now.

when i
look at strophe code for that, it does not seem to be building it from a
session-initiate but already has it in nearly useable sdp form already
unless i missing something, which at this point is likely. everything
is starting to look the same.

I don't understand what you mean.

When you join a Jitsi Meet conference:

1. The focus sends Jingle XMPP to participants.
2. strophe.jingle takes that and turns it into SDP that it then feeds to the peer connection API (SetRemoteDescription). You need to do exactly the same thing.

3. The browser then creates SDP (CreateAnswer) that strophe.jingle takes and converts into XMPP. This, again, is exactly what you need to do.

If i try to use jitsi meet as my server, i still have configuration
issues to get through before i can try it but once i am past those, how
would i connect to that from an ios app. it expects a browser. I can
use a webview in my app with the url to connect to jitsi meet, but then
how do i get sdp and use it to create an rtcpeerconnection.

As Boris explained, if you are using Jitsi Meet, then you can have one browser join first. This would end up creating a Multi User Chat room (MUC) on the XMPP server.

You then get your XMPP iOS app to join the same MUC. This needs to happen over regular XMPP and no browser is necessary.

Once you do, you would get the Jingle XMPP I mentioned in point 1. above and you take it from there.

Emil

when i connect to appspot server, i get JSON structure that is used to
get a google channel whos callbacks tie in to peerconnection

I know i am close, i just hope i can make the last few inches soon.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

On Oct 18, 2014, at 11:45 AM, Emil Ivov <emcho@jitsi.org >> <mailto:emcho@jitsi.org>> wrote:

Hey Peter,

Just a couple of quick tips:

1. Rather than using Jitsi, try using Jitsi Meet. This would provide
session descriptions that are compatible with the WebRTC stack.

2. Once you convert your XMPP to SDP (you can have a look at how
strophe.jingle is doing this) The PeerConnection methods you would
need to use with the SDP are:

virtual void CreateAnswer(CreateSessionDescriptionObserver* observer,
                          const MediaConstraintsInterface* constraints);

virtual void SetLocalDescription(SetSessionDescriptionObserver* observer,
                                 SessionDescriptionInterface* desc);
virtual void SetRemoteDescription(SetSessionDescriptionObserver* observer,
                                  SessionDescriptionInterface* desc);

https://code.google.com/p/webrtc/source/browse/trunk/talk/app/webrtc/peerconnection.h#97

Hope this helps,
Emil

On 18.10.14, 17:36, Peter Mycue wrote:

Hello,

I am stuck at the last (i think) step in establishing an connection with
audio.

I have extended the webrtc to have xmpp support to connect to openfire
server. I have a mac jitsi client connect as well and it sets up a video
bridge and invites my ios app.

i handle the jingle session-accept, reply 'defintively accept the
session' now my mac jitsi client show i am connected. I need to take
this information now and establish a rtcpeerconnection and i can not
find anything that tells me what to do here.

I have been looking at this for two days and i am not getting closer. I
know i need to construct an SDP from the data in the jingle dialog but i
dont know what to do with it.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

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

--
https://jitsi.org

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

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

--
https://jitsi.org

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


#8

Thank you!

When i got the first message about using ofmeet instead of jitsi client
it really made a lot more sense.

OK. Note however that while ofmeet is a fork of Jitsi Meet it is not maintained by this community so you'd have to take questions to the appropriate forum.

Did you go through all my answers from my previous mail? Was there anything you didn't understand?

Emil

···

On 20.10.14, 15:47, Peter Mycue wrote:

I am now trying to get ofmeet to run.
  Since the jvb plugin wont launch on macosx, i have it manually
launched from a terminal and it works fine but ofmeet does not seem
accessible. there is an ofmeet directory, in
/usr/local/openfire/plugins/jitsivideobridge/apps but i can not seem to
connect to it.

    HTTP ERROR 404

Problem accessing /jitsi/apps/ofmeet. Reason:

     Not Found

------------------------------------------------------------------------
/Powered by Jetty:///

I assume that this is because i am not running jvb as a plugin, which
sets up ofmeet when it is installed. is is possible to use ofmeet with
openfire/jvb with jvb running from jvb.sh?

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

On Oct 20, 2014, at 8:54 AM, Emil Ivov <emcho@jitsi.org > <mailto:emcho@jitsi.org>> wrote:

Hey Peter,

On 19.10.14, 22:00, Peter Mycue wrote:

i am still getting nowhere fast trying to make an SDP from an
session-accept. Is there any reference on how to map these?

No, not currently. Not a comprehensive one at least. Looking at what
happens in Jitsi Meet is your best option right now.

when i
look at strophe code for that, it does not seem to be building it from a
session-initiate but already has it in nearly useable sdp form already
unless i missing something, which at this point is likely. everything
is starting to look the same.

I don't understand what you mean.

When you join a Jitsi Meet conference:

1. The focus sends Jingle XMPP to participants.
2. strophe.jingle takes that and turns it into SDP that it then feeds
to the peer connection API (SetRemoteDescription). You need to do
exactly the same thing.

3. The browser then creates SDP (CreateAnswer) that strophe.jingle
takes and converts into XMPP. This, again, is exactly what you need to do.

If i try to use jitsi meet as my server, i still have configuration
issues to get through before i can try it but once i am past those, how
would i connect to that from an ios app. it expects a browser. I can
use a webview in my app with the url to connect to jitsi meet, but then
how do i get sdp and use it to create an rtcpeerconnection.

As Boris explained, if you are using Jitsi Meet, then you can have one
browser join first. This would end up creating a Multi User Chat room
(MUC) on the XMPP server.

You then get your XMPP iOS app to join the same MUC. This needs to
happen over regular XMPP and no browser is necessary.

Once you do, you would get the Jingle XMPP I mentioned in point 1.
above and you take it from there.

Emil

when i connect to appspot server, i get JSON structure that is used to
get a google channel whos callbacks tie in to peerconnection

I know i am close, i just hope i can make the last few inches soon.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com> <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com> <mailto:pmycue@gmail.com>
704-626-9772

On Oct 18, 2014, at 11:45 AM, Emil Ivov <emcho@jitsi.org >>> <mailto:emcho@jitsi.org> >>> <mailto:emcho@jitsi.org>> wrote:

Hey Peter,

Just a couple of quick tips:

1. Rather than using Jitsi, try using Jitsi Meet. This would provide
session descriptions that are compatible with the WebRTC stack.

2. Once you convert your XMPP to SDP (you can have a look at how
strophe.jingle is doing this) The PeerConnection methods you would
need to use with the SDP are:

virtual void CreateAnswer(CreateSessionDescriptionObserver* observer,
                          const MediaConstraintsInterface* constraints);

virtual void SetLocalDescription(SetSessionDescriptionObserver*
observer,
                                 SessionDescriptionInterface* desc);
virtual void SetRemoteDescription(SetSessionDescriptionObserver*
observer,
                                  SessionDescriptionInterface* desc);

https://code.google.com/p/webrtc/source/browse/trunk/talk/app/webrtc/peerconnection.h#97

Hope this helps,
Emil

On 18.10.14, 17:36, Peter Mycue wrote:

Hello,

I am stuck at the last (i think) step in establishing an connection
with
audio.

I have extended the webrtc to have xmpp support to connect to openfire
server. I have a mac jitsi client connect as well and it sets up a
video
bridge and invites my ios app.

i handle the jingle session-accept, reply 'defintively accept the
session' now my mac jitsi client show i am connected. I need to take
this information now and establish a rtcpeerconnection and i can not
find anything that tells me what to do here.

I have been looking at this for two days and i am not getting
closer. I
know i need to construct an SDP from the data in the jingle dialog
but i
dont know what to do with it.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

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

--
https://jitsi.org

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

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

--
https://jitsi.org

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

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

--
https://jitsi.org


#9

Hey Peter,

The bridge is just an XMPP component and it should work with any XMPP
server that supports XMPP components, including Openfire, of course.

I'm not sure how the ofmeet plug-in works so I can't help you with that,
but you don't really need it.

If you can't get Openfire to work, another option might be to run
prosody in a VM with some Linux distro.

Hope this helps,
George

···

On 20/10/2014 15:47, Peter Mycue wrote:

Thank you!

When i got the first message about using ofmeet instead of jitsi client
it really made a lot more sense. I am now trying to get ofmeet to run.
Since the jvb plugin wont launch on macosx, i have it manually launched
from a terminal and it works fine but ofmeet does not seem accessible.
there is an ofmeet directory,
in /usr/local/openfire/plugins/jitsivideobridge/apps but i can not seem
to connect to it.

    HTTP ERROR 404

Problem accessing /jitsi/apps/ofmeet. Reason:

    Not Found

------------------------------------------------------------------------
/Powered by Jetty:///

I assume that this is because i am not running jvb as a plugin, which
sets up ofmeet when it is installed. is is possible to use ofmeet with
openfire/jvb with jvb running from jvb.sh?

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

On Oct 20, 2014, at 8:54 AM, Emil Ivov <emcho@jitsi.org > <mailto:emcho@jitsi.org>> wrote:

Hey Peter,

On 19.10.14, 22:00, Peter Mycue wrote:

i am still getting nowhere fast trying to make an SDP from an
session-accept. Is there any reference on how to map these?

No, not currently. Not a comprehensive one at least. Looking at what
happens in Jitsi Meet is your best option right now.

when i
look at strophe code for that, it does not seem to be building it from a
session-initiate but already has it in nearly useable sdp form already
unless i missing something, which at this point is likely. everything
is starting to look the same.

I don't understand what you mean.

When you join a Jitsi Meet conference:

1. The focus sends Jingle XMPP to participants.
2. strophe.jingle takes that and turns it into SDP that it then feeds
to the peer connection API (SetRemoteDescription). You need to do
exactly the same thing.

3. The browser then creates SDP (CreateAnswer) that strophe.jingle
takes and converts into XMPP. This, again, is exactly what you need to do.

If i try to use jitsi meet as my server, i still have configuration
issues to get through before i can try it but once i am past those, how
would i connect to that from an ios app. it expects a browser. I can
use a webview in my app with the url to connect to jitsi meet, but then
how do i get sdp and use it to create an rtcpeerconnection.

As Boris explained, if you are using Jitsi Meet, then you can have one
browser join first. This would end up creating a Multi User Chat room
(MUC) on the XMPP server.

You then get your XMPP iOS app to join the same MUC. This needs to
happen over regular XMPP and no browser is necessary.

Once you do, you would get the Jingle XMPP I mentioned in point 1.
above and you take it from there.

Emil

when i connect to appspot server, i get JSON structure that is used to
get a google channel whos callbacks tie in to peerconnection

I know i am close, i just hope i can make the last few inches soon.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com> <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com> <mailto:pmycue@gmail.com>
704-626-9772

On Oct 18, 2014, at 11:45 AM, Emil Ivov <emcho@jitsi.org >>> <mailto:emcho@jitsi.org> >>> <mailto:emcho@jitsi.org>> wrote:

Hey Peter,

Just a couple of quick tips:

1. Rather than using Jitsi, try using Jitsi Meet. This would provide
session descriptions that are compatible with the WebRTC stack.

2. Once you convert your XMPP to SDP (you can have a look at how
strophe.jingle is doing this) The PeerConnection methods you would
need to use with the SDP are:

virtual void CreateAnswer(CreateSessionDescriptionObserver* observer,
                          const MediaConstraintsInterface* constraints);

virtual void SetLocalDescription(SetSessionDescriptionObserver*
observer,
                                 SessionDescriptionInterface* desc);
virtual void SetRemoteDescription(SetSessionDescriptionObserver*
observer,
                                  SessionDescriptionInterface* desc);

https://code.google.com/p/webrtc/source/browse/trunk/talk/app/webrtc/peerconnection.h#97

Hope this helps,
Emil

On 18.10.14, 17:36, Peter Mycue wrote:

Hello,

I am stuck at the last (i think) step in establishing an connection
with
audio.

I have extended the webrtc to have xmpp support to connect to openfire
server. I have a mac jitsi client connect as well and it sets up a
video
bridge and invites my ios app.

i handle the jingle session-accept, reply 'defintively accept the
session' now my mac jitsi client show i am connected. I need to take
this information now and establish a rtcpeerconnection and i can not
find anything that tells me what to do here.

I have been looking at this for two days and i am not getting
closer. I
know i need to construct an SDP from the data in the jingle dialog
but i
dont know what to do with it.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

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

--
https://jitsi.org

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

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

--
https://jitsi.org

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

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


#10

Thank you,

i am trying to set up prosody as well, i did finally get ofmeet/openfire/jitsivb setup and running/working on my windows 8 machine. i just usually avoid windows whenever possible.

i am just now trying the next steps again. inching forward....

Peter Mycue
pmycue@us.ibm.com
pmycue@gmail.com
704-626-9772

···

On Oct 20, 2014, at 10:37 AM, George Politis <gp@jitsi.org> wrote:

Hey Peter,

The bridge is just an XMPP component and it should work with any XMPP
server that supports XMPP components, including Openfire, of course.

I'm not sure how the ofmeet plug-in works so I can't help you with that,
but you don't really need it.

If you can't get Openfire to work, another option might be to run
prosody in a VM with some Linux distro.

Hope this helps,
George

On 20/10/2014 15:47, Peter Mycue wrote:

Thank you!

When i got the first message about using ofmeet instead of jitsi client
it really made a lot more sense. I am now trying to get ofmeet to run.
Since the jvb plugin wont launch on macosx, i have it manually launched
from a terminal and it works fine but ofmeet does not seem accessible.
there is an ofmeet directory,
in /usr/local/openfire/plugins/jitsivideobridge/apps but i can not seem
to connect to it.

   HTTP ERROR 404

Problem accessing /jitsi/apps/ofmeet. Reason:

   Not Found

------------------------------------------------------------------------
/Powered by Jetty:///

I assume that this is because i am not running jvb as a plugin, which
sets up ofmeet when it is installed. is is possible to use ofmeet with
openfire/jvb with jvb running from jvb.sh?

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

On Oct 20, 2014, at 8:54 AM, Emil Ivov <emcho@jitsi.org >> <mailto:emcho@jitsi.org>> wrote:

Hey Peter,

On 19.10.14, 22:00, Peter Mycue wrote:

i am still getting nowhere fast trying to make an SDP from an
session-accept. Is there any reference on how to map these?

No, not currently. Not a comprehensive one at least. Looking at what
happens in Jitsi Meet is your best option right now.

when i
look at strophe code for that, it does not seem to be building it from a
session-initiate but already has it in nearly useable sdp form already
unless i missing something, which at this point is likely. everything
is starting to look the same.

I don't understand what you mean.

When you join a Jitsi Meet conference:

1. The focus sends Jingle XMPP to participants.
2. strophe.jingle takes that and turns it into SDP that it then feeds
to the peer connection API (SetRemoteDescription). You need to do
exactly the same thing.

3. The browser then creates SDP (CreateAnswer) that strophe.jingle
takes and converts into XMPP. This, again, is exactly what you need to do.

If i try to use jitsi meet as my server, i still have configuration
issues to get through before i can try it but once i am past those, how
would i connect to that from an ios app. it expects a browser. I can
use a webview in my app with the url to connect to jitsi meet, but then
how do i get sdp and use it to create an rtcpeerconnection.

As Boris explained, if you are using Jitsi Meet, then you can have one
browser join first. This would end up creating a Multi User Chat room
(MUC) on the XMPP server.

You then get your XMPP iOS app to join the same MUC. This needs to
happen over regular XMPP and no browser is necessary.

Once you do, you would get the Jingle XMPP I mentioned in point 1.
above and you take it from there.

Emil

when i connect to appspot server, i get JSON structure that is used to
get a google channel whos callbacks tie in to peerconnection

I know i am close, i just hope i can make the last few inches soon.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com> <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com> <mailto:pmycue@gmail.com>
704-626-9772

On Oct 18, 2014, at 11:45 AM, Emil Ivov <emcho@jitsi.org >>>> <mailto:emcho@jitsi.org> >>>> <mailto:emcho@jitsi.org>> wrote:

Hey Peter,

Just a couple of quick tips:

1. Rather than using Jitsi, try using Jitsi Meet. This would provide
session descriptions that are compatible with the WebRTC stack.

2. Once you convert your XMPP to SDP (you can have a look at how
strophe.jingle is doing this) The PeerConnection methods you would
need to use with the SDP are:

virtual void CreateAnswer(CreateSessionDescriptionObserver* observer,
                         const MediaConstraintsInterface* constraints);

virtual void SetLocalDescription(SetSessionDescriptionObserver*
observer,
                                SessionDescriptionInterface* desc);
virtual void SetRemoteDescription(SetSessionDescriptionObserver*
observer,
                                 SessionDescriptionInterface* desc);

https://code.google.com/p/webrtc/source/browse/trunk/talk/app/webrtc/peerconnection.h#97

Hope this helps,
Emil

On 18.10.14, 17:36, Peter Mycue wrote:

Hello,

I am stuck at the last (i think) step in establishing an connection
with
audio.

I have extended the webrtc to have xmpp support to connect to openfire
server. I have a mac jitsi client connect as well and it sets up a
video
bridge and invites my ios app.

i handle the jingle session-accept, reply 'defintively accept the
session' now my mac jitsi client show i am connected. I need to take
this information now and establish a rtcpeerconnection and i can not
find anything that tells me what to do here.

I have been looking at this for two days and i am not getting
closer. I
know i need to construct an SDP from the data in the jingle dialog
but i
dont know what to do with it.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

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

--
https://jitsi.org

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

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

--
https://jitsi.org

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

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

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


#11

I do now have openfire/jvb/ofmeet set up and running on my windows 8 machine.

Yes, what you have been telling makes sense, i am still new to ALL of this so it often takes time to sink in but i am now moving forward again.

Peter Mycue
pmycue@us.ibm.com
pmycue@gmail.com
704-626-9772

···

On Oct 20, 2014, at 10:36 AM, Emil Ivov <emcho@jitsi.org> wrote:

On 20.10.14, 15:47, Peter Mycue wrote:

Thank you!

When i got the first message about using ofmeet instead of jitsi client
it really made a lot more sense.

OK. Note however that while ofmeet is a fork of Jitsi Meet it is not maintained by this community so you'd have to take questions to the appropriate forum.

Did you go through all my answers from my previous mail? Was there anything you didn't understand?

Emil

I am now trying to get ofmeet to run.
Since the jvb plugin wont launch on macosx, i have it manually
launched from a terminal and it works fine but ofmeet does not seem
accessible. there is an ofmeet directory, in
/usr/local/openfire/plugins/jitsivideobridge/apps but i can not seem to
connect to it.

   HTTP ERROR 404

Problem accessing /jitsi/apps/ofmeet. Reason:

    Not Found

------------------------------------------------------------------------
/Powered by Jetty:///

I assume that this is because i am not running jvb as a plugin, which
sets up ofmeet when it is installed. is is possible to use ofmeet with
openfire/jvb with jvb running from jvb.sh?

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

On Oct 20, 2014, at 8:54 AM, Emil Ivov <emcho@jitsi.org >> <mailto:emcho@jitsi.org>> wrote:

Hey Peter,

On 19.10.14, 22:00, Peter Mycue wrote:

i am still getting nowhere fast trying to make an SDP from an
session-accept. Is there any reference on how to map these?

No, not currently. Not a comprehensive one at least. Looking at what
happens in Jitsi Meet is your best option right now.

when i
look at strophe code for that, it does not seem to be building it from a
session-initiate but already has it in nearly useable sdp form already
unless i missing something, which at this point is likely. everything
is starting to look the same.

I don't understand what you mean.

When you join a Jitsi Meet conference:

1. The focus sends Jingle XMPP to participants.
2. strophe.jingle takes that and turns it into SDP that it then feeds
to the peer connection API (SetRemoteDescription). You need to do
exactly the same thing.

3. The browser then creates SDP (CreateAnswer) that strophe.jingle
takes and converts into XMPP. This, again, is exactly what you need to do.

If i try to use jitsi meet as my server, i still have configuration
issues to get through before i can try it but once i am past those, how
would i connect to that from an ios app. it expects a browser. I can
use a webview in my app with the url to connect to jitsi meet, but then
how do i get sdp and use it to create an rtcpeerconnection.

As Boris explained, if you are using Jitsi Meet, then you can have one
browser join first. This would end up creating a Multi User Chat room
(MUC) on the XMPP server.

You then get your XMPP iOS app to join the same MUC. This needs to
happen over regular XMPP and no browser is necessary.

Once you do, you would get the Jingle XMPP I mentioned in point 1.
above and you take it from there.

Emil

when i connect to appspot server, i get JSON structure that is used to
get a google channel whos callbacks tie in to peerconnection

I know i am close, i just hope i can make the last few inches soon.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com> <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com> <mailto:pmycue@gmail.com>
704-626-9772

On Oct 18, 2014, at 11:45 AM, Emil Ivov <emcho@jitsi.org >>>> <mailto:emcho@jitsi.org> >>>> <mailto:emcho@jitsi.org>> wrote:

Hey Peter,

Just a couple of quick tips:

1. Rather than using Jitsi, try using Jitsi Meet. This would provide
session descriptions that are compatible with the WebRTC stack.

2. Once you convert your XMPP to SDP (you can have a look at how
strophe.jingle is doing this) The PeerConnection methods you would
need to use with the SDP are:

virtual void CreateAnswer(CreateSessionDescriptionObserver* observer,
                         const MediaConstraintsInterface* constraints);

virtual void SetLocalDescription(SetSessionDescriptionObserver*
observer,
                                SessionDescriptionInterface* desc);
virtual void SetRemoteDescription(SetSessionDescriptionObserver*
observer,
                                 SessionDescriptionInterface* desc);

https://code.google.com/p/webrtc/source/browse/trunk/talk/app/webrtc/peerconnection.h#97

Hope this helps,
Emil

On 18.10.14, 17:36, Peter Mycue wrote:

Hello,

I am stuck at the last (i think) step in establishing an connection
with
audio.

I have extended the webrtc to have xmpp support to connect to openfire
server. I have a mac jitsi client connect as well and it sets up a
video
bridge and invites my ios app.

i handle the jingle session-accept, reply 'defintively accept the
session' now my mac jitsi client show i am connected. I need to take
this information now and establish a rtcpeerconnection and i can not
find anything that tells me what to do here.

I have been looking at this for two days and i am not getting
closer. I
know i need to construct an SDP from the data in the jingle dialog
but i
dont know what to do with it.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

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

--
https://jitsi.org

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

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

--
https://jitsi.org

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

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

--
https://jitsi.org

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


#12

It sounds like you life would be a lot easier if you just get an
Ubuntu VM and run prosody and JVB there.

Also, if you look through the archives of this list you will find
instructions on making Jitsi Meet work with openfire.

···

On Mon, Oct 20, 2014 at 4:44 PM, Peter Mycue <pmycue@gmail.com> wrote:

I do now have openfire/jvb/ofmeet set up and running on my windows 8
machine.

Yes, what you have been telling makes sense, i am still new to ALL of this
so it often takes time to sink in but i am now moving forward again.

Peter Mycue
pmycue@us.ibm.com
pmycue@gmail.com
704-626-9772

On Oct 20, 2014, at 10:36 AM, Emil Ivov <emcho@jitsi.org> wrote:

On 20.10.14, 15:47, Peter Mycue wrote:

Thank you!

When i got the first message about using ofmeet instead of jitsi client
it really made a lot more sense.

OK. Note however that while ofmeet is a fork of Jitsi Meet it is not
maintained by this community so you'd have to take questions to the
appropriate forum.

Did you go through all my answers from my previous mail? Was there anything
you didn't understand?

Emil

I am now trying to get ofmeet to run.
Since the jvb plugin wont launch on macosx, i have it manually
launched from a terminal and it works fine but ofmeet does not seem
accessible. there is an ofmeet directory, in
/usr/local/openfire/plugins/jitsivideobridge/apps but i can not seem to
connect to it.

   HTTP ERROR 404

Problem accessing /jitsi/apps/ofmeet. Reason:

    Not Found

------------------------------------------------------------------------
/Powered by Jetty:///

I assume that this is because i am not running jvb as a plugin, which
sets up ofmeet when it is installed. is is possible to use ofmeet with
openfire/jvb with jvb running from jvb.sh?

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

On Oct 20, 2014, at 8:54 AM, Emil Ivov <emcho@jitsi.org > <mailto:emcho@jitsi.org>> wrote:

Hey Peter,

On 19.10.14, 22:00, Peter Mycue wrote:

i am still getting nowhere fast trying to make an SDP from an
session-accept. Is there any reference on how to map these?

No, not currently. Not a comprehensive one at least. Looking at what
happens in Jitsi Meet is your best option right now.

when i
look at strophe code for that, it does not seem to be building it from a
session-initiate but already has it in nearly useable sdp form already
unless i missing something, which at this point is likely. everything
is starting to look the same.

I don't understand what you mean.

When you join a Jitsi Meet conference:

1. The focus sends Jingle XMPP to participants.
2. strophe.jingle takes that and turns it into SDP that it then feeds
to the peer connection API (SetRemoteDescription). You need to do
exactly the same thing.

3. The browser then creates SDP (CreateAnswer) that strophe.jingle
takes and converts into XMPP. This, again, is exactly what you need to do.

If i try to use jitsi meet as my server, i still have configuration
issues to get through before i can try it but once i am past those, how
would i connect to that from an ios app. it expects a browser. I can
use a webview in my app with the url to connect to jitsi meet, but then
how do i get sdp and use it to create an rtcpeerconnection.

As Boris explained, if you are using Jitsi Meet, then you can have one
browser join first. This would end up creating a Multi User Chat room
(MUC) on the XMPP server.

You then get your XMPP iOS app to join the same MUC. This needs to
happen over regular XMPP and no browser is necessary.

Once you do, you would get the Jingle XMPP I mentioned in point 1.
above and you take it from there.

Emil

when i connect to appspot server, i get JSON structure that is used to
get a google channel whos callbacks tie in to peerconnection

I know i am close, i just hope i can make the last few inches soon.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com> <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com> <mailto:pmycue@gmail.com>
704-626-9772

On Oct 18, 2014, at 11:45 AM, Emil Ivov <emcho@jitsi.org > <mailto:emcho@jitsi.org> > <mailto:emcho@jitsi.org>> wrote:

Hey Peter,

Just a couple of quick tips:

1. Rather than using Jitsi, try using Jitsi Meet. This would provide
session descriptions that are compatible with the WebRTC stack.

2. Once you convert your XMPP to SDP (you can have a look at how
strophe.jingle is doing this) The PeerConnection methods you would
need to use with the SDP are:

virtual void CreateAnswer(CreateSessionDescriptionObserver* observer,
                         const MediaConstraintsInterface* constraints);

virtual void SetLocalDescription(SetSessionDescriptionObserver*
observer,
                                SessionDescriptionInterface* desc);
virtual void SetRemoteDescription(SetSessionDescriptionObserver*
observer,
                                 SessionDescriptionInterface* desc);

https://code.google.com/p/webrtc/source/browse/trunk/talk/app/webrtc/peerconnection.h#97

Hope this helps,
Emil

On 18.10.14, 17:36, Peter Mycue wrote:

Hello,

I am stuck at the last (i think) step in establishing an connection
with
audio.

I have extended the webrtc to have xmpp support to connect to openfire
server. I have a mac jitsi client connect as well and it sets up a
video
bridge and invites my ios app.

i handle the jingle session-accept, reply 'defintively accept the
session' now my mac jitsi client show i am connected. I need to take
this information now and establish a rtcpeerconnection and i can not
find anything that tells me what to do here.

I have been looking at this for two days and i am not getting
closer. I
know i need to construct an SDP from the data in the jingle dialog
but i
dont know what to do with it.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

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

--
https://jitsi.org

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

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

--
https://jitsi.org

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

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

--
https://jitsi.org

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

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

--
https://jitsi.org


#13

There:

http://lists.jitsi.org/pipermail/dev/2014-February/019946.html

···

On Mon, Oct 20, 2014 at 4:55 PM, Emil Ivov <emcho@jitsi.org> wrote:

It sounds like you life would be a lot easier if you just get an
Ubuntu VM and run prosody and JVB there.

Also, if you look through the archives of this list you will find
instructions on making Jitsi Meet work with openfire.

On Mon, Oct 20, 2014 at 4:44 PM, Peter Mycue <pmycue@gmail.com> wrote:

I do now have openfire/jvb/ofmeet set up and running on my windows 8
machine.

Yes, what you have been telling makes sense, i am still new to ALL of this
so it often takes time to sink in but i am now moving forward again.

Peter Mycue
pmycue@us.ibm.com
pmycue@gmail.com
704-626-9772

On Oct 20, 2014, at 10:36 AM, Emil Ivov <emcho@jitsi.org> wrote:

On 20.10.14, 15:47, Peter Mycue wrote:

Thank you!

When i got the first message about using ofmeet instead of jitsi client
it really made a lot more sense.

OK. Note however that while ofmeet is a fork of Jitsi Meet it is not
maintained by this community so you'd have to take questions to the
appropriate forum.

Did you go through all my answers from my previous mail? Was there anything
you didn't understand?

Emil

I am now trying to get ofmeet to run.
Since the jvb plugin wont launch on macosx, i have it manually
launched from a terminal and it works fine but ofmeet does not seem
accessible. there is an ofmeet directory, in
/usr/local/openfire/plugins/jitsivideobridge/apps but i can not seem to
connect to it.

   HTTP ERROR 404

Problem accessing /jitsi/apps/ofmeet. Reason:

    Not Found

------------------------------------------------------------------------
/Powered by Jetty:///

I assume that this is because i am not running jvb as a plugin, which
sets up ofmeet when it is installed. is is possible to use ofmeet with
openfire/jvb with jvb running from jvb.sh?

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

On Oct 20, 2014, at 8:54 AM, Emil Ivov <emcho@jitsi.org >> <mailto:emcho@jitsi.org>> wrote:

Hey Peter,

On 19.10.14, 22:00, Peter Mycue wrote:

i am still getting nowhere fast trying to make an SDP from an
session-accept. Is there any reference on how to map these?

No, not currently. Not a comprehensive one at least. Looking at what
happens in Jitsi Meet is your best option right now.

when i
look at strophe code for that, it does not seem to be building it from a
session-initiate but already has it in nearly useable sdp form already
unless i missing something, which at this point is likely. everything
is starting to look the same.

I don't understand what you mean.

When you join a Jitsi Meet conference:

1. The focus sends Jingle XMPP to participants.
2. strophe.jingle takes that and turns it into SDP that it then feeds
to the peer connection API (SetRemoteDescription). You need to do
exactly the same thing.

3. The browser then creates SDP (CreateAnswer) that strophe.jingle
takes and converts into XMPP. This, again, is exactly what you need to do.

If i try to use jitsi meet as my server, i still have configuration
issues to get through before i can try it but once i am past those, how
would i connect to that from an ios app. it expects a browser. I can
use a webview in my app with the url to connect to jitsi meet, but then
how do i get sdp and use it to create an rtcpeerconnection.

As Boris explained, if you are using Jitsi Meet, then you can have one
browser join first. This would end up creating a Multi User Chat room
(MUC) on the XMPP server.

You then get your XMPP iOS app to join the same MUC. This needs to
happen over regular XMPP and no browser is necessary.

Once you do, you would get the Jingle XMPP I mentioned in point 1.
above and you take it from there.

Emil

when i connect to appspot server, i get JSON structure that is used to
get a google channel whos callbacks tie in to peerconnection

I know i am close, i just hope i can make the last few inches soon.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com> <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com> <mailto:pmycue@gmail.com>
704-626-9772

On Oct 18, 2014, at 11:45 AM, Emil Ivov <emcho@jitsi.org >> <mailto:emcho@jitsi.org> >> <mailto:emcho@jitsi.org>> wrote:

Hey Peter,

Just a couple of quick tips:

1. Rather than using Jitsi, try using Jitsi Meet. This would provide
session descriptions that are compatible with the WebRTC stack.

2. Once you convert your XMPP to SDP (you can have a look at how
strophe.jingle is doing this) The PeerConnection methods you would
need to use with the SDP are:

virtual void CreateAnswer(CreateSessionDescriptionObserver* observer,
                         const MediaConstraintsInterface* constraints);

virtual void SetLocalDescription(SetSessionDescriptionObserver*
observer,
                                SessionDescriptionInterface* desc);
virtual void SetRemoteDescription(SetSessionDescriptionObserver*
observer,
                                 SessionDescriptionInterface* desc);

https://code.google.com/p/webrtc/source/browse/trunk/talk/app/webrtc/peerconnection.h#97

Hope this helps,
Emil

On 18.10.14, 17:36, Peter Mycue wrote:

Hello,

I am stuck at the last (i think) step in establishing an connection
with
audio.

I have extended the webrtc to have xmpp support to connect to openfire
server. I have a mac jitsi client connect as well and it sets up a
video
bridge and invites my ios app.

i handle the jingle session-accept, reply 'defintively accept the
session' now my mac jitsi client show i am connected. I need to take
this information now and establish a rtcpeerconnection and i can not
find anything that tells me what to do here.

I have been looking at this for two days and i am not getting
closer. I
know i need to construct an SDP from the data in the jingle dialog
but i
dont know what to do with it.

Peter Mycue
pmycue@us.ibm.com <mailto:pmycue@us.ibm.com>
pmycue@gmail.com <mailto:pmycue@gmail.com>
704-626-9772

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

--
https://jitsi.org

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

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

--
https://jitsi.org

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

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

--
https://jitsi.org

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

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

--
https://jitsi.org

--
https://jitsi.org