This example is part of this article.
This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:
- Domain filtering
- Referrer filtering
- Embed buster
Query( | |
options: QueryOptions( | |
documentNode: CompaniesDataQuery().document, | |
), | |
builder: ( | |
QueryResult result, { | |
Future<QueryResult> Function() refetch, | |
FetchMore fetchMore, | |
}) { | |
if (result.hasException) { |
This example is part of this article.
This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:
import time | |
import json | |
import gevent | |
from uuid import uuid4 | |
from locust import HttpLocust, TaskSet, task, ResponseError, events, Locust | |
import websocket | |
class SocketClient(object): |