YouTube volume is very low when played during a WebRTC session -
i working on ios app webrtc. during chat, volume fine. if play embedded youtube video through wkytplayerview, volume of video low. if disconnect chat, video volume becomes normal again.
i have tried several things , have been looking @ issue few days. here how setting category audio session;
nserror *error = nil; [[avaudiosession sharedinstance] setcategory:avaudiosessioncategoryplayandrecord withoptions: avaudiosessioncategoryoptionmixwithothers | avaudiosessioncategoryoptiondefaulttospeaker error: &error]; if (error != nil) { nslog(@"problem setting avaudiosession mix others"); }
any appreciated.
afaik, there raised webrtc issues. here's 2 of them:
you may want check given fix putting cl fix problem in platforms. see if works you.
otherwise, can try using mediastream-gain useful controlling rhe volume of microphone input before it's sent accross peer connection in webrtc call.
lastly, may want check thread additional insights on application sharing play youtube videos.
Comments
Post a Comment