devopvoid / webrtc-java

WebRTC for desktop platforms running Java
Apache License 2.0
248 stars 60 forks source link

VideoTrackSink interface never invoke #34

Open kenti-lan opened 2 years ago

kenti-lan commented 2 years ago

I have successed make connection on webrtc ,and it played sound from audio track. But the video track sink interface never invoke the method.

Expected behavior I hope the video track will invoke

Screenshots

QQ20211019-195523@2x
kenti-lan commented 2 years ago

@devopvoid

devopvoid commented 2 years ago

Hi, thanks for the report. Camera support for macOS is work in progress.

kenti-lan commented 2 years ago

@devopvoid Hi,I want to donate you.Can you help me to solve some problems by the way?

devopvoid commented 2 years ago

Hi @kenti-lan, sure, I can help you solve the problem. I guess a donation is not necessary. Hope to finish it the coming days.

kenti-lan commented 2 years ago

Here is my project on site: keqq You just need to start the application at keqq/client/src/main/java/com/example/client/ClientApplication.java The webrtc will run automatically. The problem is it can't receive the video frame but audio. The web version is work.The file is located at 'keqq/client/src/main/resources/static/index.html' Thank you very much for help.

kenti-lan commented 2 years ago

Hi, @devopvoid .Could you help me have a look,please.

hussainasad6696 commented 2 years ago

Hi, @devopvoid, My videoFrame.addSink is not working in onTrack interface. onTrack is called and the typecasting also works but addSink is not working. I have used the same procedure as you have done in demo project but it does not seem to be working kindly help.

redoriental commented 1 year ago

Hello @ devopvoid

Can I connect this api to the javascript api? I tried to connect but it did not trigger the icecon method

devopvoid commented 1 year ago

You can, if you handle the offer / answer the right way, then you should exchange ICE candidates.

skill7899 commented 6 months ago

Here is my project on site: keqq You just need to start the application at keqq/client/src/main/java/com/example/client/ClientApplication.java The webrtc will run automatically. The problem is it can't receive the video frame but audio. The web version is work.The file is located at 'keqq/client/src/main/resources/static/index.html' Thank you very much for help.

@kenti-lan , @hussainasad6696 Has your problem been solved? I think you should be like me, wanting to use webrtc for H5 and receive webrtc images for H5 on the webrtc-Java 。