-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Following the example provide in https://github.com/kaltura/media-framework/blob/master/conf/controller.php#L240 is just necessare create an upstreaem following this configuration below:
upstreams := []map[string]interface{}{
{"id": "main", "url": os.Getenv("SEGMENTER_KMP_URL")},
{
"id": "rtmp-out",
"url": "kmp://127.0.0.1:8005",
"required": "false",
"resume_from": "last_written",
"connect_data": "base64==",
},
{
"id": "rtmp-out",
"url": "kmp://127.0.0.1:8005",
"required": "false",
"resume_from": "last_written",
"connect_data": "base64",
},
{
"id": "rtmp-out",
"url": "kmp://127.0.0.1:8005",
"required": "false",
"resume_from": "last_written",
"connect_data": "base64",
},
}
But the raise an error with this message:
2023/03/08 23:51:05 [error] 9#9: ngx_kmp_out_upstream_parse_url: no host in "" while reading upstream, peer: localhost, request: "POST /control HTTP/1.0"
https://github.com/kaltura/media-framework/tree/master/nginx-kmp-rtmp-module#structure
I'm following the example provided in controller.php localted into conf but I'm stuck in how can I use this feature :(
Metadata
Metadata
Assignees
Labels
No labels