2020-04-15 20:29:59 +02:00
|
|
|
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
|
2020-04-29 18:48:23 +02:00
|
|
|
app_name = 'rtmp'
|
|
|
|
|
2020-04-15 20:29:59 +02:00
|
|
|
urlpatterns = [
|
2020-04-23 21:08:39 +02:00
|
|
|
path('callback/srs', views.callback_srs, name='callback_srs'),
|
2020-04-29 18:48:23 +02:00
|
|
|
path('streams/', views.StreamList.as_view(), name='stream_list'),
|
|
|
|
path('streams/<int:pk>/', views.StreamDetail.as_view(), name='stream_detail'),
|
|
|
|
path('streams/<int:pk>/delete', views.StreamDelete.as_view(), name='stream_delete'),
|
|
|
|
path('streams/create', views.StreamCreate.as_view(), name='stream_create'),
|
2020-04-15 20:29:59 +02:00
|
|
|
]
|