Closed un-hongly closed 1 year ago
Post your return response of API http://192.168.160.118:3000/admissions Are you able to play with this url http://127.0.0.1:3333/app/63f5bc1e5a721ba2b20f887c/chunklist_0_video_WcyHJePn_llhls.m3u8 (WITHOUT WEBHOOK)?
Post your return response of API http://192.168.160.118:3000/admissions
My response is :
{
allowed: true,
new_url: 'http://127.0.0.1:3333/app/63f5bc1e5a721ba2b20f887c/llhls.m3u8',
reason: 'authorized'
}
Are you able to play with this url http://127.0.0.1:3333/app/63f5bc1e5a721ba2b20f887c/chunklist_0_video_WcyHJePn_llhls.m3u8 (WITHOUT WEBHOOK)?
What does it mean "without webhook"? I tried this url with VLC player but it can't be opened.
More information I ran it as docker with latest tag.
It work well with WebRTC with response below. { allowed: true, new_url: 'ws://127.0.0.1:3333/app/63f5bc1e5a721ba2b20f887c', reason: 'authorized' }
I tried several times but couldn't reproduce this issue.
Please upload your entire /var/log/ovenmediaengine/ovenmediaengine.log
file and Server.xml
file.
It looks like your llhls.m3u8 file is missing ?session
information. If <OriginMode>
is false then ?session
cannot be missing, but in your case something is misbehaving.
#EXTM3U
#EXT-X-VERSION:7
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="Audio_4061823101",DEFAULT=YES,AUTOSELECT=YES,CHANNELS="2",URI="/app/stream/chunklist_1_audio_s4DmxfON_llhls.m3u8 ?session=27_b3EjTov7"
#EXT-X-STREAM-INF:BANDWIDTH=2916481,RESOLUTION=1280x720,FRAME-RATE=30.769,CODECS="avc1.42c01f,mp4a.40.2",AUDIO="aac"
/app/stream/chunklist_4_video_s4DmxfON_llhls.m3u8?session=27_b3EjTov7
What about the content of your below file? Please upload it.
http://127.0.0.1:3333/app/63f5bc1e5a721ba2b20f887c/llhls.m3u8
@getroot
please find all the file here (new stream not the one before) files.zip
my post response is:
{
allowed: true,
new_url: 'http://192.168.160.123:3333/app/63f714dedc3f3d800e24862b/llhls.m3u8',
reason: 'authorized'
}
Change <Publishers><LLHLS><OriginMode>true</OriginMode>
to false. AdmissionWebhooks are not available in OriginMode.
@getroot Work like magic!! Thanks 😊
Great, please close this issue.
I can't view a LLHLS stream when AdmissionWebhooks enabled. the log say "invalid session_key".
Here my docker log: