Merge pull request #1914 from YouNow/master

rtmp-services: Add YouNow service and implement ingest lookup
This commit is contained in:
Jim
2019-11-13 08:41:13 -08:00
committed by GitHub
5 changed files with 150 additions and 1 deletions
+7
View File
@@ -5,6 +5,7 @@
#include "rtmp-format-ver.h"
#include "twitch.h"
#include "younow.h"
struct rtmp_common {
char *service;
@@ -596,6 +597,12 @@ static const char *rtmp_common_url(void *data)
}
}
if (service->service && strcmp(service->service, "YouNow") == 0) {
if (service->server && service->key) {
return younow_get_ingest(service->server, service->key);
}
}
return service->server;
}