Re: [Telepathy] ANNOUNCE: telepathy-rakia 0.7.4

2012-05-14 Thread Mystilleef
On Sat, May 12, 2012 at 6:28 PM, Olivier Crête
olivier.cr...@collabora.com wrote:
 Hi,

 For the media part, the telepathy-farstream code is the same, but for the 
 client part, you have to request a Call1 channel instead of a StreamedMedia 
 channel. And so you have to use different APIs there. The new Call1 API 
 should be much easier to use, no need to mess around with the Group interface 
 for example.

 Olivier

Hello,

I can't get the new Call1 API to make outgoing/incoming SIP
calls. Maybe I don't know how to use the new API.

I'm having 2 problems.

1) For outgoing calls, calling TpCallChannel.accept
transitions the channel's state from Pending_Initiator to
Initialised. How do I get the channel's state to
Accepted and Active? The docs say rakia is supposed to
do this automatically after the accept method is called. So
far, I'm having no luck. I'm using telepathy-rakia-0.7.4 on
Fedora rawhide.

2) The Farstream TfChannel created from TpCallChannel does
not emit signals for media streaming. In particular, fs-
conference-added and content-added do not get emitted.
I'm not sure if this is related to issue 1 or if this is a
bug.

I appreciate any help or clues.

Thanks
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] ANNOUNCE: telepathy-rakia 0.7.4

2012-05-14 Thread Olivier Crête
Hi

On Mon, 2012-05-14 at 11:43 -0400, Mystilleef wrote:
 1) For outgoing calls, calling TpCallChannel.accept
 transitions the channel's state from Pending_Initiator to
 Initialised. How do I get the channel's state to
 Accepted and Active? The docs say rakia is supposed to
 do this automatically after the accept method is called. So
 far, I'm having no luck. I'm using telepathy-rakia-0.7.4 on
 Fedora rawhide.

For outgoing calls, it goes to ACCEPTED/ACTIVE when the other side
accepts the call. This is probably related to the next problem as it
won't send the request to the other side before getting the local codecs
and candidates.

 2) The Farstream TfChannel created from TpCallChannel does
 not emit signals for media streaming. In particular, fs-
 conference-added and content-added do not get emitted.
 I'm not sure if this is related to issue 1 or if this is a
 bug.

This is strange... Look at the output of dbus-monitor maybe...

-- 
Olivier Crête
olivier.cr...@collabora.com


signature.asc
Description: This is a digitally signed message part
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] ANNOUNCE: telepathy-rakia 0.7.4

2012-05-14 Thread Mystilleef
On Mon, May 14, 2012 at 11:50 AM, Olivier Crête
olivier.cr...@collabora.com wrote:
 Hi

 On Mon, 2012-05-14 at 11:43 -0400, Mystilleef wrote:
 1) For outgoing calls, calling TpCallChannel.accept
 transitions the channel's state from Pending_Initiator to
 Initialised. How do I get the channel's state to
 Accepted and Active? The docs say rakia is supposed to
 do this automatically after the accept method is called. So
 far, I'm having no luck. I'm using telepathy-rakia-0.7.4 on
 Fedora rawhide.

 For outgoing calls, it goes to ACCEPTED/ACTIVE when the other side
 accepts the call. This is probably related to the next problem as it
 won't send the request to the other side before getting the local codecs
 and candidates.

 2) The Farstream TfChannel created from TpCallChannel does
 not emit signals for media streaming. In particular, fs-
 conference-added and content-added do not get emitted.
 I'm not sure if this is related to issue 1 or if this is a
 bug.

 This is strange... Look at the output of dbus-monitor maybe...

 --
 Olivier Crête
 olivier.cr...@collabora.com

I've extracted the sofiasip messages going through D-Bus when I try to
make a call.

http://pastebin.com/C5pH8R8m

It appears that the Call1 Stream media interface emits a
ReceivingStateChanged signal. However nothing happen in tp-farstream
as far as I can tell.

