Eyevinn / webrtc-player

WebRTC (recvonly) player
MIT License
87 stars 18 forks source link

No sound? #34

Closed cliqer closed 11 months ago

cliqer commented 1 year ago

I have tried with obs and cloudflare whip which they work with audio and even made them work with stereo, though I cannot make this player to accept audio. What am I missing?

birme commented 1 year ago

Hi @cliqer! That sounds strange, though I know there has been some fixes related to audio/video lately

tirthpatell commented 11 months ago

I am having same issue when I testing my WHEP playback on this website, I get no audio. @cliqer did you ever resolve it? https://web.player.eyevinn.technology/

birme commented 11 months ago

That player starts muted by default and might have an old version of our webrtc player library. Have you tried webrtc.player.eyevinn.technology that runs the latest version of the webrtc player library?

tirthpatell commented 11 months ago

I had not before, but I just did when testing. Even on that player, there is no option to enable the audio, as seen in the picture. I am just pasting the link Cloudflare provides for WHEP playback, I can see the video, it's fast, near 1-2 sec latency, but unfortunately no audio. Any suggestions?

Setup: OBS-WHIP + Cloudflare

image
birme commented 11 months ago

Thank you for trying this out. Would it be possible for you to open the developer console and go to the network tab and copy/paste the request and response for the HTTP POST request?

tirthpatell commented 11 months ago

Sure. Here, does this seem correct? It was POST request titled play

Gist link: https://gist.github.com/tirthpatell/4a36ffea61aa4a2b92c182298271f56e

Wkkkkk commented 11 months ago

Thanks for posting this issue. I've managed to reproduce it locally and will keep looking into it.

birme commented 11 months ago

This should now be solved in v0.12.1

tirthpatell commented 11 months ago

Thank you so much for quick fix