Petro O. Bochan
Member
Howdy, for some reason when trying to terminate mixer on 1421, I get this weird error
{
"localStreamName": "test2",
"uri": "mixer://m_abc2"
}
http://domain:8081/rest-api/mixer/terminate
{
"uri": "mixer:///m_abc2"
}
And this is the output
{
"exception": "com.flashphoner.rest.server.exception.NotFoundException",
"reason": "com.flashphoner.rest.server.exception.NotFoundException, Not Found, Agent not found WebRTCAgentFilter{localMediaSessionId='null', remoteMediaSessionId='null', localStreamName='null', remoteStreamName='null', uri='mixer:///m_abc2', status='null', record='false', hasAudio='true', hasVideo='true', profiles='null', transport='udp'}, ts: 1664889397205, path: /rest-api/mixer/terminate",
"path": "/rest-api/mixer/terminate",
"error": "Not Found",
"message": "Agent not found WebRTCAgentFilter{localMediaSessionId='null', remoteMediaSessionId='null', localStreamName='null', remoteStreamName='null', uri='mixer:///m_abc2', status='null', record='false', hasAudio='true', hasVideo='true', profiles='null', transport='udp'}",
"timestamp": 1664889397205,
"status": 404
}
However, when I do this command
{
"localMediaSessionId": "35ebe4de-03f3-44c8-9d2a-6b4bce0a4920",
"localStreamName": "test2",
"uri": "mixer://m_abc2",
"status": "PROCESSED_LOCAL",
"hasAudio": true,
"hasVideo": true,
"record": false,
"transport": "UDP",
"mediaSessions": [],
"mixerLayoutClass": "com.flashphoner.media.mixer.video.presentation.GridLayout",
"mixerActivityTimerCoolOffPeriod": 1,
"mixerActivityTimerTimeout": -1,
"mixerAppName": "defaultApp",
"mixerAudioOpusFloatCoding": false,
"mixerAudioSilenceThreshold": -50.0,
"mixerAudioThreads": 8,
"mixerAutoScaleDesktop": true,
"mixerDebugMode": false,
"mixerDesktopAlign": "TOP",
"mixerDisplayStreamName": false,
"mixerFontSize": 20,
"mixerFontSizeAudioOnly": 40,
"mixerIdleTimeout": 3600000,
"mixerInBufferingMs": 500,
"mixerIncomingTimeRateLowerThreshold": 0.95,
"mixerIncomingTimeRateUpperThreshold": 1.05,
"mixerMcuAudio": false,
"mixerMcuVideo": false,
"mixerMcuMultithreadedMix": false,
"mixerMinimalFontSize": 1,
"mixerMcuMultithreadedDelivery": false,
"mixerOutBufferEnabled": true,
"mixerOutBufferInitialSize": 2000,
"mixerOutBufferStartSize": 1000,
"mixerOutBufferPollingTime": 100,
"mixerOutBufferMaxBufferingsAllowed": -1,
"mixerOutBufferOverflowRate": 0.15,
"mixerOutBufferOverflowDeviationWindow": 30000,
"mixerOutBufferOverflowAllowedDeviation": 1000,
"mixerShowSeparateAudioFrame": true,
"mixerTextAutoscale": true,
"mixerTextColour": "0xFFFFFF",
"mixerTextBulkWriteWithBuffer": true,
"mixerTextBulkWrite": true,
"mixerTextBackgroundOpacity": 100,
"mixerTextBackgroundColour": "0x2B2A2B",
"mixerTextPaddingLeft": 5,
"mixerVoiceActivitySwitchDelay": 0,
"mixerVoiceActivityFrameThickness": 6,
"mixerVoiceActivityFramePositionInner": false,
"mixerVoiceActivityColour": "0x00CC66",
"mixerVoiceActivity": false,
"mixerVideoWidth": 1280,
"mixerVideoThreads": 8,
"mixerVideoStableFpsThreshold": 15,
"mixerVideoQuality": 24,
"mixerVideoProfileLevel": "42c02a",
"mixerVideoLayoutDesktopKeyWord": "desktop",
"mixerVideoHeight": 720,
"mixerVideoGridLayoutPadding": 30,
"mixerVideoGridLayoutMiddlePadding": 10,
"mixerVideoFps": 30,
"mixerVideoDesktopLayoutPadding": 30,
"mixerVideoDesktopLayoutInlinePadding": 10,
"mixerVideoBufferLength": 1000,
"mixerVideoBitrateKbps": 1000,
"mixerUseSdpState": true,
"mixerType": "MULTI_THREADED_NATIVE",
"mixerThreadTimeoutMs": 33,
"mixerTextPaddingTop": 5,
"mixerTextPaddingRight": 4,
"mixerTextFont": "Serif",
"mixerTextPaddingBottom": 5,
"mixerTextDisplayRoom": true,
"mixerTextCutTop": 3,
"mixerRealtime": true,
"mixerPruneStreams": false,
"audioMixerOutputCodec": "opus",
"audioMixerOutputSampleRate": 48000,
"audioMixerOutputChannels": 2,
"audioMixerMaxDelay": 300,
"mixerAudioOnlyHeight": 360,
"mixerAudioOnlyWidth": 640,
"mixerTextOutsideFramePadding": 50,
"mixerTextAlign": "BOTTOM_LEFT",
"mixerVideoDesktopFullscreen": false,
"mixerLayoutDir": "",
"videoOutputCodec": "h264"
}
it's there. What's wrong?
Thanks,
P
{
"localStreamName": "test2",
"uri": "mixer://m_abc2"
}
http://domain:8081/rest-api/mixer/terminate
{
"uri": "mixer:///m_abc2"
}
And this is the output
{
"exception": "com.flashphoner.rest.server.exception.NotFoundException",
"reason": "com.flashphoner.rest.server.exception.NotFoundException, Not Found, Agent not found WebRTCAgentFilter{localMediaSessionId='null', remoteMediaSessionId='null', localStreamName='null', remoteStreamName='null', uri='mixer:///m_abc2', status='null', record='false', hasAudio='true', hasVideo='true', profiles='null', transport='udp'}, ts: 1664889397205, path: /rest-api/mixer/terminate",
"path": "/rest-api/mixer/terminate",
"error": "Not Found",
"message": "Agent not found WebRTCAgentFilter{localMediaSessionId='null', remoteMediaSessionId='null', localStreamName='null', remoteStreamName='null', uri='mixer:///m_abc2', status='null', record='false', hasAudio='true', hasVideo='true', profiles='null', transport='udp'}",
"timestamp": 1664889397205,
"status": 404
}
However, when I do this command
{
"localMediaSessionId": "35ebe4de-03f3-44c8-9d2a-6b4bce0a4920",
"localStreamName": "test2",
"uri": "mixer://m_abc2",
"status": "PROCESSED_LOCAL",
"hasAudio": true,
"hasVideo": true,
"record": false,
"transport": "UDP",
"mediaSessions": [],
"mixerLayoutClass": "com.flashphoner.media.mixer.video.presentation.GridLayout",
"mixerActivityTimerCoolOffPeriod": 1,
"mixerActivityTimerTimeout": -1,
"mixerAppName": "defaultApp",
"mixerAudioOpusFloatCoding": false,
"mixerAudioSilenceThreshold": -50.0,
"mixerAudioThreads": 8,
"mixerAutoScaleDesktop": true,
"mixerDebugMode": false,
"mixerDesktopAlign": "TOP",
"mixerDisplayStreamName": false,
"mixerFontSize": 20,
"mixerFontSizeAudioOnly": 40,
"mixerIdleTimeout": 3600000,
"mixerInBufferingMs": 500,
"mixerIncomingTimeRateLowerThreshold": 0.95,
"mixerIncomingTimeRateUpperThreshold": 1.05,
"mixerMcuAudio": false,
"mixerMcuVideo": false,
"mixerMcuMultithreadedMix": false,
"mixerMinimalFontSize": 1,
"mixerMcuMultithreadedDelivery": false,
"mixerOutBufferEnabled": true,
"mixerOutBufferInitialSize": 2000,
"mixerOutBufferStartSize": 1000,
"mixerOutBufferPollingTime": 100,
"mixerOutBufferMaxBufferingsAllowed": -1,
"mixerOutBufferOverflowRate": 0.15,
"mixerOutBufferOverflowDeviationWindow": 30000,
"mixerOutBufferOverflowAllowedDeviation": 1000,
"mixerShowSeparateAudioFrame": true,
"mixerTextAutoscale": true,
"mixerTextColour": "0xFFFFFF",
"mixerTextBulkWriteWithBuffer": true,
"mixerTextBulkWrite": true,
"mixerTextBackgroundOpacity": 100,
"mixerTextBackgroundColour": "0x2B2A2B",
"mixerTextPaddingLeft": 5,
"mixerVoiceActivitySwitchDelay": 0,
"mixerVoiceActivityFrameThickness": 6,
"mixerVoiceActivityFramePositionInner": false,
"mixerVoiceActivityColour": "0x00CC66",
"mixerVoiceActivity": false,
"mixerVideoWidth": 1280,
"mixerVideoThreads": 8,
"mixerVideoStableFpsThreshold": 15,
"mixerVideoQuality": 24,
"mixerVideoProfileLevel": "42c02a",
"mixerVideoLayoutDesktopKeyWord": "desktop",
"mixerVideoHeight": 720,
"mixerVideoGridLayoutPadding": 30,
"mixerVideoGridLayoutMiddlePadding": 10,
"mixerVideoFps": 30,
"mixerVideoDesktopLayoutPadding": 30,
"mixerVideoDesktopLayoutInlinePadding": 10,
"mixerVideoBufferLength": 1000,
"mixerVideoBitrateKbps": 1000,
"mixerUseSdpState": true,
"mixerType": "MULTI_THREADED_NATIVE",
"mixerThreadTimeoutMs": 33,
"mixerTextPaddingTop": 5,
"mixerTextPaddingRight": 4,
"mixerTextFont": "Serif",
"mixerTextPaddingBottom": 5,
"mixerTextDisplayRoom": true,
"mixerTextCutTop": 3,
"mixerRealtime": true,
"mixerPruneStreams": false,
"audioMixerOutputCodec": "opus",
"audioMixerOutputSampleRate": 48000,
"audioMixerOutputChannels": 2,
"audioMixerMaxDelay": 300,
"mixerAudioOnlyHeight": 360,
"mixerAudioOnlyWidth": 640,
"mixerTextOutsideFramePadding": 50,
"mixerTextAlign": "BOTTOM_LEFT",
"mixerVideoDesktopFullscreen": false,
"mixerLayoutDir": "",
"videoOutputCodec": "h264"
}
it's there. What's wrong?
Thanks,
P