Here's what my tp-farstream media streaming code looks like.

http://pastebin.com/gXbtjKZZ
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] ANNOUNCE: telepathy-rakia 0.7.4

2012-05-13 Thread Mystilleef
Aha, cool thank you.

On Sat, May 12, 2012 at 6:28 PM, Olivier Crête
olivier.cr...@collabora.com wrote:
 Hi,

 For the media part, the telepathy-farstream code is the same, but for the 
 client part, you have to request a Call1 channel instead of a StreamedMedia 
 channel. And so you have to use different APIs there. The new Call1 API 
 should be much easier to use, no need to mess around with the Group interface 
 for example.

 Olivier

 Mystilleef mystill...@gmail.com wrote:

With regards to using the new Call API, do I need to adjust my code
with telepathy-farstream, or will my old code just work fine?

On Tue, May 8, 2012 at 8:03 PM, Brian Pepple
bpep...@fedoraproject.org wrote:
 On Tue, 2012-05-08 at 13:07 -0400, Olivier Crête wrote:
 Telepathy-Rakia development release 0.7.4, the Call Me Maybe
 release, is now available.

 If you are using GNOME 3.4, please ship this release, as calls will
not
 work with older releases.

 But be aware that there is one remaining problem, sometimes SIP
servers
 stop forwarding call to us. I am unable to reproduce it with any SIP
 server that is under my control, so I don't know what happens, any
help
 is appreciated.

 Does tp-rakia have a component to file bugs against at
freedesktop.org?
 Looks like the latest release has a DSO Linking bug that causes the
 build to fail. Here's a snippet from the build log.

 snip
 /usr/bin/ld: ./.libs/librakia-convenience.a(call-stream.o): undefined
 reference to symbol 'g_inet_address_new_from_string'
 /usr/bin/ld: note: 'g_inet_address_new_from_string' is defined in
 DSO /lib64/libgio-2.0.so.0 so try adding it to the linker command
line
 /lib64/libgio-2.0.so.0: could not read symbols: Invalid operation
 collect2: error: ld returned 1 exit status
 make[3]: *** [telepathy-rakia] Error 1
 make[3]: *** Waiting for unfinished jobs
 /usr/bin/ld: ./.libs/librakia-convenience.a(call-stream.o): undefined
 reference to symbol 'g_inet_address_new_from_string'
 /usr/bin/ld: note: 'g_inet_address_new_from_string' is defined in
 DSO /lib64/libgio-2.0.so.0 so try adding it to the linker command
line
 /lib64/libgio-2.0.so.0: could not read symbols: Invalid operation
 collect2: error: ld returned 1 exit status
 /snip

 If I have a little free time tomorrow, I'll see if I can whip up a
quick
 patch to fix this.

 Later,
 /B
 --
 Brian Pepple bpep...@fedoraproject.org

 https://fedoraproject.org/wiki/User:Bpepple
 gpg --keyserver pgp.mit.edu --recv-keys 810CC15E
 BD5E 6F9E 8688 E668 8F5B  CBDE 326A E936 810C C15E

 ___
 telepathy mailing list
 telepathy@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/telepathy


 --
 Sent from my Android phone with K-9 Mail. Please excuse my brevity.
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] ANNOUNCE: telepathy-rakia 0.7.4

2012-05-12 Thread Mystilleef
With regards to using the new Call API, do I need to adjust my code
with telepathy-farstream, or will my old code just work fine?

On Tue, May 8, 2012 at 8:03 PM, Brian Pepple bpep...@fedoraproject.org wrote:
 On Tue, 2012-05-08 at 13:07 -0400, Olivier Crête wrote:
 Telepathy-Rakia development release 0.7.4, the Call Me Maybe
 release, is now available.

 If you are using GNOME 3.4, please ship this release, as calls will not
 work with older releases.

 But be aware that there is one remaining problem, sometimes SIP servers
 stop forwarding call to us. I am unable to reproduce it with any SIP
 server that is under my control, so I don't know what happens, any help
 is appreciated.

 Does tp-rakia have a component to file bugs against at freedesktop.org?
 Looks like the latest release has a DSO Linking bug that causes the
 build to fail. Here's a snippet from the build log.

 snip
 /usr/bin/ld: ./.libs/librakia-convenience.a(call-stream.o): undefined
 reference to symbol 'g_inet_address_new_from_string'
 /usr/bin/ld: note: 'g_inet_address_new_from_string' is defined in
 DSO /lib64/libgio-2.0.so.0 so try adding it to the linker command line
 /lib64/libgio-2.0.so.0: could not read symbols: Invalid operation
 collect2: error: ld returned 1 exit status
 make[3]: *** [telepathy-rakia] Error 1
 make[3]: *** Waiting for unfinished jobs
 /usr/bin/ld: ./.libs/librakia-convenience.a(call-stream.o): undefined
 reference to symbol 'g_inet_address_new_from_string'
 /usr/bin/ld: note: 'g_inet_address_new_from_string' is defined in
 DSO /lib64/libgio-2.0.so.0 so try adding it to the linker command line
 /lib64/libgio-2.0.so.0: could not read symbols: Invalid operation
 collect2: error: ld returned 1 exit status
 /snip

 If I have a little free time tomorrow, I'll see if I can whip up a quick
 patch to fix this.

 Later,
 /B
 --
 Brian Pepple bpep...@fedoraproject.org

 https://fedoraproject.org/wiki/User:Bpepple
 gpg --keyserver pgp.mit.edu --recv-keys 810CC15E
 BD5E 6F9E 8688 E668 8F5B  CBDE 326A E936 810C C15E

 ___
 telepathy mailing list
 telepathy@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/telepathy

___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] ANNOUNCE: telepathy-rakia 0.7.4

2012-05-12 Thread Olivier Crête
Hi, 

For the media part, the telepathy-farstream code is the same, but for the 
client part, you have to request a Call1 channel instead of a StreamedMedia 
channel. And so you have to use different APIs there. The new Call1 API should 
be much easier to use, no need to mess around with the Group interface for 
example. 

Olivier

Mystilleef mystill...@gmail.com wrote:

With regards to using the new Call API, do I need to adjust my code
with telepathy-farstream, or will my old code just work fine?

On Tue, May 8, 2012 at 8:03 PM, Brian Pepple
bpep...@fedoraproject.org wrote:
 On Tue, 2012-05-08 at 13:07 -0400, Olivier Crête wrote:
 Telepathy-Rakia development release 0.7.4, the Call Me Maybe
 release, is now available.

 If you are using GNOME 3.4, please ship this release, as calls will
not
 work with older releases.

 But be aware that there is one remaining problem, sometimes SIP
servers
 stop forwarding call to us. I am unable to reproduce it with any SIP
 server that is under my control, so I don't know what happens, any
help
 is appreciated.

 Does tp-rakia have a component to file bugs against at
freedesktop.org?
 Looks like the latest release has a DSO Linking bug that causes the
 build to fail. Here's a snippet from the build log.

 snip
 /usr/bin/ld: ./.libs/librakia-convenience.a(call-stream.o): undefined
 reference to symbol 'g_inet_address_new_from_string'
 /usr/bin/ld: note: 'g_inet_address_new_from_string' is defined in
 DSO /lib64/libgio-2.0.so.0 so try adding it to the linker command
line
 /lib64/libgio-2.0.so.0: could not read symbols: Invalid operation
 collect2: error: ld returned 1 exit status
 make[3]: *** [telepathy-rakia] Error 1
 make[3]: *** Waiting for unfinished jobs
 /usr/bin/ld: ./.libs/librakia-convenience.a(call-stream.o): undefined
 reference to symbol 'g_inet_address_new_from_string'
 /usr/bin/ld: note: 'g_inet_address_new_from_string' is defined in
 DSO /lib64/libgio-2.0.so.0 so try adding it to the linker command
