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

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -