ios - How to Display Live Camera Feed in AVPlayer? -


is there way stream live video feed phone camera directly avplayer? seems accept nsurl arguments. how access camera feed , pipe video player?

here's example:

nsstring *videopath = [[nsbundle mainbundle] pathforresource:@"congo" oftype:@"mp4"]; nsurl *videourl = [[nsurl alloc] initfileurlwithpath:videopath]; _player = [avplayer playerwithurl:videourl]; 

this close don't want play movie file.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -