From: yomguy Date: Fri, 13 Jul 2012 22:46:18 +0000 (+0200) Subject: fix video url X-Git-Tag: 0.7-dev~1 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=62d01d6d99d2119b2603b031cea8ae8307444d2e;p=teleforma.git fix video url --- diff --git a/teleforma/templates/teleforma/course_conference.html b/teleforma/templates/teleforma/course_conference.html index 50ea0cbe..02f5a3ea 100644 --- a/teleforma/templates/teleforma/course_conference.html +++ b/teleforma/templates/teleforma/course_conference.html @@ -4,11 +4,10 @@ {% load i18n %} {% block module-action %} -{% if "telecaster"|installed %} -{% if 'telecaster'|installed %} +{% get_telecaster as telecaster %} +{% if telecaster %} -{% endif %} +{% get_telecaster as telecaster %} +{% if telecaster %} diff --git a/teleforma/views.py b/teleforma/views.py index 8686c486..804e3fea 100755 --- a/teleforma/views.py +++ b/teleforma/views.py @@ -387,7 +387,8 @@ class ConferenceRecordView(FormView): type = station['type'] conf = station['conf'] port = station['port'] - server, c= StreamingServer.objects.get_or_create(host=status.ip, port=port) + server_type = station['server_type'] + server, c = StreamingServer.objects.get_or_create(host=status.ip, port=port, type=server_type) station = Station(conference=self.conference, public_id=uuid) station.setup(conf) station.start()