Skip to content

Commit

Permalink
refactor: remove test-stream config
Browse files Browse the repository at this point in the history
  • Loading branch information
ohrstrom committed Feb 24, 2024
1 parent b35264c commit 2401f03
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions obr_core/common/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,14 @@ class SettingsView(APIView):
operation_id="settings",
)
def get(request):
# NOTE: rnd - test encoder for APP
stream_endpoints = settings.STREAM_ENDPOINTS
# stream_endpoints["hls"] = "http://164.92.244.52:8080/live.m3u8"

serializer = serializers.SettingsSerializer(
{
"IMAGE_RESIZER_ENDPOINT": get_absolute_url(
request,
settings.IMAGE_RESIZER_ENDPOINT,
),
"STREAM_ENDPOINTS": stream_endpoints,
"STREAM_ENDPOINTS": settings.STREAM_ENDPOINTS,
"STREAM_LATENCY": settings.STREAM_LATENCY,
"MEDIA_ENDPOINTS": settings.MEDIA_ENDPOINTS,
"SENTRY_DSN": settings.SENTRY_DSN,
Expand Down

0 comments on commit 2401f03

Please sign in to comment.