[telepathy-python/master] Remove request-resource

Olivier Crête olivier.crete at collabora.co.uk
Mon May 4 04:08:07 PDT 2009


---
 examples/call.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/examples/call.py b/examples/call.py
index 20d6efe..e586129 100644
--- a/examples/call.py
+++ b/examples/call.py
@@ -92,11 +92,6 @@ class Call:
         Channel(self.conn.service_name, object_path,
                 ready_handler=self.channel_ready_cb)
 
-    def request_resource (self, stream, direction):
-        # We get and hook up src and sinks as soon as the session is created,
-        # so our resources are always ready :)
-        return True
-
     def src_pad_added (self, stream, pad, codec):
         type = stream.get_property ("media-type")
         if type == farsight.MEDIA_TYPE_AUDIO:
@@ -110,7 +105,6 @@ class Call:
 
     def stream_created(self, channel, stream):
         stream.connect ("src-pad-added", self.src_pad_added)
-        stream.connect ("request-resource", self.request_resource)
         srcpad = stream.get_property ("sink-pad")
 
         type = stream.get_property ("media-type")
-- 
1.5.6.5




More information about the telepathy-commits mailing list