pride
Member
Пробуем отправлять поток через OBS studio путем rtmp.
Примерно через секунд 30 отваливается соединение.
в логах :
В чем моежет быть проблема ?
При изменении значении параметра keep_alive.server_interval
Момент отвала , наступает дольше .
Примерно через секунд 30 отваливается соединение.
в логах :
10:35:48,414 INFO agerRemoteRmiService - RMI TCP Connection(6)-127.0.0.1 RECEIVED REST OBJECT <==
URL:http://127.0.0.1:7771/ConnectionStatusEvent
OBJECT:
{
"nodeId" : "Mkd0uFPnkuR75m1zsCoBdMJmfb3NwRWt@88.99.151.175",
"appKey" : "EventsFlash",
"sessionId" : "7a354039-cec1-43ac-9c9d-b3c71c45ebc7",
"status" : "DISCONNECTED",
"info" : "Disconnected by keep alive"
}
10:35:48,426 INFO agerRemoteRmiService - RMI TCP Connection(6)-127.0.0.1 SEND REST OBJECT ==>
URL:http://127.0.0.1:7771/StreamStatusEvent
OBJECT:
{
"nodeId" : "Mkd0uFPnkuR75m1zsCoBdMJmfb3NwRWt@88.99.151.175",
"appKey" : "EventsFlash",
"sessionId" : "7a354039-cec1-43ac-9c9d-b3c71c45ebc7",
"mediaSessionId" : "fd8e6747-1ac2-45f8-bf2c-4064b1e735cb",
"name" : "OBS",
"published" : true,
"hasVideo" : false,
"hasAudio" : true,
"status" : "FAILED",
"audioCodec" : "speex",
"videoCodec" : "H264",
"info" : "Stopped by session disconnect",
"record" : false,
"width" : 0,
"height" : 0,
"bitrate" : 0,
"quality" : 0,
"createDate" : 1504514093660,
"mediaProvider" : "Flash",
"history" : false,
"playing" : false,
"publishing" : false
}
10:35:48,431 INFO agerRemoteRmiService - RMI TCP Connection(6)-127.0.0.1 RECEIVED REST OBJECT <==
URL:http://127.0.0.1:7771/StreamStatusEvent
OBJECT:
{
"nodeId" : "Mkd0uFPnkuR75m1zsCoBdMJmfb3NwRWt@88.99.151.175",
"appKey" : "EventsFlash",
"sessionId" : "7a354039-cec1-43ac-9c9d-b3c71c45ebc7",
"mediaSessionId" : "fd8e6747-1ac2-45f8-bf2c-4064b1e735cb",
"name" : "OBS",
"published" : true,
"hasVideo" : false,
"hasAudio" : true,
"status" : "FAILED",
"audioCodec" : "speex",
"videoCodec" : "H264",
"info" : "Stopped by session disconnect",
"record" : false,
"width" : 0,
"height" : 0,
"bitrate" : 0,
"quality" : 0,
"createDate" : 1504514093660,
"mediaProvider" : "Flash",
"history" : false,
"playing" : false,
"publishing" : false
}
URL:http://127.0.0.1:7771/ConnectionStatusEvent
OBJECT:
{
"nodeId" : "Mkd0uFPnkuR75m1zsCoBdMJmfb3NwRWt@88.99.151.175",
"appKey" : "EventsFlash",
"sessionId" : "7a354039-cec1-43ac-9c9d-b3c71c45ebc7",
"status" : "DISCONNECTED",
"info" : "Disconnected by keep alive"
}
10:35:48,426 INFO agerRemoteRmiService - RMI TCP Connection(6)-127.0.0.1 SEND REST OBJECT ==>
URL:http://127.0.0.1:7771/StreamStatusEvent
OBJECT:
{
"nodeId" : "Mkd0uFPnkuR75m1zsCoBdMJmfb3NwRWt@88.99.151.175",
"appKey" : "EventsFlash",
"sessionId" : "7a354039-cec1-43ac-9c9d-b3c71c45ebc7",
"mediaSessionId" : "fd8e6747-1ac2-45f8-bf2c-4064b1e735cb",
"name" : "OBS",
"published" : true,
"hasVideo" : false,
"hasAudio" : true,
"status" : "FAILED",
"audioCodec" : "speex",
"videoCodec" : "H264",
"info" : "Stopped by session disconnect",
"record" : false,
"width" : 0,
"height" : 0,
"bitrate" : 0,
"quality" : 0,
"createDate" : 1504514093660,
"mediaProvider" : "Flash",
"history" : false,
"playing" : false,
"publishing" : false
}
10:35:48,431 INFO agerRemoteRmiService - RMI TCP Connection(6)-127.0.0.1 RECEIVED REST OBJECT <==
URL:http://127.0.0.1:7771/StreamStatusEvent
OBJECT:
{
"nodeId" : "Mkd0uFPnkuR75m1zsCoBdMJmfb3NwRWt@88.99.151.175",
"appKey" : "EventsFlash",
"sessionId" : "7a354039-cec1-43ac-9c9d-b3c71c45ebc7",
"mediaSessionId" : "fd8e6747-1ac2-45f8-bf2c-4064b1e735cb",
"name" : "OBS",
"published" : true,
"hasVideo" : false,
"hasAudio" : true,
"status" : "FAILED",
"audioCodec" : "speex",
"videoCodec" : "H264",
"info" : "Stopped by session disconnect",
"record" : false,
"width" : 0,
"height" : 0,
"bitrate" : 0,
"quality" : 0,
"createDate" : 1504514093660,
"mediaProvider" : "Flash",
"history" : false,
"playing" : false,
"publishing" : false
}
При изменении значении параметра keep_alive.server_interval
Момент отвала , наступает дольше .