haiyangwu / mediasoup-client-android

mediasoup android client side library https://mediasoup.org
MIT License
179 stars 107 forks source link

device.load unsupport video #9

Closed PhilanthropistBright closed 4 years ago

PhilanthropistBright commented 4 years ago

Please! I find do Device Class load(routerRtpCapabilities) and getRtpCapabilities() just return audio sdpmessage

haiyangwu commented 4 years ago

Pls upload more info, eg. the parameter of Device#load.

whatisor commented 4 years ago

Same here: https://github.com/haiyangwu/mediasoup-demo-android/issues/4 I think we lack suitable codecs for android devices. WebApp still work well.

haiyangwu commented 4 years ago

@whatisor pls upload running log from logcat. BTW It's open-source, may you pls debug with your device, figure out the root cause and create a PR ? 👏

whatisor commented 4 years ago

@haiyangwu 1,2 month ago, it works well. Then suddenly, it stops working. Have you changed https://v3demo.mediasoup.org/ setting? I tried with https://github.com/versatica/mediasoup-demo to setup local server, but same issue.

I wonder if https://v3demo.mediasoup.org source is totally same with https://github.com/versatica/mediasoup-demo?

ethand91 commented 4 years ago

@whatisor Could you share what device you are using? Also would be interested in the log and the sdp offer generated by the device.

whatisor commented 4 years ago

@ethand91 I shared log here: haiyangwu/mediasoup-demo-android#4

I am using Android Emulator. It worked with VP8 last time.

haiyangwu commented 4 years ago

@whatisor I just verified on my phone, it's broken now. Maybe some update of https://v3demo.mediasoup.org/ leads to the bug. I'll fix it, but sorry, time not guaranteed 🤫

whatisor commented 4 years ago

@haiyangwu , just please try to remove channels info from video codecs.

PhilanthropistBright commented 4 years ago

@haiyangwu,请尝试从视频编解码器中删除频道信息。

you are right I remove video channel is OK Thanks'

haiyangwu commented 4 years ago

@whatisor Thx, following your advice, a quick fix already committed and it works.