Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An uncaught exception 'NSInvalidArgumentException' #2

Closed
ChandZhang opened this issue Dec 15, 2016 · 1 comment
Closed

An uncaught exception 'NSInvalidArgumentException' #2

ChandZhang opened this issue Dec 15, 2016 · 1 comment

Comments

@ChandZhang
Copy link

包里提供的LiveDemo,在运行时正常,但是到推流界面就会抛出如下异常:
LiveDemo[3886:293054] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[VSVideoCamera setMirrorFrontFacingCamera:]: unrecognized selector sent to instance 0x7fe072d12b40'
只是把使用前置摄像头改为了使用后置摄像头。其他任何参数都没有修改过。

@stayHF
Copy link
Contributor

stayHF commented Dec 17, 2016

因为推流端需要使用到摄像头设备,所以不支持在模拟器上运行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants