Log in or register to post comments

IOS Videoplayback fullscreen error

September 14, 2015 - 11:37am #1

 

HI,

 

am trying to load vidoes dynamically in the videplayback sample.I made changes in playvideo.cs..so that on double tap.the video on texture itgoes full screen.It works fine in android.But when i convert to IOS i get the below error in xcdoe and the app hangs.On double tapping the fullscreen video plays fine but it doesnt return to the app again.Can anyone throw some light in this issue.

 

 

Unity 5.2.0f3

Xcode 6.4

Vuforia 5.0.5

 

 

 

Xcode Debug

 

Double Tap Registered

 

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

 

VideoPlayerHelper.MediaState = PLAYING_FULLSCREEN

 

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

 

StopVuforia

 

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

 

markerTrackerStop

objectTrackerStop

cameraDeviceStopCamera

cameraDeviceDeinitCamera

2015-09-14 23:40:08.753 MBSET1[1197:345378] Unable to simultaneously satisfy constraints.

Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 

(

    "<NSLayoutConstraint:0x1b32cd20 H:|-(34)-[MPKnockoutButton:0x1b23d8f0](LTR)   (Names: '|':_UIBackdropContentView:0x1b3194e0 )>",

    "<NSLayoutConstraint:0x1b32cd50 H:[MPKnockoutButton:0x1b23d8f0]-(34)-[MPDetailSlider:0x1b103b90](LTR)>",

    "<NSLayoutConstraint:0x1b32cd80 H:[MPDetailSlider:0x1b103b90]-(34)-[UIView:0x1b31aae0](LTR)>",

    "<NSLayoutConstraint:0x1b32cdb0 UIView:0x1b31aae0.right == _UIBackdropView:0x1b236fd0.right>",

    "<NSLayoutConstraint:0x1b31ae30 H:|-(0)-[_UIBackdropView:0x1b236fd0]   (Names: '|':MPVideoPlaybackOverlayView:0x1b1f92b0 )>",

    "<NSLayoutConstraint:0x1b31b790 H:[_UIBackdropView:0x1b236fd0]-(0)-|   (Names: '|':MPVideoPlaybackOverlayView:0x1b1f92b0 )>",

    "<NSLayoutConstraint:0x1b330140 '_UITemporaryLayoutWidth' H:[MPVideoPlaybackOverlayView:0x1b1f92b0(0)]>",

    "<NSAutoresizingMaskLayoutConstraint:0x1b32fb70 h=-&- v=-&- _UIBackdropContentView:0x1b3194e0.midX == _UIBackdropView:0x1b236fd0.midX>",

    "<NSAutoresizingMaskLayoutConstraint:0x1b32fba0 h=-&- v=-&- _UIBackdropContentView:0x1b3194e0.width == _UIBackdropView:0x1b236fd0.width>"

)

 

Will attempt to recover by breaking constraint 

<NSLayoutConstraint:0x1b32cd50 H:[MPKnockoutButton:0x1b23d8f0]-(34)-[MPDetailSlider:0x1b103b90](LTR)>

 

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.

The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

2015-09-14 23:40:08.843 MBSET1[1197:345378] Unable to simultaneously satisfy constraints.

Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 

(

    "<NSLayoutConstraint:0x1b32cd20 H:|-(34)-[MPKnockoutButton:0x1b23d8f0](LTR)   (Names: '|':_UIBackdropContentView:0x1b3194e0 )>",

    "<NSLayoutConstraint:0x1b32cd50 H:[MPKnockoutButton:0x1b23d8f0]-(34)-[MPDetailSlider:0x1b103b90](LTR)>",

    "<NSLayoutConstraint:0x1b32cd80 H:[MPDetailSlider:0x1b103b90]-(34)-[UIView:0x1b31aae0](LTR)>",

    "<NSLayoutConstraint:0x1b32cdb0 UIView:0x1b31aae0.right == _UIBackdropView:0x1b236fd0.right - 34>",

    "<NSLayoutConstraint:0x1b31ae30 H:|-(0)-[_UIBackdropView:0x1b236fd0]   (Names: '|':MPVideoPlaybackOverlayView:0x1b1f92b0 )>",

    "<NSLayoutConstraint:0x1b31b790 H:[_UIBackdropView:0x1b236fd0]-(0)-|   (Names: '|':MPVideoPlaybackOverlayView:0x1b1f92b0 )>",

    "<NSAutoresizingMaskLayoutConstraint:0x1b32fb70 h=-&- v=-&- _UIBackdropContentView:0x1b3194e0.midX == _UIBackdropView:0x1b236fd0.midX>",

    "<NSAutoresizingMaskLayoutConstraint:0x1b32fba0 h=-&- v=-&- _UIBackdropContentView:0x1b3194e0.width == _UIBackdropView:0x1b236fd0.width>",

    "<NSAutoresizingMaskLayoutConstraint:0x1b0046a0 h=-&- v=-&- MPVideoContainerView:0x1b234140.width == MPSwipableView:0x1b2345e0.width>",

    "<NSAutoresizingMaskLayoutConstraint:0x1b0ed880 h=-&- v=-&- MPSwipableView:0x1b2345e0.width == MPMovieView:0x1b323360.width>",

    "<NSAutoresizingMaskLayoutConstraint:0x1b22ee50 h=--& v=--& H:[MPMovieView:0x1b323360(0)]>",

    "<NSAutoresizingMaskLayoutConstraint:0x1b31c860 h=-&- v=-&- MPVideoPlaybackOverlayView:0x1b1f92b0.width == MPVideoContainerView:0x1b234140.width>"

 

)

 

Will attempt to recover by breaking constraint 

<NSLayoutConstraint:0x1b32cd50 H:[MPKnockoutButton:0x1b23d8f0]-(34)-[MPDetailSlider:0x1b103b90](LTR)>

 

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.

The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

 
Log in or register to post comments