googlevr / gvr-ios-sdk Goto Github PK
View Code? Open in Web Editor NEWGoogle VR SDK for iOS
Home Page: http://developers.google.com/vr/ios/
License: Other
Google VR SDK for iOS
Home Page: http://developers.google.com/vr/ios/
License: Other
Assertion failure in -[GCSSphericalMetadataExtractor intFromBytes:withLength:], googlemac/iPhone/CardboardSDK/Source/GCSSphericalMetadataExtractor.mm:201
2016-04-21 13:09:18.633 P2[5984:1078876] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'data == nil || length > 8'
*** First throw call stack:
(0x1835cee38 0x182c33f80 0x1835ced08 0x183f54124 0x1000d3fc4 0x1000d3978 0x1000d3660 0x1000d6398 0x183d49694 0x183d49624 0x183d49798 0x183d1ce78 0x183bac93c 0x183ca32a8 0x1007a1a3c 0x1007ab1e0 0x183b9bc6c 0x1834ac73c 0x183b9bb50 0x183b9ba10 0x183b9b83c 0x183585124 0x183584bb8 0x1835828b8 0x1834acd10 0x184d94088 0x188781f70 0x1000a58a8 0x18304a8b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
I want to get the rotation angle of the head and some info of gyroscope when i use the GVRWidgetView, please provide some APIs or Methods thanks!
2016-05-18 20:06:56.704 Invalid atom size.
2016-05-18 20:06:58.717 Could not create Texture, err = -6683
Failed to create IOSurface image (texture)
2016-05-18 20:06:58.718 [1015:335163] Could not create Texture, err = -6683
I am trying to create a VR application that uses Indoor Location based on your TreasureHunt Demo.
I have the VR and Indoor Location working separately within the one project and can access the position (X and Y) within the TreasureHuntRenderer.m
file.
I am aware that in Normal OpenGL, the View Matrix would be the one to be changed. Would that be the case for the view matrix eyeFromHeadMatrix
in this project?
Thanks,
Tom
I'm getting this error when i build the VideoWidgetDemo using CocaPods 1.0.0, Xcode 7.3, OS X 10.11.4:
ld: library not found for -lPods clang: error: linker command failed with exit code 1 (use -v to see invocation)
Ld /Users/william/Library/Developer/Xcode/DerivedData/VideoWidgetDemo-gciobuvjychjulgwraiodifnopto/Build/Products/Debug-iphonesimulator/VideoWidgetDemo.app/VideoWidgetDemo normal x86_64 cd /Users/william/Documents/ios/cardboard-ios/CardboardSamples/VideoWidgetDemo export IPHONEOS_DEPLOYMENT_TARGET=9.2 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -L/Users/william/Library/Developer/Xcode/DerivedData/VideoWidgetDemo-gciobuvjychjulgwraiodifnopto/Build/Products/Debug-iphonesimulator -L/Users/william/Documents/ios/cardboard-ios/CardboardSamples/VideoWidgetDemo/Pods/CardboardSDK/Libraries -F/Users/william/Library/Developer/Xcode/DerivedData/VideoWidgetDemo-gciobuvjychjulgwraiodifnopto/Build/Products/Debug-iphonesimulator -filelist /Users/william/Library/Developer/Xcode/DerivedData/VideoWidgetDemo-gciobuvjychjulgwraiodifnopto/Build/Intermediates/VideoWidgetDemo.build/Debug-iphonesimulator/VideoWidgetDemo.build/Objects-normal/x86_64/VideoWidgetDemo.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=9.2 -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -ObjC -lCardboardSDK -lc++ -framework AVFoundation -framework AudioToolbox -framework CoreGraphics -framework CoreMedia -framework CoreMotion -framework CoreVideo -framework GLKit -framework MediaPlayer -framework OpenGLES -framework QuartzCore -fobjc-arc -fobjc-link-runtime -lPods -lPods-VideoWidgetDemo -Xlinker -dependency_info -Xlinker /Users/william/Library/Developer/Xcode/DerivedData/VideoWidgetDemo-gciobuvjychjulgwraiodifnopto/Build/Intermediates/VideoWidgetDemo.build/Debug-iphonesimulator/VideoWidgetDemo.build/Objects-normal/x86_64/VideoWidgetDemo_dependency_info.dat -o /Users/william/Library/Developer/Xcode/DerivedData/VideoWidgetDemo-gciobuvjychjulgwraiodifnopto/Build/Products/Debug-iphonesimulator/VideoWidgetDemo.app/VideoWidgetDemo
After a video is running in kGCSWidgetDisplayModeFullscreenVR mode, reload it by:
NSString *videoPath = [[NSBundle mainBundle] pathForResource:@"congo" ofType:@"mp4"];
[_videoView loadFromUrl:[[NSURL alloc] initFileURLWithPath:videoPath]];
and the screen will be in wrong size with a black block on the top.
Hi, the app crash when I call a remote video(about 100MB):
[_videoView loadFromUrl:[NSURL URLWithString:http://cdn2b.download.sample.phncdn.com/videos/201603/18/71401761/vl_1080P_1971.0k_71401761.mp4?rs=50000&ri=50000&ipa=203.186.100.100&s=1459409665&e=1459416865&h=1b52b1217db0a790bc1d79e155697a0e]];
The debug console shows:
Message from debugger: Terminated due to memory issue
Is there any way to call a view controller and the VideoView object inits in a full screen mode?
Thanks! (for iOS)
Been hoping to get an answer (http://stackoverflow.com/questions/36707121/does-gcsvideoview-work-with-youtube-360-degree-live-streaming) for a while. This doesn't work...
NSString *videoPath =@"https://youtu.be/Db-uq08ydI4";
NSURL *nsurl = [NSURL URLWithString: videoPath];
[_videoView loadFromUrl: nsurl];
It says
2016-05-20 13:35:32.797 VideoWidgetDemo[1161:904914] Failed to load video: Operation Stopped
Any ideas?
widgetView:didLoadContent: never gets called after a GCSVideoView or GCSPanoramaView are loaded successfully, and delegates are correct
A few hours ago SDK for iOS has been changed. I have tried to move forward with this new version and this error appears once I've tried to run the app.
Thanks!
Our app let's you open 360 videos, watch them for a certain amount of time, and then it sends you back to the video selection page. After opening 6-7 videos, the app crashes with memory warnings. Is there any chance this library is holding on to resources too long? Is there a way to explicitly clean up?
Any guidance is certainly appreciated. If this is the wrong repo to put issues with the SDK please let me know. And also please open source soon, as I'd love to fix issues and put up PRs.
Thanks.
First of all, I changed the pod file and append a target, actually I am testing the Panorama project, and import the missing "GCSPanoramaView.h" file.
target 'Panorama' do
pod 'CardboardSDK', '~> 0.7.0'
end
Then I get a sad result
[!] Error installing CardboardSDK
!] /usr/bin/curl -f -L -o /var/folders/nd/hbb3rk3n0516qf_7_9d3mqmc0000gn/T/d20160331-5157-ce7nme/file.tgz https://www.gstatic.com/cpdc/97ceadc125bddf66-CardboardSDK-0.7.0.tar.gz --create-dirs
...
Failed to connect to www.gstatic.com port 443: Operation timed out
I understand this is more a VR SDK meant for Cardboard and the likes, but it would be nice to offer touch support. My use case is for showing equirect panos on screen which can be spun/controlled via touch.
Hi !
It would be great to be able to force Fullscreen VR display mode for GVRVideoView. I know there is a way to enable the Cardboard Button which switch to Fullscreen VR display mode but there is no way to switch programmatically ?
Thanks
I want to auto play next one in the VR model,
but i found the next one is no VR model also the glasses mask is exist。
how can i set the videoview displaymode?
I wonder if it is possible to control the initial location of the GVRVideoView video? the sphere? so when the video starts, it can be started from another perspective than the default current one? Thanks.
When use GVRVideoView to play a video, we sometime want to know the Head Position to know which part is playing.
Is there a way to get a value like GVRHeadTransform ? Or something like a simple theta, phi ?
the SDK tip view when i change displaymodeVR .
everytime touch the button.the tip view is show.
how to hide the tipView?
it’s boring. How do I set let him show only once?
Love this ios version, but the only setting we have is the VR mode. Is there a way to turn of distortion of vignette etc...?
If one video is loaded (in either playing or stopped mode), try load another video will crash APP.
[_videoView loadFromUrl:[[NSURL alloc] initFileURLWithPath:videoPath];
It will throw EXC_BAD_ACCESS at com.google.cardboard.RenderThread (9):
#0 0x00000001001ebedc in ion::gfx::Renderer::GetInternalResourceBinder(unsigned long*) const ()
...
0x1001ebed0 <+60>: bl 0x1001ff20c ; std::__1::__hash_iterator<std::__1::__hash_node<std::__1::__hash_value_type<unsigned long, std::_1::shared_ptrion::gfx::Renderer::ResourceBinder >, void>_> std::__1::__hash_table<std::__1::__hash_value_type<unsigned long, std::__1::shared_ptrion::gfx::Renderer::ResourceBinder >, std::__1::__unordered_map_hasher<unsigned long, std::__1::__hash_value_type<unsigned long, std::__1::shared_ptrion::gfx::Renderer::ResourceBinder >, std::__1::hash, true>, std::__1::__unordered_map_equal<unsigned long, std::__1::__hash_value_type<unsigned long, std::__1::shared_ptrion::gfx::Renderer::ResourceBinder >, std::__1::equal_to, true>, ion::base::StlAllocator<std::__1::__hash_value_type<unsigned long, std::__1::shared_ptrion::gfx::Renderer::ResourceBinder > > >::find(unsigned long const&)
0x1001ebed4 <+64>: cbz x0, 0x1001ebee8 ; <+84>
0x1001ebed8 <+68>: ldr x20, [x0, #24]
-> 0x1001ebedc <+72>: ldr x8, [x19, #56]
...
Is there a way to switch to another video smoothly? If use another GCSVideoView, it will show the initialization screen again.
Hello!
Can you share any thoughts on adding an audio callback to the audio engine? This would allow for many interesting procedural audio techniques. Unity has released a Native Audio Plugin SDK which accomplishes this.
Also, what about scheduling of audio events within your existing framework? For example, playSound
could take an additional argument which is a timestamp in the future when this sound should start playing. Check out the Web Audio API for an example of this.
These kinds of concepts are very useful for musical experiences which involve a strict sense of timing and allow for a wider variety of sounds then is reasonable to accomplish with purely sample-based playback.
"Trigger" event is expected to trigger when touching screen (CardboardView or pressing the physical headset button which transmits like touching the screen). That's OK.
However the event is triggered also when nodding the up and down with the head. That's wrong. This is similar to the "Tilt" event which is triggered by nodding on te oriented Z axis.
Nodding up and down the head should be triggering another separate event. The problem appears in the TreasureHunt sample. I'm pretty sure I won't play a shooter game (firing and wasting bullets) by nodding my head up and down!
can not pod success
[!] Error installing CardboardSDK
[!] /usr/bin/curl -f -L -o /var/folders/s9/sss1yz7j76v9br278lz56k5m0000gn/T/d20160516-16103-cbqz4x/file.tgz https://www.gstatic.com/cpdc/4d33147568331bb6-CardboardSDK-0.7.2.tar.gz --create-dirs --netrc
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:01:15 --:--:-- 0curl: (7) Failed to connect to www.gstatic.com port 443: Operation timed out
Is the (i) icon in the bottom left hand corner intentional? Is there a way to get rid of it? Here's a screenshot to show what I'm talking about: http://i.imgur.com/vWBLMkw.jpg
Are there any functions/flags that I can set to switch to fullscreen/non-fullscreen and turn VR on/off other than the buttons included in the player which can be enabled/disabled? In other words, how can I implement a custom fullscreen and VR button? I haven't been able to find them but maybe I'm missing something?
Is there anyway to disable or implement a custom Insert Into Viewer screen? Also, what is the intended functionality to hide said screen when a user is presented with it? I've found sometimes it never goes away, sometimes it goes away rather quickly. Motion of the device seems to possibly impact it? Is it on a timer?
For some reasons, the "pop update" fail.
I can get the GVRSDK-0.8.0.tar.gz by the other way, but how can I install it manual?
Thanks.
After updating pod to 0.7.1 VideoWidgetDemo is not working in stereo mode, the video view playing congo.mp4 is splitted in two, vertically
diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
I download cardboardSDK from https://www.gstatic.com/cpdc/4d33147568331bb6-CardboardSDK-0.7.2.tar.gz
I add CardboardSDK to TreasureHunt.
If I cancel this code _cardboardView.vrModeEnabled = YES;
it can run
Is there any plan to release a bitcode enabled version of library? The one fetched by cocoapod doesn't contain bitcode
Working on iOS with the latest SDK (version 0.8) on iPhone 6, 5C and 4S.
When vrModeEnabled on the GVRCardboardView instance is set to TRUE, a dialog appears to explain that the phone must be placed inside the carboard headset, etc ..stuff for the newbie. However, the dialog keeps appearing each time and its annoying, plus its useless.
Is there currently a way to disable or control the display of this dialog? I think they call it the Startup or Ongoing dialog in Unity ..and that it can be commented somehow.
I got the .h , .a , .bundle from the DemoProject, then import in my project , it can play video .But , when I click the cardboard button . It crashed.
my uiviewcontroller haven't xib. So, I use NSLayoutConstraint;
Code :
@interface PlayerVC (){BOOL _isPaused;}
@Property (nonatomic) GVRVideoView *videoView;
@EnD
(void)viewDidload{
_videoView = [[GVRVideoView alloc]initWithFrame:self.view.frame];
[self.view addSubview:_videoView];
[_videoView setTranslatesAutoresizingMaskIntoConstraints:NO];
NSLayoutConstraint *constraint1 = [NSLayoutConstraint constraintWithItem:_videoView attribute:NSLayoutAttributeTop relatedBy:NSLayoutRelationEqual toItem:self.view attribute:NSLayoutAttributeTop multiplier:1.0 constant:1];
NSLayoutConstraint *constraint2 = [NSLayoutConstraint constraintWithItem:_videoView attribute:NSLayoutAttributeLeft relatedBy:NSLayoutRelationEqual toItem:self.view attribute:NSLayoutAttributeLeft multiplier:1.0 constant:1];
NSLayoutConstraint *constraint3 = [NSLayoutConstraint constraintWithItem:_videoView attribute:NSLayoutAttributeBottom relatedBy:NSLayoutRelationEqual toItem:self.view attribute:NSLayoutAttributeBottom multiplier:1.0 constant:-1];
NSLayoutConstraint *constraint4 = [NSLayoutConstraint constraintWithItem:_videoView attribute:NSLayoutAttributeRight relatedBy:NSLayoutRelationEqual toItem:self.view attribute:NSLayoutAttributeRight multiplier:1.0 constant:-1];
NSArray *array = [NSArray arrayWithObjects:constraint1, constraint2, constraint3, constraint4 ,nil];
[self.view addConstraints:array];
_videoView.delegate = self;
_videoView.enableFullscreenButton = NO;
_videoView.enableCardboardButton = YES;
_isPaused = NO;
NSString *path = [[NSBundle mainBundle] pathForResource:videoName ofType:@""];
NSURL *urlR = [[NSURL alloc] initFileURLWithPath:path];
[_videoView loadFromUrl:urlR];
}
Log :
+[GOOTypography robotoMediumWithSize:]: unrecognized selector sent to class 0x1002aa660
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[GOOTypography robotoMediumWithSize:]: unrecognized selector sent to class 0x1002aa660'
*** First throw call stack:
(0x18174edb0 0x180db3f80 0x181755b44 0x181752bec 0x181650c5c 0x100113f2c 0x1001137e4 0x10010c430 0x100119238 0x1868e4be8 0x1868e4b64 0x1868cc870 0x1868e4454 0x18689cc0c 0x181704728 0x1817024cc 0x1817028fc 0x18162cc50 0x182f14088 0x186916088 0x1001029c8 0x1811ca8b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
I can't see what happen , how to fix this .
When compiling latest examples (0.7.2) using Xcode 7.3.1, there is following warning (output multiple times):
ld: warning: direct access in gvr::Singleton<gvr::ServerLogger>::GetInstance() to global weak symbol gvr::Singleton<gvr::ServerLogger>::GetInstance()::g_instance means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
Changing project's 'Symbols Hidden By Default' did not helped in my case.
Please give a concise version of GVR,I just use the GVRVideoView to play the video. if I integrated the GVRSDK in my app,the volume of APP is too large.thanks
2016-05-20 11:09:04.498 VRMAX[1982:566634] -> registered mono modules 0x1014a81b8
-> applicationDidFinishLaunching()
May 20 11:09:04 VRMAX[1982] : CGContextSetShouldAntialias: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
May 20 11:09:04 VRMAX[1982] : CGContextSetInterpolationQuality: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
May 20 11:09:04 VRMAX[1982] : CGContextScaleCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
May 20 11:09:04 VRMAX[1982] : CGContextTranslateCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
May 20 11:09:04 VRMAX[1982] : CGContextDrawImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
May 20 11:09:04 VRMAX[1982] : CGContextSetBlendMode: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
May 20 11:09:04 VRMAX[1982] : CGContextSetFillColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
May 20 11:09:04 VRMAX[1982] : CGContextFillRects: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
2016-05-20 11:09:04.898 VRMAX[1982:566634] Uncaught exception: NSInvalidArgumentException: *** -[NSPlaceholderString initWithFormat:locale:arguments:]: nil argument
(
0 CoreFoundation 0x0000000184a91918 + 148
1 libobjc.A.dylib 0x00000001840fff80 objc_exception_throw + 56
2 CoreFoundation 0x0000000184a91848 + 0
3 Foundation 0x0000000185362814 + 124
4 Foundation 0x0000000185362710 + 68
5 VRMAX 0x00000001012ee9cc -[GVROverlayView initWithFrame:] + 3228
6 VRMAX 0x00000001012eb588 -[GVRUnityController init] + 104
7 VRMAX 0x00000001012ebba0 createUiLayer + 88
8 VRMAX 0x000000010067260c -[CardboardAppController createUnityView] + 108
9 VRMAX 0x000000010049a140 -[UnityAppController application:didFinishLaunchingWithOptions:] + 1044
10 UIKit 0x00000001897f9704 + 400
11 UIKit 0x0000000189a28130 + 2904
12 UIKit 0x0000000189a2c4b8 + 1672
13 UIKit 0x0000000189a295c0 + 168
14 FrontBoardServices 0x0000000186047790 + 184
15 FrontBoardServices 0x0000000186047b10 + 56
16 CoreFoundation 0x0000000184a48efc + 24
17 CoreFoundation 0x0000000184a48990 + 540
18 CoreFoundation 0x0000000184a46690 + 724
19 CoreFoundation 0x0000000184975680 CFRunLoopRunSpecific + 384
20 UIKit 0x00000001897f2580 + 460
21 UIKit 0x00000001897ecd90 UIApplicationMain + 204
22 VRMAX 0x00000001009db7f0 main + 208
23 libdyld.dylib 0x00000001845168b8 + 4
)
2016-05-20 11:09:04.899 VRMAX[1982:566634] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSPlaceholderString initWithFormat:locale:arguments:]: nil argument'
*** First throw call stack:
(0x184a91900 0x1840fff80 0x184a91848 0x185362814 0x185362710 0x1012ee9cc 0x1012eb588 0x1012ebba0 0x10067260c 0x10049a140 0x1897f9704 0x189a28130 0x189a2c4b8 0x189a295c0 0x186047790 0x186047b10 0x184a48efc 0x184a48990 0x184a46690 0x184975680 0x1897f2580 0x1897ecd90 0x1009db7f0 0x1845168b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
When I alloc init it by code and addsubview, it seems working. However, if I assign the GCSVideoView in the storyboard to a UIView and use IBOutlet, the app will crash at launch. Maybe something wrong in the initWithCoder?
2016-04-04 14:55:54.400 Google360Video[1897:18511] *** Assertion failure in -[GCSVideoView onMetadataParsed:], googlemac/iPhone/CardboardSDK/Source/GCSVideoView.mm:227
2016-04-04 14:55:54.407 Google360Video[1897:18511] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error at CVOpenGLESTextureCacheCreate -6661'
*** First throw call stack:
(
0 CoreFoundation 0x000000010ab65d85 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010a5d9deb objc_exception_throw + 48
2 CoreFoundation 0x000000010ab65bea +[NSException raise:format:arguments:] + 106
3 Foundation 0x000000010a223d5a -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198
4 Google360Video 0x00000001084662d2 -[GCSVideoView onMetadataParsed:] + 838
5 Google360Video 0x0000000108465c3e -[GCSVideoView connection:didReceiveData:] + 421
6 CFNetwork 0x000000010e534a36 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 69
7 CFNetwork 0x000000010e5349da -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 199
8 CFNetwork 0x000000010e534b2f -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 48
9 CFNetwork 0x000000010e509166 _ZL30_NSURLConnectionDidReceiveDataP16_CFURLConnectionPK8__CFDatalPKv + 79
10 CFNetwork 0x000000010e399655 ___ZN27URLConnectionClient_Classic29_delegate_didReceiveDataArrayEv_block_invoke + 293
11 CFNetwork 0x000000010e48fd75 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 100
12 libdispatch.dylib 0x000000010c8613eb _dispatch_client_callout + 8
13 libdispatch.dylib 0x000000010c84348b _dispatch_block_invoke + 716
14 CFNetwork 0x000000010e38860a _ZN19RunloopBlockContext13_invoke_blockEPKvPv + 24
15 CoreFoundation 0x000000010aa5e894 CFArrayApplyFunction + 68
16 CFNetwork 0x000000010e388503 _ZN19RunloopBlockContext7performEv + 137
17 CFNetwork 0x000000010e3883bc _ZN17MultiplexerSource7performEv + 282
18 CFNetwork 0x000000010e3881de _ZN17MultiplexerSource8_performEPv + 72
19 CoreFoundation 0x000000010aa8b301 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
20 CoreFoundation 0x000000010aa8122c __CFRunLoopDoSources0 + 556
21 CoreFoundation 0x000000010aa806e3 __CFRunLoopRun + 867
22 CoreFoundation 0x000000010aa800f8 CFRunLoopRunSpecific + 488
23 GraphicsServices 0x000000010ddaaad2 GSEventRunModal + 161
24 UIKit 0x000000010b1c1f09 UIApplicationMain + 171
25 Google360Video 0x000000010844f06f main + 111
26 libdyld.dylib 0x000000010c89592d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
This is especially jarring when the view is in full-screen or cardboard mode and it reveals the view controller that loaded it momentarily.
A better solution would be to slowly fade the first image out to show the view's background colour and then fade the new image in once loaded.
Alternatively, if control over alpha is provided (see #43) the image could simply swap over once loaded and the app could take control of whether fading occurs or not, but the full screen view should still not disappear.
The first option seems better to me, this being a very high-level component.
I've been unable to get the VideoWidgetDemo sample to play another video file. It shows nothing but white where the video should be followed by the app crashing after a few seconds with "Message from debugger: Terminated due to memory issue."
I've tried videos we encoded as well as videos from this page:
http://photocreations.ca/3D/
And I can't find a single video outside of the provided congo.mp4 that will play on iPad or iOS using the sample. I've tried the same videos in the cardboard-android sdk with no issues. Also, we have a native player application that uses AVFoundation to decode these videos and play them back on the same devices so I don't suspect the device itself is to blame for this.
When I setup my GVRWidgetView (applies to both Panorama and Video) I set enableFullscreenButton to false, because my WidgetView already fills the entire screen.
When I now go into Cardboard mode, a different fullscreen button appears in the top right, that just disables the VR rendering mode. This button does the exact same thing as pressing the back button and going to my GVRWidgetView that fills the screen.
This is very confusing from a user perspective, because I need to put some Views on top of my GVRWidgetView. So when the user disables Cardboard mode by pressing the back button, they see the Views but now they can also disable that mode by pressing the fullscreen button, but without seeing other Views since it is a GLView.
The fullscreen button in Cardboard mode should respect the enableFullscreenButton property or please give as separate property to toggle its visibility.
xcode7.3 ,SDK 0.7.2
i create a GCSVideoView in my ViewController, everything is ok.
but when I change to VR (kGCSWidgetDisplayModeFullscreenVR) ,
the VR view donot have the image,also have the voice and control
I cant find the error please help me
Everything works great except for the fact that if I open the GVRVideoView
view and then close it and then open it again for a couple of times, my app will receive a didReceiveMemoryWarning
and then the jetsam will force close my app!
I wonder if there is a way to make sure when we are closing the VR view, the view is completely released? currently I am doing this:
-(void)viewWillDisappear:(BOOL)animated
{
[_videoView stop];
[_videoView removeFromSuperview];
_videoView = nil;
}
should I do something else too?
Using this SDK for watching 360 videos, the experience is pretty jumpy. Movements in the video happen with the slightest uncontrollable hand movements.
We had this problem in another application, and the experience was greatly improved just be reducing the accelerometer frequency from 60 Hz down to 15 Hz.
Can this library expose the frequency as a setting? I guess in the latest IOS, this is the CMMotionManager.accelerometerUpdateInterval
.
X-Code 7.3.1
iPhone 9.3.1
GVRSDK 0.8.0
I had add a videoview in my viewcontroller, I touch the VR button,
but when i back , the screen video image is black,
kGCSWidgetDisplayModeEmbedded ->kGCSWidgetDisplayModeFullscreenVR->kGCSWidgetDisplayModeFullscreenVR .
i can find my video image anyway
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.