alongubkin / alongubkin/phonertc
refreshVideoContainer() fails when there is no remote views
- Dominant language
- Objective-C
- Stars
- 864
- Forks
- 298
- PR merge metrics
- No merged PRs in 30d
Description
Hi there, first of all, many thanks for the great work! I really appreciate it.
I'm currently trying to build a local test app with just my own camera enabled (the local video feed). But the app would crash in PhoneRTCPlugin.swift on line 260, where it says:
`let n = self.remoteVideoViews.count`
`if n == 0 {
return
}`
The runtime error is Bad Access. Any idea how I can fix this? Supposedly the "n" would be 0, and this function would return later, but it never got that far.
Any insight would be greatly appreciated!
**UPDATE**: I just tested the provided demo clients & server. The server worked well, and the clients can see each other. however, when attempting to make a call, both clients would crash immediately due to the issue mentioned above. So, it appears that the app would crash whenever the local feed is being activated without the remote feed.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.