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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -