Re: [Farsight-devel] Problem with remote codecs and local ones

2009-08-31 Thread Olivier Crête
On Mon, 2009-08-31 at 15:21 -0500, Jorge Alfonso Cortes Mahmud wrote:

> I have one more question, Do you know if there are any example of
> streaming audio in python with Farsight Rtp Plugin?

Look in examples/gui
there is a complete (but also pretty complex) example of using fs2 in
Python.

Also, there is Muji (which is a "experiementation-friendly" twisted xmpp
client using farsight2 for the video part):
http://git.collabora.co.uk/?p=muji.git;a=summary

-- 
Olivier Crête
[email protected]


signature.asc
Description: This is a digitally signed message part
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Farsight-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/farsight-devel


Re: [Farsight-devel] Problem with remote codecs and local ones

2009-08-31 Thread Jorge Alfonso Cortes Mahmud
2009/8/30 Olivier Crête 

> On Sat, 2009-08-29 at 21:24 -0500, Jorge Alfonso Cortes Mahmud wrote:
> > Hi everyone, I'm new with farsigth and I want to learn it but I have a
> > problem running the code below, I get an error related to the remote
> > codecs and local ones
> ...
> > stream.set_remote_codecs([farsight.Codec(0, "PCMU",
> > farsight.MEDIA_TYPE_AUDIO, 9)])
> > There was no intersection between the remote codecs and the local ones
>
> The clock-rate of 9 is clearly wrong. 9 is a clock rate you'll
> find on video codecs. For audio codecs, you're more likely to find 8000
> or 16000 (although it could be something else too).
>
> --
> Olivier Crête
> [email protected]
>

ok, that was my problem!

I have one more question, Do you know if there are any example of streaming
audio in python with Farsight Rtp Plugin?

I was trying to run the example in the presentation that I found with
google, the presentation that was done for you, by the way, nice
presentation, although I don't understand well the software yet :)

thanks for your time
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Farsight-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/farsight-devel


Re: [Farsight-devel] Problem with remote codecs and local ones

2009-08-30 Thread Olivier Crête
On Sat, 2009-08-29 at 21:24 -0500, Jorge Alfonso Cortes Mahmud wrote:
> Hi everyone, I'm new with farsigth and I want to learn it but I have a
> problem running the code below, I get an error related to the remote
> codecs and local ones
...
> stream.set_remote_codecs([farsight.Codec(0, "PCMU",
> farsight.MEDIA_TYPE_AUDIO, 9)])
> There was no intersection between the remote codecs and the local ones

The clock-rate of 9 is clearly wrong. 9 is a clock rate you'll
find on video codecs. For audio codecs, you're more likely to find 8000
or 16000 (although it could be something else too).

-- 
Olivier Crête
[email protected]


signature.asc
Description: This is a digitally signed message part
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Farsight-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/farsight-devel