ISBX / apprtc-ios

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

How to read remote audio stream ? #48

Open jasvindersingh-evon opened 8 years ago

jasvindersingh-evon commented 8 years ago

Hi,

First of all this is not an issue. Sorry about that I am putting it up here. No other way.

I am writing an app for audio conferencing and I need access to the remote audio stream.

How can I get that?

hjh006 commented 8 years ago

there is a method:- (void)peerConnection:(RTCPeerConnection )peerConnection addedStream:(RTCMediaStream )stream . You can get video track and audio track here

shravanteegala commented 6 years ago

How I can get Audio Call only,can you help me with some reference link on how

hjh006 commented 6 years ago

probably you can just ignore video track in MediaSream, add audio track only into addedStream:(RTCMediaStream *)stream.

shravanteegala commented 6 years ago

Thanks for your suggestion, But I need both 1).Audio with voice calling. 2).Audio only Calling. then where modify & put both of those. without disturb the pod lock.

hjh006 commented 6 years ago

Can you explain it? I don't really understand your 1) and 2)

shravanteegala commented 6 years ago

Hi, I integrate apartc in my project. video calling is works fine, But I wants to do Audio calling in this. I call [self.client muteVideoIn]; method but video is not muted, its showing video. How to resolve it. please help me.

I need to do Video calling and Audio calling.