{"id":6290,"date":"2014-04-15T08:21:45","date_gmt":"2014-04-15T08:21:45","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/15\/problem-about-mpmediaplayercontroller-collection-of-common-programming-errors\/"},"modified":"2014-04-15T08:21:45","modified_gmt":"2014-04-15T08:21:45","slug":"problem-about-mpmediaplayercontroller-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/15\/problem-about-mpmediaplayercontroller-collection-of-common-programming-errors\/","title":{"rendered":"problem about mpmediaplayercontroller-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5ffbd2fd16b07eb9055923e60c67e416?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\niDeveloper<br \/>\nios simulator mpmediaplayercontroller<br \/>\nThe simulator crashes when trying to play audio.13:22:14.211 App [2965:5603] &lt;0xb03e7000&gt; Error &#8216;!obj&#8217; trying to fetch default input device&#8217;s sample rate 13:22:14.211 App [2965:5603] &lt;0xb03e7000&gt; Error getting audio input device sample rate: &#8216;!obj&#8217; 13:22:14.213 App [2965:5603] &lt;0xb03e7000&gt; AQMEIOManager::FindIOUnit: error &#8216;!dev&#8217;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/987289c9aaf7d03e21701710ca0771e1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJomoos<br \/>\niphone objective-c ios mpmediaplayercontroller<br \/>\nNOTE: See the updates at the bottom.I have an application to play videos one by one from a list. So, to test this functionality, I created a simple application with only one view controller. I referenced this blog before implementing this view controller. The view controller is named TNViewController and its implementation is as follows:#import &lt;UIKit\/UIKit.h&gt; #import &lt;MediaPlayer\/MediaPlayer.h&gt;@interface TNViewController : UIViewController {@privateNSMutableArray *_videoArray;int _c<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>iDeveloper ios simulator mpmediaplayercontroller The simulator crashes when trying to play audio.13:22:14.211 App [2965:5603] &lt;0xb03e7000&gt; Error &#8216;!obj&#8217; trying to fetch default input device&#8217;s sample rate 13:22:14.211 App [2965:5603] &lt;0xb03e7000&gt; Error getting audio input device sample rate: &#8216;!obj&#8217; 13:22:14.213 App [2965:5603] &lt;0xb03e7000&gt; AQMEIOManager::FindIOUnit: error &#8216;!dev&#8217; Jomoos iphone objective-c ios mpmediaplayercontroller NOTE: See the updates at the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6290","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6290"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6290\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}