ISBX / apprtc-ios

A native iOS video chat app based on WebRTC
BSD 3-Clause "New" or "Revised" License
1.35k stars 413 forks source link

Local video doesn't be rendered. It doesn't be sent to remote machine on IOS 13 #153

Open linhongyi opened 4 years ago

linhongyi commented 4 years ago

I run the sample. It doesn’t send video to remote, but voice is ok. How could I fix it?

Thanks

NirajCapermint commented 4 years ago

Any solution for this?

linhongyi commented 4 years ago

It's work perfectly to use GoogleWebRTC framework (https://webrtc.org/native-code/ios/). You have to follow above steps to run the sample.

NirajCapermint commented 4 years ago

@linhongyi The problem is with iOS 13. Local video is showing only on landscape mode if I turn device to portrait that it is not working. I am testing on iPhone 7 plus device. On other devices working fine. Any help?

linhongyi commented 4 years ago

@NirajCapermint The video does not display because of libjingle_peerconnection. The framework I couldn't fix it. I replaced libjingle_peerconnection by GoogleWebRTC to achieve our goal.

sanaD13 commented 4 years ago

@linhongyi Replacing libjingle_peerconnection by GoogleWebRTC does not particularly solve the issue as some header files are different.

yasirIqbal11 commented 4 years ago

Any solution??

Offek commented 4 years ago

Hello @linhongyi could you please share how you migrated to GoogleWebRTC from libjingle_peerconnection? Thanks in advance

sanaD13 commented 4 years ago

Hello @linhongyi could you please share how you migrated to GoogleWebRTC from libjingle_peerconnection? Thanks in advance

Try: https://github.com/sanaD13/SDWebRTC

sanaD13 commented 4 years ago

Any solution??

https://github.com/sanaD13/SDWebRTC

maunb commented 4 years ago

Any solution??

https://github.com/sanaD13/SDWebRTC

Hello @sanaD13 your source code in github is a initial project. It's missing pod & webRTC source code. Please check again. Thank you.

maunb commented 4 years ago

I found a good sample https://github.com/crossle/AppRTCMobile

sanaD13 commented 4 years ago

Hi. Check this again. Sorry about that

On Thu, Jan 2, 2020 at 5:29 AM maunb notifications@github.com wrote:

I found a good sample https://github.com/crossle/AppRTCMobile

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ISBX/apprtc-ios/issues/153?email_source=notifications&email_token=AFHSZEWQPA645SY6765ZSZLQ3W6YNA5CNFSM4I2IRTVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH6BO3Y#issuecomment-570169199, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFHSZETM4DRT45VNSIFV3WLQ3W6YNANCNFSM4I2IRTVA .

-- Regards,

Sana Desai Software Developer (iOS Developer)

Offek commented 4 years ago

Hello All, I managed to solve it by compiling the WebRTC code as someone previously recommended. Follow the guide in https://webrtc.org/native-code/ios/ to download all the sources and compile the Xcode project. This project will generate the latest WebRTC framework and corresponding files along with sample application. Use these in your project and make necessary changes to fix errors/warnings to have local video be rendered properly on iOS 13.

sunilju commented 4 years ago

Hello @linhongyi could you please share how you migrated to GoogleWebRTC from libjingle_peerconnection? Thanks

sanaD13 commented 4 years ago

Hello @linhongyi could you please share how you migrated to GoogleWebRTC from libjingle_peerconnection? Thanks

Hey, In this repo I used GoogleWebRTC framework https://github.com/sanaD13/SDWebRTC Hope it helps.

sunilju commented 4 years ago

Hello @linhongyi could you please share how you migrated to GoogleWebRTC from libjingle_peerconnection? Thanks

Hey, In this repo I used GoogleWebRTC framework https://github.com/sanaD13/SDWebRTC Hope it helps.

Your REPO is giving error.

maunb commented 4 years ago

@sunilju I migrated to GoogleWebRTC from libjingle_peerconnection base on this repo: https://github.com/crossle/AppRTCMobile/tree/master/webrtc

  1. In popfile, remove pod 'libjingle_peerconnection' by pod 'GoogleWebRTC'
  2. You need to update render local and remote video base on repo sample
sunilju commented 4 years ago

@sunilju I migrated to GoogleWebRTC from libjingle_peerconnection base on this repo: https://github.com/crossle/AppRTCMobile/tree/master/webrtc

  1. �In popfile, remove pod 'libjingle_peerconnection' by pod 'GoogleWebRTC'
  2. You need to update render local and remote video base on repo sample

Can we solve issue by using 'libjingle_peerconnection' only?

maunb commented 4 years ago

Can we solve issue by using 'libjingle_peerconnection' only?

I mean we remove libjingle_peerconnection. We only use GoogleWebRTC.

sunilju commented 4 years ago

Now i am using GoogleWebRtc but problem is that How to get RtcMediaStreamTrack object for [peerconnection addTrack: streamIds:] method call?

Give me some idea?

sunilju commented 4 years ago

Now i am using GoogleWebRtc but problem is that How to get RtcMediaStreamTrack object for [peerconnection addTrack: streamIds:] method call?

Give me some idea?

Solve This.

sunilju commented 4 years ago

Local and Remote Video not working in GoogleWebRtc?

Anyone help me

shanmugam105 commented 10 months ago

Did you find any solution?