rtmp-services: Add YouTube HLS service selection
parent
49d351b537
commit
22d060e3cc
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"url": "https://obsproject.com/obs2_update/rtmp-services",
|
||||
"version": 148,
|
||||
"version": 149,
|
||||
"files": [
|
||||
{
|
||||
"name": "services.json",
|
||||
"version": 148
|
||||
"version": 149
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"format_version": 2,
|
||||
"format_version": 3,
|
||||
"services": [
|
||||
{
|
||||
"name": "Twitch",
|
||||
|
@ -198,8 +198,32 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"name": "YouTube / YouTube Gaming",
|
||||
"name": "YouTube - HLS",
|
||||
"common": false,
|
||||
"more_info_link": "https://developers.google.com/youtube/v3/live/guides/ingestion-protocol-comparison",
|
||||
"servers": [
|
||||
{
|
||||
"name": "Primary YouTube ingest server",
|
||||
"url": "https://a.upload.youtube.com/http_upload_hls?cid={stream_key}©=0&file=out.m3u8"
|
||||
},
|
||||
{
|
||||
"name": "Backup YouTube ingest server",
|
||||
"url": "https://b.upload.youtube.com/http_upload_hls?cid={stream_key}©=1&file=out.m3u8"
|
||||
}
|
||||
],
|
||||
"recommended": {
|
||||
"keyint": 2,
|
||||
"output": "ffmpeg_hls_muxer",
|
||||
"max video bitrate": 51000,
|
||||
"max audio bitrate": 160
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "YouTube - RTMP",
|
||||
"common": true,
|
||||
"alt_names": [
|
||||
"YouTube / YouTube Gaming"
|
||||
],
|
||||
"servers": [
|
||||
{
|
||||
"name": "Primary YouTube ingest server",
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
#define RTMP_SERVICES_FORMAT_VERSION 2
|
||||
#define RTMP_SERVICES_FORMAT_VERSION 3
|
||||
|
|
Loading…
Reference in New Issue