youtube multistream

auronsan14

New Member
seems youtube rejected the multistream I dont know why
after 30 seconds got closed. but via obs work normal
```
{
"mediaSessionId": "",
"streamName": "rtmp_73fe7866-d8a3-47df-a998-db60945006fd",
"rtmpUrl": "rtmp://a.rtmp.youtube.com/live2/aaaa-aaaa-aaaa-aaaa",
"rtmpFlashVersion": "LNX 9,0,124,2",
"rtmpTransponderStreamNamePrefix": "rtmp_",
"width": 0,
"height": 0,
"fps": 0,
"bitrate": 0,
"keyFrameInterval": 0,
"rtmpTransponderKframeInterval": 60,
"muted": false,
"soundEnabled": false,
"rtmpTransponderForceKframeInterval": true,
"rtmpTransponderFullUrl": false
}
```
 

Max

Administrator
Staff member
Good day.
"rtmpFlashVersion": "LNX 9,0,124,2",
"rtmpTransponderStreamNamePrefix": "rtmp_",
...
"rtmpTransponderFullUrl": false
That's the problem. You should set an actual RTMP publisher version
Code:
rtmp_flash_ver_subscriber=LNX 76.219.189.0
disable RTMP stream name prefix
Code:
rtmp_transponder_stream_name_prefix=
and use full RTMP URL
Code:
rtmp_transponder_full_url=true
A final set of server parameters that should work for most RTMP ingest points (not only Youtube):
Code:
rtmp_transponder_full_url=true
rtmp_transponder_stream_name_prefix=
rtmp_flash_ver_subscriber=LNX 76.219.189.0
rtmp_transponder_send_metadata=true
Please refer to this doc for details.
 

Max

Administrator
Staff member
You should set the following fields:
Code:
/push/startup
 
{
    "streamName": "stream",
    "rtmpUrl":"rtmp://a.rtmp.youtube.com/live2/aaaa-aaaa-aaaa-aaa",
    "rtmpTransponderFullUrl": true,
    "rtmpFlashVersion": "LNX 76.219.189.0"
}
See also supported REST query parameters list here.
We recommend to set the following options in server configuration file flashphoner.properties
Code:
rtmp_flash_ver_subscriber=LNX 76.219.189.0
rtmp_transponder_send_metadata=true
because they are valid for most of RTMP ingest points today (Youtube, Facebook, AWS, Azure...)
 
Top