christianselig / apollo-bugs

A public bug tracker for Apollo, an iOS Reddit app
228 stars 15 forks source link

Videos not loading properly #423

Open bluemonkey5262 opened 5 years ago

bluemonkey5262 commented 5 years ago

Videos not loading properly, sound will load but the video is just black. Only fix is to manually drag the progress bar back to the start and hit play, skipping back won’t load it properly and exiting out of the video and clicking again does nothing. Happened across multiple subreddits and to 2 separate iPhones and my iPad.

christianselig commented 5 years ago

Can you replicate this with the new 1.6.3 build? If so can you wait a few seconds for the video to load then send me then logs via Settings tab > About > Logs

christian-predebon commented 5 years ago

Do you need all the log? Because I tried to paste it here but it exceeded the maximum limit. I ran into the same issue with an iPhone 8 with iOS 13.1.1 Let me know how can I help you. Ty

christian-predebon commented 5 years ago

Ok I selected what I think you need, the last ten minutes logs. The problem occurred on minute 23:28.

Here you are:

πŸ¦€ [Oct 25, 23:16:59.947] : [ApolloVideoViewController.swift/viewDidDisappear(_:)/61]: Resetting audio to ambient from video controller
🍏 [Oct 25, 23:17:00.566] : [ApolloVideoViewController.swift/viewDidDisappear(_:)/70]: Failed to re-set audio session to ambient with error: Error Domain=NSOSStatusErrorDomain Code=560030580 "(null)"
πŸ¦€ [Oct 25, 23:17:09.186] : [AppDelegate.swift/applicationWillTerminate(_:)/165]: Application will terminate. RAM usage: 32.344573974609375MB
πŸ¦€ [Oct 25, 23:28:54.333] : [##] multi: starting!
πŸ¦€ [Oct 25, 23:28:54.364] : [InboxViewController.swift/fetchInboxItems(append:completion:)/334]: Load Inbox
πŸ¦€ [Oct 25, 23:28:54.554] : [InboxViewController.swift/fetchInboxItems(append:completion:)/334]: Load Inbox
πŸ¦€ [Oct 25, 23:28:54.559] : [PostsViewController.swift/fetchLinks()/1487]: Set pagination
πŸ¦€ [Oct 25, 23:28:54.559] : [PostsViewController.swift/performLinksFetch(withAccount:)/1539]: Fetching posts for Home.
πŸ¦€ [Oct 25, 23:28:54.561] : [PostsViewController.swift/setBarButtonItems(animated:)/1340]: Wrapper: <UIBarButtonItem: 0x15993cac0> view=0x15993c960 Wrapper view frame: (0.0, 0.0, 78.0, 32.0), sortButton frame: (0.0, 0.0, 34.0, 32.0) moreOptions frame: (34.0, 0.0, 44.0, 32.0)
πŸ¦€ [Oct 25, 23:28:54.565] : [PostsViewController.swift/setBarButtonItems(animated:)/1340]: Wrapper: <UIBarButtonItem: 0x159da73b0> view=0x159da7050 Wrapper view frame: (0.0, 0.0, 78.0, 32.0), sortButton frame: (0.0, 0.0, 34.0, 32.0) moreOptions frame: (34.0, 0.0, 44.0, 32.0)
🍏 [Oct 25, 23:28:54.599] : [ASTableViewController.swift/viewDidAppear(_:)/60]: Audio session is not ambient though it should be. It is AVAudioSessionCategory(_rawValue: AVAudioSessionCategorySoloAmbient). Resetting.
πŸ¦€ [Oct 25, 23:28:55.240] : [PostsViewController.swift/handleNewLinks(_:withPagination:error:)/1644]: Set pagination, Optional(<RKPagination: 0x283079040, before: (null), after: t3_dmw71b>)
πŸ¦€ [Oct 25, 23:28:55.264] : [ThumbnailFinder.swift/setThumbnail(fromURL:link:size:completion:)/193]: Found thumbnail URL: Optional(https://preview.redd.it/6j80lmbqqpu31.jpg?width=640&crop=smart&auto=webp&s=36276c140cba51d01c0ab6179b8ef030217f91fb)
πŸ¦€ [Oct 25, 23:28:55.264] : [ThumbnailFinder.swift/setThumbnail(fromURL:link:size:completion:)/193]: Found thumbnail URL: Optional(https://preview.redd.it/39kmljn1i9v21.jpg?auto=webp&s=98c4e6fd209bd5eb5871c2bf39506abf302e7315)
πŸ¦€ [Oct 25, 23:28:55.265] : [ThumbnailFinder.swift/setThumbnail(fromURL:link:size:completion:)/193]: Found thumbnail URL: Optional(https://preview.redd.it/8rkqx6d81nu31.jpg?width=640&crop=smart&auto=webp&s=5fdb2dff60041eeb1d216045cb1c4ee35aab4f2b)
πŸ¦€ [Oct 25, 23:28:55.267] : [ThumbnailFinder.swift/setThumbnail(fromURL:link:size:completion:)/193]: Found thumbnail URL: Optional(https://external-preview.redd.it/ykxNRcEu_V8LGLiMdxWiv-Dc9CqEJWqxpiUF4nw7z2U.png?width=640&crop=smart&format=pjpg&auto=webp&s=a13f4eb1072a4378811e714b0a6a76a5df54c9ac)
πŸ¦€ [Oct 25, 23:28:55.267] : [ThumbnailFinder.swift/setThumbnail(fromURL:link:size:completion:)/193]: Found thumbnail URL: Optional(https://preview.redd.it/w39dqoi8aou31.jpg?width=640&crop=smart&auto=webp&s=8391428ca01cbc79b69388ff5c849d1472f24bf6)
πŸ¦€ [Oct 25, 23:28:55.268] : [ThumbnailFinder.swift/setThumbnail(fromURL:link:size:completion:)/193]: Found thumbnail URL: Optional(https://preview.redd.it/sd5kqsisiou31.jpg?auto=webp&s=515cdf34f63b14eee1ddb58d6d420be329889400)
πŸ¦€ [Oct 25, 23:28:55.271] : [ThumbnailFinder.swift/setThumbnail(fromURL:link:size:completion:)/193]: Found thumbnail URL: Optional(https://preview.redd.it/wmunn3xanou31.png?width=640&crop=smart&auto=webp&s=941a06e6ac366461cef1eb07ea24a464c2588d04)
πŸ¦€ [Oct 25, 23:28:55.271] : [ThumbnailFinder.swift/setThumbnail(fromURL:link:size:completion:)/193]: Found thumbnail URL: Optional(https://preview.redd.it/39mfy9r2zou31.jpg?width=640&crop=smart&auto=webp&s=efbd922fc4a946066a899c1ef9363a44bd4b68af)
πŸ¦€ [Oct 25, 23:28:55.272] : [ThumbnailFinder.swift/setThumbnail(fromURL:link:size:completion:)/193]: Found thumbnail URL: Optional(https://preview.redd.it/lgmww4pvmmu31.jpg?width=640&crop=smart&auto=webp&s=a5e143638b93b43b87c0d0d032eae84259116974)
πŸ¦€ [Oct 25, 23:28:57.548] : [##] multi: starting!
πŸ¦€ [Oct 25, 23:28:58.516] : [ApolloVideoViewController.swift/viewDidLoad()/28]: Changing audio session to playback for use in video controller
πŸ¦€ [Oct 25, 23:29:03.031] : [ApolloVideoViewController.swift/viewDidAppear(_:)/52]: VIDEO DATA: [Video URL: Optional(https://v.redd.it/xpl8fpndanu31/HLSPlaylist.m3u8),
Main Thread: true,
Gravity: AVLayerVideoGravity(_rawValue: AVLayerVideoGravityResizeAspect),
Ready for Display: false,
Layer: <AVPresentationContainerViewLayer: 0x282ab9680>,
Video Bounds: (0.0, 228.0, 375.0, 211.0),
Player Rate: Optional(1.0)]
πŸ¦€ [Oct 25, 23:29:08.011] : [PostsViewController.swift/setBarButtonItems(animated:)/1340]: Wrapper: <UIBarButtonItem: 0x157d49230> view=0x157d47440 Wrapper view frame: (0.0, 0.0, 78.0, 32.0), sortButton frame: (0.0, 0.0, 34.0, 32.0) moreOptions frame: (34.0, 0.0, 44.0, 32.0)
🍏 [Oct 25, 23:29:08.345] : [ASTableViewController.swift/viewDidAppear(_:)/60]: Audio session is not ambient though it should be. It is AVAudioSessionCategory(_rawValue: AVAudioSessionCategoryPlayback). Resetting.
πŸ¦€ [Oct 25, 23:29:08.359] : [ApolloVideoViewController.swift/viewDidDisappear(_:)/61]: Resetting audio to ambient from video controller
🍏 [Oct 25, 23:29:08.972] : [ApolloVideoViewController.swift/viewDidDisappear(_:)/70]: Failed to re-set audio session to ambient with error: Error Domain=NSOSStatusErrorDomain Code=560030580 "(null)"
πŸ¦€ [Oct 25, 23:29:11.889] : [SettingsAboutViewController.swift/viewDidAppear(_:)/223]: AVAudioSession category is: AVAudioSessionCategory(_rawValue: AVAudioSessionCategoryAmbient), mode: AVAudioSessionMode(_rawValue: AVAudioSessionModeDefault), options: AVAudioSessionCategoryOptions(rawValue: 1), isOtherAudioPlaying: false, silencedHint: false