I have an fmp4(h264/aac) stream from the server, and a Wsplayer player, if the stream without sound the video plays in firefox and chrome browsers, but if the stream with sound in chrome the video does not play
I establish a connection via websocket
if mediasource.addSourceBuffer('video/mp4; codecs="avc1.4D4028"'); to work and if mediasource.addSourceBuffer('video/mp4; codecs="avc1.4D4028, mp4a.40.2"'); dont work
How I managed to solve the problem: