1
red5 서버가 설치되어있어 재생 비디오로 사용됩니다.red5 서버에서 mp4 파일을 스트리밍 할 때 소리가 나지 않음
oflademo 페이지에서 .mp4 파일을 통해 비디오를 재생하려고했습니다. demo.mp4 파일을/usr/local/red5/webapps/oflaDemo/streams/
에 업로드했습니다.클라이언트에서 저는 JWPlayer를 사용하여 RTMP를 통해 비디오를 재생했습니다. 여기에 비디오 demo.mp4
<script type="text/javascript" src="jwplayer.js"></script>
<script type='text/javascript'>
jwplayer('mediaplayer').setup({
'bufferlength': '10',
'smoothing' : 'false',
'quality':'best',
'autostart':'true',
'icons': 'true',
'allowscriptaccess': 'always',
'allownetworking': 'all',
'flashplayer': 'player.swf',
'file': 'demo.mp4',
'streamer':'rtmp://192.168.1.139/oflaDemo/',
'image':'/jwplayer/logo.png',
'controlbar': 'bottom',
'width': '720',
'height': '306'
});
</script>
그러나, JWPlayer는 스트리밍 비디오 및 NO 사운드를 재생하는 스크립트입니다. red5의 데모 페이지에서 시도한 것은 oflademo이지만 동일한 결과입니다.
사운드 및 비디오를 포함하도록 스트리밍 mp4를 red5로 수정하는 방법은 무엇입니까?