Permalink
Browse files

Extra channel properties

  • Loading branch information...
1 parent a81c21c commit e87c32a7516987c8bf9d8a9251fc913684aabc47 @danni committed Jan 18, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 call-observer.py
View
@@ -202,6 +202,16 @@ def observe_call(client, account, conn, channels, dispatch_op, requests,
print_obj(channel,
" -- %s --" % ("outgoing" if channel.get_property('requested') else "incoming"))
state_changed (channel, None, None)
+ print_obj(channel, "Mutable contents: %s" %
+ channel.has_mutable_contents(), bold=True)
+ print_obj(channel, "Initial audio: %s (%s)" %
+ channel.has_initial_audio())
+ print_obj(channel, "Initial video: %s (%s)" %
+ channel.has_initial_video())
+
+ print_obj(channel, " Interfaces:")
+ for iface in channel.get_property('interfaces'):
+ print_obj(channel, " - %s" % iface)
for content in channel.get_contents():
content_added(channel, content, None)

0 comments on commit e87c32a

Please sign in to comment.