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

import pygst
pygst.require('0.10')
import farsight, gst, gobject, sys
loop = gobject.MainLoop()
pipeline = gst.Pipeline()

conference = gst.element_factory_make("fsrtpconference")
conference.set_property("sdes-cname", "jo...@1.2.3.4")
pipeline.add(conference)
session = conference.new_session(farsight.MEDIA_TYPE_AUDIO)
participant = conference.new_participant("alfo...@1.2.3.4")
stream = session.new_stream(participant, farsight.DIRECTION_BOTH,
"multicast")

stream.set_remote_codecs([farsight.Codec(0, "PCMU",
farsight.MEDIA_TYPE_AUDIO, 90000)])
There was no intersection between the remote codecs and the local ones

I have been reading the documentation and I can't figure out how to get the
local codecs in the example, I'll appreciate any help, thanks
------------------------------------------------------------------------------
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
Farsight-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/farsight-devel

Reply via email to