portier/srs/signals.py

5 lines
184 B
Python

from django.dispatch import Signal
on_publish = Signal(providing_args=['application', 'streamkey', 'node'])
on_unpublish = Signal(providing_args=['application', 'streamkey', 'node'])