<Applications>
<Application>
<Name>app</Name>
<!-- Application type (live/vod) -->
<Type>live</Type>
<TranscodeWebhook>
<Enable>true</Enable>
<ControlServerUrl>http://example.com/webhook</ControlServerUrl>
<SecretKey>abc123!@#</SecretKey>
<Timeout>1500</Timeout>
<UseLocalProfilesOnConnectionFailure>true</UseLocalProfilesOnConnectionFailure>
<UseLocalProfilesOnServerDisallow>false</UseLocalProfilesOnServerDisallow>
<UseLocalProfilesOnErrorResponse>false</UseLocalProfilesOnErrorResponse>
</TranscodeWebhook>POST /configured/target/url/ HTTP/1.1
Content-Length: 944
Content-Type: application/json
Accept: application/json
X-OME-Signature: f871jd991jj1929jsjd91pqa0amm1
{
"source" : "TCP://192.168.0.200:8843",
"stream" :
{
"name" : "stream",
"virtualHost" : "default",
"application" : "app",
"sourceType" : "Rtmp",
"createdTime" : "2023-10-24T18:10:51.120+09:00",
"sourceUrl" : "TCP://192.168.0.200:8843",
"tracks" :
[
{
"id" : 0,
"name" : "Video",
"type" : "Video",
"video" :
{
"bitrate" : "2500000",
"bypass" : false,
"codec" : "H264",
"framerate" : 30.0,
"hasBframes" : false,
"height" : 720,
"keyFrameInterval" : 0,
"width" : 1280
}
},
{
"audio" :
{
"bitrate" : "160000",
"bypass" : false,
"channel" : 2,
"codec" : "AAC",
"samplerate" : 44100
},
"id" : 1,
"name" : "Audio",
"type" : "Audio"
},
{
"id" : 2,
"name" : "Data",
"type" : "Data"
}
]
}
}HTTP/1.1 200 OK
Content-Length: 102
Content-Type: application/json
Connection: Closed
{
"allowed": true,
"reason": "it will be output to the log file when "allowed" is false",
"outputProfiles" : {
"hardwareAcceleration": true,
"outputProfile":[
{
"name": "bypass",
"outputStreamName": "${OriginStreamName}",
"playlists": [
{
"name": "default",
"fileName": "default",
"renditions":[
{
"name": "bypass",
"video": "bypass_video",
"audio": "bypass_audio"
}
]
}
],
"encodes": {
"videos": [
{
"name": "bypass_video",
"bypass": true
}
],
"audios": [
{
"name": "bypass_audio",
"bypass": true
}
]
}
}
]
}
}"outputProfiles": {
"hardwareAcceleration": true,
"outputProfile": [
{
"name": "bypass",
"outputStreamName": "${OriginStreamName}",
"encodes": {
"audios": [
{
"name": "bypass_audio",
"bypass": true,
"active": true,
"codec": "",
"bitrate": "",
"samplerate": 0,
"channel": 0,
"bypassIfMatch": {
"codec": "",
"bitrate": "",
"framerate": "",
"width": "",
"height": "",
"sar": "",
"samplerate": "",
"channel": ""
}
}
],
"videos": [
{
"name": "bypass_video",
"bypass": true,
"active": true,
"codec": "",
"profile": "",
"bitrate": "",
"width": 0,
"height": 0,
"framerate": 0.000000,
"preset": "",
"threadCount": -1,
"keyFrameInterval": 0,
"bFrames": 0,
"bypassIfMatch": {
"codec": "",
"bitrate": "",
"framerate": "",
"width": "",
"height": "",
"sar": "",
"samplerate": "",
"channel": ""
}
}
],
"images": [
{
"name": "bypass_video",
"bypass": true,
"active": true,
"codec": "",
"width": 0,
"height": 0,
"framerate": 0.000000
}
]
},
"playlists": [
{
"name": "default",
"fileName": "default",
"options": {
"webRtcAutoAbr": true,
"hlsChunklistPathDepth": -1
},
"rendition/renditions": [
{
"name/name": "bypass",
"video/video": "bypass_video",
"audio/audio": "bypass_audio"
}
]
}
]
}
]
}