line
 /lib64/libgio-2.0.so.0: could not read symbols: Invalid operation
 collect2: error: ld returned 1 exit status
 /snip

 If I have a little free time tomorrow, I'll see if I can whip up a
quick
 patch to fix this.

 Later,
 /B
 --
 Brian Pepple bpep...@fedoraproject.org

 https://fedoraproject.org/wiki/User:Bpepple
 gpg --keyserver pgp.mit.edu --recv-keys 810CC15E
 BD5E 6F9E 8688 E668 8F5B  CBDE 326A E936 810C C15E

 ___
 telepathy mailing list
 telepathy@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/telepathy


-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] ANNOUNCE: telepathy-rakia 0.7.4

2012-05-08 Thread Brian Pepple
On Tue, May 8, 2012 at 1:07 PM, Olivier Crête
olivier.cr...@collabora.com wrote:
 Telepathy-Rakia development release 0.7.4, the Call Me Maybe
 release, is now available.

 If you are using GNOME 3.4, please ship this release, as calls will not
 work with older releases.

 But be aware that there is one remaining problem, sometimes SIP servers
 stop forwarding call to us. I am unable to reproduce it with any SIP
 server that is under my control, so I don't know what happens, any help
 is appreciated.

 New in this release:

 - The StreamedMedia Channel type has been replaced by Call1

 Tarball:
 http://telepathy.freedesktop.org/releases/telepathy-rakia/telepathy-rakia-0.7.3.tar.gz

 Signature:
 http://telepathy.freedesktop.org/releases/telepathy-rakia/telepathy-rakia-0.7.3.tar.gz.asc

Wrong link to the tarball  signature.

Later,
/B
--
Brian Pepple bpep...@fedoraproject.org

https://fedoraproject.org/wiki/User:Bpepple
gpg --keyserver pgp.mit.edu --recv-keys 810CC15E
BD5E 6F9E 8688 E668 8F5B  CBDE 326A E936 810C C15E
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] ANNOUNCE: telepathy-rakia 0.7.4

2012-05-08 Thread Brian Pepple
On Tue, 2012-05-08 at 13:07 -0400, Olivier Crête wrote:
 Telepathy-Rakia development release 0.7.4, the Call Me Maybe 
 release, is now available.
 
 If you are using GNOME 3.4, please ship this release, as calls will not
 work with older releases.
 
 But be aware that there is one remaining problem, sometimes SIP servers
 stop forwarding call to us. I am unable to reproduce it with any SIP
 server that is under my control, so I don't know what happens, any help
 is appreciated.

Does tp-rakia have a component to file bugs against at freedesktop.org?
Looks like the latest release has a DSO Linking bug that causes the
build to fail. Here's a snippet from the build log.

snip
/usr/bin/ld: ./.libs/librakia-convenience.a(call-stream.o): undefined
reference to symbol 'g_inet_address_new_from_string'
/usr/bin/ld: note: 'g_inet_address_new_from_string' is defined in
DSO /lib64/libgio-2.0.so.0 so try adding it to the linker command line
/lib64/libgio-2.0.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[3]: *** [telepathy-rakia] Error 1
make[3]: *** Waiting for unfinished jobs
/usr/bin/ld: ./.libs/librakia-convenience.a(call-stream.o): undefined
reference to symbol 'g_inet_address_new_from_string'
/usr/bin/ld: note: 'g_inet_address_new_from_string' is defined in
DSO /lib64/libgio-2.0.so.0 so try adding it to the linker command line
/lib64/libgio-2.0.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
/snip

If I have a little free time tomorrow, I'll see if I can whip up a quick
patch to fix this.

Later,
/B
-- 
Brian Pepple bpep...@fedoraproject.org

https://fedoraproject.org/wiki/User:Bpepple
gpg --keyserver pgp.mit.edu --recv-keys 810CC15E
BD5E 6F9E 8688 E668 8F5B  CBDE 326A E936 810C C15E


signature.asc
Description: This is a digitally signed message part
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy