webrtc-java icon indicating copy to clipboard operation
webrtc-java copied to clipboard

VideoTrackSink interface never invoke

Open kenti-lan opened this issue 4 years ago • 10 comments

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
  • OS: MAC
  • Version 11.6

kenti-lan avatar Oct 19 '21 11:10 kenti-lan

@devopvoid

kenti-lan avatar Oct 20 '21 05:10 kenti-lan

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

devopvoid avatar Oct 21 '21 13:10 devopvoid

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

kenti-lan avatar Oct 25 '21 13:10 kenti-lan

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.

devopvoid avatar Oct 25 '21 13:10 devopvoid

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 avatar Oct 25 '21 13:10 kenti-lan

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

kenti-lan avatar Oct 31 '21 14:10 kenti-lan

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.

hussainasad6696 avatar Apr 28 '22 06:04 hussainasad6696

Hello @ devopvoid

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

redoriental avatar Dec 28 '22 11:12 redoriental

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

devopvoid avatar Dec 28 '22 17:12 devopvoid

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 。

skill7899 avatar Dec 19 '23 07:12 skill7899