Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by ehsan1234 · Aug 26, 2015 at 12:29 PM · androidrecordingunity plugin

cant accese aspectjrt.jar with other jar in unity

im use this library for record sound with pause and play: https://github.com/lassana/continuous-audiorecorder

its ok on android, but when i create jar and try to use jar in unity first sound will record and save, but it cant merge with second sound i think it cant access aspectjrt.jar logcat:

 08-25 11:15:22.654    2318-2765/? E/AudioStreamInSample﹕ can not make /data/snd/read_input_7.pcm
 08-25 11:15:22.654    2318-2765/? E/AudioStreamInSample﹕ can not make /data/input_after_resample.pcm
 08-25 11:15:22.654    2318-2765/? E/AudioStreamInSample﹕ can not make /data/input_before_resample.pcm
 08-25 11:15:22.654    2318-2765/? E/AudioStreamInSample﹕ can not make /data/input_after_samsungrecorder.pcm
 08-25 11:15:22.654    2318-2765/? E/AudioStreamInSample﹕ can not make /data/input_before_samsungrecorder.pcm
 08-25 11:15:22.684    2318-9427/? E/samsungRecord﹕ miccalib file can't created. (/data/snd/miccalib.txt)
 08-25 11:15:24.499    2318-2318/? E/AudioStreamInSample﹕ can not make /data/snd/read_input_8.pcm
 08-25 11:15:24.499    2318-2318/? E/AudioStreamInSample﹕ can not make /data/input_after_resample.pcm
 08-25 11:15:24.499    2318-2318/? E/AudioStreamInSample﹕ can not make /data/input_before_resample.pcm
 08-25 11:15:24.504    2318-2318/? E/AudioStreamInSample﹕ can not make /data/input_after_samsungrecorder.pcm
 08-25 11:15:24.504    2318-2318/? E/AudioStreamInSample﹕ can not make /data/input_before_samsungrecorder.pcm
 08-25 11:15:24.524    2318-9437/? E/samsungRecord﹕ miccalib file can't created. (/data/snd/miccalib.txt)
 08-25 11:15:25.969    9310-9444/? E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #4
     Process: com.tafavotco.kibs, PID: 9310
     java.lang.Error: FATAL EXCEPTION [AsyncTask #4]
     Unity version     : 5.1.1f1
     Device model      : samsung SM-N900
     Device fingerprint: samsung/ha3gxx/ha3g:4.4.2/KOT49H/N900XXUEOB1:user/release-keys
     Caused by: java.lang.RuntimeException: An error occured while executing doInBackground()
             at android.os.AsyncTask$3.done(AsyncTask.java:300)
             at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
             at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
             at java.util.concurrent.FutureTask.run(FutureTask.java:242)
             at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
             at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
             at java.lang.Thread.run(Thread.java:841)
      Caused by: java.lang.NullPointerException
             at com.coremedia.iso.PropertyBoxParserImpl.<init>(PropertyBoxParserImpl.java:67)
             at com.coremedia.iso.IsoFile.<init>(IsoFile.java:59)
             at com.googlecode.mp4parser.authoring.container.mp4.MovieCreator.build(MovieCreator.java:49)
             at com.tafavotco.recorder.Mp4ParserWrapper.append(Mp4ParserWrapper.java:76)
             at com.tafavotco.recorder.Mp4ParserWrapper.append(Mp4ParserWrapper.java:41)
             at com.tafavotco.recorder.AudioRecorder.appendToFile(AudioRecorder.java:228)
             at com.tafavotco.recorder.AudioRecorder.access$6(AudioRecorder.java:227)
             at com.tafavotco.recorder.AudioRecorder$PauseRecordTask.doInBackground(AudioRecorder.java:125)
             at com.tafavotco.recorder.AudioRecorder$PauseRecordTask.doInBackground(AudioRecorder.java:1)
             at android.os.AsyncTask$2.call(AsyncTask.java:288)
             at java.util.concurrent.FutureTask.run(FutureTask.java:237)
             at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
             at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
             at java.lang.Thread.run(Thread.java:841)
Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image aleksey_173 · Jan 29, 2016 at 05:48 PM 0
Share

I am having the same NullReferenceException when calling $$anonymous$$ovieCreator.build. It occurs in Unity, but works fine when i am using the same lib in separate Eclipse java project.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Andriod App crashed when I try to record the video using my app 0 Answers

Microphone Stop Recording When FullScreenMovie Play 0 Answers

Google Play Games plugin for Unity Not Authenticating 9 Answers

How to record video from the screen on android and save it to gallery? 1 Answer

Need best solution to read .db file in android unity app and perform functions 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges