By claudiodepace
on Fri, 10/11/2013 - 16:49
Hi,
I'm currently using the VideoPlayback demo code. I have set the EXAMPLE_CODE_REMOTE_FILE macro in order to run this code:
#ifdef EXAMPLE_CODE_REMOTE_FILE // Load a remote file for playback for (int i = 0; i < NUM_VIDEO_TARGETS; ++i) { VideoPlayerHelper* player = [arView getVideoPlayerHelper:i]; NSLog(@"load remote file"); [player load:@"http://download.wavetlan.com/SVV/Media/HTTP/H264/Other_Media/H264_test7_voiceclip_mp4_480x360.mp4" playImmediately:NO fromPosition:VIDEO_PLAYBACK_CURRENT_POSITION]; }
the file is loaded but only the audio is played. Any idea about what could be the problem?
thanks a lot
VideoPlayback on remote video
The video player uses the underlying iOS player, so if this supports the video then great, if not then the codec perhaps is not suitable.
Try playing it with some native code as a test.
N
VideoPlayback on remote video
Hi,
thanks for your answer. Could you please be more specific and provide some test code?
thanks a lot
VideoPlayback on remote video
Could you please be more specific and provide some test code?
Really, this is up to you. Search the web and/or search the Apple documentation.
VideoPlayback on remote video
Hi,
VideoPlayback on remote video
instead the same video works in local but not in remote
You did not mention this in the original post, which is the reason I suggested writing some test code to get it to play at all.
VideoPlayback on remote video
Thanks for your answer,
VideoPlayback on remote video
FYI the sample uses a movie encoded using iMovie 09 if that's any help.
N