Exemplo n.º 1
0
 def setup(self):
     p = CaptureAgent('ABCD1111', 'fake1.example.edu')
     p.channels['live']['channel'] = '1'
     p.channels['live']['publish_type'] = '0'
     p.channels['lowBR']['channel'] = '2'
     p.channels['lowBR']['publish_type'] = '0'
     p.client = Epipearl(epiphan_url, 'user', 'passwd')
     self.ca = p
Exemplo n.º 2
0
def set_epipearl_client(ca):
    ca.client = Epipearl('http://%s' % ca.address,
                         current_app.config['EPIPEARL_USER'],
                         current_app.config['EPIPEARL_PASSWD'])
    ca.sync_live_status()