'-protocol_whitelist', 'file,udp,rtp',
'-i', path.join(__dirname, 'sdp/'+currentUser.name + '.sdp'),
'-vcodec', 'copy',
'-acodec', 'copy',
'-g', '24',
"-fflags", "nobuffer",
'-flags', 'low_delay',
'-f', 'flv',
'rtmp://'+rtmp_server_address+'/live/'+currentUser.name
Actual Behavior
Video Call between two peers is okay,
Streaming to RTMP is okay
Playback via RTMP using VLC player is Okay
Playback via DASH.js or HLS.js Video is okay, but audio is empty [no Audio output]
Playing Recorded FLV also has an Audio
Desired Behavior
I want to receive audio on Dash.js as well,
i guess the problem is with audio codec
What i have tried
Lots of stuff, in details
Changed codec from PCMU to MPEG4-GENERIC tried in many Khz - no Audio
when i use MPEG4-GENERIC/44100/2 Dash.js sees that there is audio input coming with video, but still i can't hear anything,
PCMU doesn't see audio input at all.
Tried to change the codec in ffmpeg
'-vcodec', 'libx264',
'-acodec', 'aac',
Getting an error - Conversion failed
Sending Video Stream from OBS to my RTMP everything works as expected - verdict something is broken between webrtc - sdp - kms