Git Product home page Git Product logo

simple360player_ios's People

Contributors

aralekk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simple360player_ios's Issues

Simulator support

It doesn't look like working on Simulator. Do you think it's possible to support this on Simulators?

managing device position offset while paused

i'm toying with the play/pause feature where upon going from play to pause the motion tracking pauses as well. before going back from pause to play, the orientation of the phone could change. for example, i could resume watching turned 180 degrees from where i was before.

as a result, upon resuming the device orientation tracking will update the view to show me the content that is 180 degrees from the frame in which i paused.

my goal is to make it such that when i resume playback under my new orientation, i will be able to resume watching from the angle in which i left off and still have the device motion tracking update as i move around while the video is playing again.

i'm struggling to understand how i'd accomplish this as i'm not very experienced thinking in 3d graphics.

how would you offset/update the orientation/quaternion based on the previously paused orientation to solve this use case?

Pause not working bug

Just spotted this – if you run the example, pause it for a while and rotating the device a few times will autoplay the video. Even this is at paused mode?

Audio Playback

For mp4 files that have audio I can not get the audio to be included in the playback. The volume property for the underlying AVPlayer is 1.0 but there is still no audio.

Any suggestions?

Memory leaks AVPlayer + SKVideoNode (on physical device)

Hello,

there are huge memory leaks not caused by you developers directly but I think that its Apple's SpriteKit and AVKit.

Steps to reproduce are simple:

  1. downloaded project
  2. migrate to swift 3
  3. build on actual device
  4. play video, at the end of video seek with bar on the beginning and play again
  5. do this couple times
  6. in debug monitor in section with memory you can see that memory is growing all the time during playing
  7. at the end app crash

AVPlayer Looping

I am trying to take action when the video finishes. To do this I subscribed to the AVPlayerItemDidPlayToEndTimeNotification notification. By doing this I noticed that this notification gets called repeatedly after the video finishes, multiple times a second.

I looked into the issue further by setting up KVO on the "rate" property of the player and noticed that after the videos finishes the rate values switches between 0 and 1 repeatedly, multiple times per second.

This explains why AVPlayerItemDidPlayToEndTimeNotification is getting calls so much but does not explain why the rate keeps toggling. The actual on screen video is frozen at the last frame and does not seen to be impacted.

The only thing that breaks this loop is calling videoSpriteKitNode!.pause(). Even this approach is not ideal because you still get a few AVPlayerItemDidPlayToEndTimeNotification notifications before you have a chance to call videoSpriteKitNode!.pause().

Sound doesnt work

I am trying to play the video that is commented in the code but sound doesnt work (iphone 6plus)

memory issue

Memory leak when playing by Xcode profile tool launch app, why?

Dispatch error on dismiss

Hi Aralekk,

I've a dispatch error in rendered fonction when I dismiss my VR Player view.

I've tried debugging this, but have had no success. I was wondering if you would take a look at it possibly.

Thank you,
Pierre-Olivier

VR.mp4 file not playing

The current project compiles and runs on both the simulator and device but just displays a full grey screen.

UIPanGestureRecognizer responds to gestures and I can see and play the VR.mp4 in xcode but still can't see the VP.mp4 video in the app.

device utilization % very high

hi Aralekk,
I found the device getting very hot when running this player(it once induce the system restart), so I analyze with xcode instruments GPU tool, and found:
renderer utilization %: 7082
tiler utilization %:70
86
texture count: 809
device utilization %: 74~89

maybe an issue? or is there any method to lower them? thanks a lot~

Memory Leak

Hi Aralekk,

I've discovered that with long videos, over 20 seconds, there is a major memory leak that causes the app to crash. I believe it is caused by the renderer function.

When reworking the view controller to non stereoscopic, using only left scene camera, there are no memory issues.
I've tried debugging this, but have had no success. I was wondering if you would take a look at it possibly.

Thank you,

Micah

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.