from django.urls import path from config.views import restream, stream, pull, transcodingprofile from config.views.srs import callback_srs app_name = 'config' urlpatterns = [ path('srs/callback', callback_srs, name='callback_srs'), path('streams/', stream.StreamList.as_view(), name='stream_list'), path('streams//', stream.StreamDetail.as_view(), name='stream_detail'), path('streams//change', stream.StreamChange.as_view(), name='stream_change'), path('streams//delete', stream.StreamDelete.as_view(), name='stream_delete'), path('streams/create', stream.StreamCreate.as_view(), name='stream_create'), path('restream/', restream.RestreamList.as_view(), name='restream_list'), path('restream//', restream.RestreamDetail.as_view(), name='restream_detail'), path('restream//change', restream.RestreamUpdate.as_view(), name='restream_change'), path('restream//delete', restream.RestreamDelete.as_view(), name='restream_delete'), path('restream/create', restream.RestreamCreate.as_view(), name='restream_create'), path('pull/', pull.PullList.as_view(), name='pull_list'), path('pull//', pull.PullDetail.as_view(), name='pull_detail'), path('pull//change', pull.PullUpdate.as_view(), name='pull_change'), path('pull//delete', pull.PullDelete.as_view(), name='pull_delete'), path('pull/create', pull.PullCreate.as_view(), name='pull_create'), path('transcodingprofile/', transcodingprofile.TranscodingProfileList.as_view(), name='transcodingprofile_list'), path('transcodingprofile//', transcodingprofile.TranscodingProfileDetail.as_view(), name='transcodingprofile_detail'), path('transcodingprofile//change', transcodingprofile.TranscodingProfileUpdate.as_view(), name='transcodingprofile_change'), path('transcodingprofile//delete', transcodingprofile.TranscodingProfileDelete.as_view(), name='transcodingprofile_delete'), path('transcodingprofile/create', transcodingprofile.TranscodingProfileCreate.as_view(), name='transcodingprofile_create'), ]