[farsight2/master] Update vocabulary in fs2-gui-net to match fs2-gui
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:22:59 PST 2008
---
tests/gui/fs2_gui_net.py | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/gui/fs2_gui_net.py b/tests/gui/fs2_gui_net.py
index 0bce8ed..1307687 100644
--- a/tests/gui/fs2_gui_net.py
+++ b/tests/gui/fs2_gui_net.py
@@ -405,22 +405,22 @@ if __name__ == "__main__":
class TestParticipant:
def __init__(self, connect, id, cname, *args):
self.id = id
- self.medias = {1: TestMedia(id, 1, connect),
- 2: TestMedia(id, 2, connect)}
+ self.streams = {1: TestMedia(id, 1, connect),
+ 2: TestMedia(id, 2, connect)}
self.cname = cname
self.connect = connect
print "New Participant %s and cname %s" % (id,cname)
def candidate(self, media, candidate):
- self.medias[media].candidate(candidate)
+ self.streams[media].candidate(candidate)
def candidates_done(self, media):
- self.medias[media].candidates_done()
+ self.streams[media].candidates_done()
def codec(self, media, codec):
- self.medias[media].codec(codec)
+ self.streams[media].codec(codec)
def codecs_done(self, media):
- self.medias[media].codecs_done()
+ self.streams[media].codecs_done()
def send_local_codecs(self):
- for id in self.medias:
- self.medias[id].send_local_codecs()
+ for id in self.streams:
+ self.streams[id].send_local_codecs()
mycname = "test"
--
1.5.6.5
More information about the farsight-commits
mailing list