chenxiaoqino / getusermedia-to-rtmp

186 stars 61 forks source link

audio fix #11

Closed panpansh closed 5 years ago

panpansh commented 5 years ago

It's not perfect sure but it works :)

chenxiaoqino commented 5 years ago

Thanks for the PR! Can you only add one line for the audio coding parameters? This seems like also changing the video codec setup.

Also, it will be great if you can add some discussion of audio codec to README. E.g., these parameters works under which browsers. Or I can do that as well.

chenxiaoqino commented 5 years ago

Only the '-c:a', 'aac', '-ar', '22050', '-b:a', '64k', are audio related. '-async', '1' could also be somewhat important...

panpansh commented 5 years ago

Hey chenxiaoqino, Here is better ? See you