deepch / RTSPtoWSMP4f

RTSP Stream to WebBrowser MSE over WebSocket based MP4f segments
229 stars 64 forks source link

AAC/PCM audio codec #54

Open trezorg opened 1 year ago

trezorg commented 1 year ago

I see here

https://github.com/deepch/RTSPtoWSMP4f/blob/master/stream.go#L44

that the audio is turned off.

If I turn it out to false, I hear AAC sound in my browser. But in case PCM audio format I see message

muxer.WriteHeader fmp4: codec type=PCM_MULAW is not supported

and I even do not see video.

Is it supported to show only video stream in case of unsupported audio codecs?