Questions tagged [mediarecorder]

Mediarecorder is the Android class used for recording Audio and Video available since API Level 1. (For the Web-API, use the [web-mediarecorder] tag instead.)

994 questions
0
votes
1 answer

Freeze app with mediarecorder on setVideoSize

I have tablet acer a500 with android 4.0. I can record video by (target size: 176x144): _recorder = new…
Yura Shinkarev
  • 4,684
  • 6
  • 29
  • 51
0
votes
0 answers

Socket between android and php

I'm new to sockets and i want to live broadcast video from my android phone to my php server. The solution i found is to use socket with a PareFileDescriptor as an OutPutFileof the MediaRecorder Here is my code : Client(Android): Socket soc =…
113408
  • 3,144
  • 5
  • 24
  • 50
0
votes
3 answers

Record voice as mp3 in Android

In my android application, I want to record my voice as an MP3 file. But Android's Media Recorder (class that supports audio recording) does not seem to support MP3 format. It seems to allow only 3gp and mpeg4 file formats.…
0
votes
1 answer

Get Object from memory using memory address

I want to know how to get an Object from memory, in my case a MediaRecorder. Here's my class: Mymic class: public class MyMic { MediaRecorder recorder2; File file; private Context c; public MyMic(Context context){ …
113408
  • 3,144
  • 5
  • 24
  • 50
0
votes
0 answers

MediaRecorder video storage after confirmation

Capturing a video is part of an application I'm currently working on. Video capturing and storing works fine. I followed the android tutorial for video capturing and all recorded videos are stored directly after the recording stops. Is there any way…
Seb
  • 194
  • 1
  • 1
  • 14
0
votes
1 answer

Record an incoming call

private void Record() { // TODO Auto-generated method stub Log.d("message","In Record function................."); if(recorder==null) { recorder = new MediaRecorder(); try { //File file = new…
Jay Trivedi
  • 21
  • 1
  • 6
0
votes
1 answer

how to write third party media sink(muxer) in media foundation

Media Sink components fall into two general categories,renderer and archive sink. for playback, I can use windows default renderer. but now I want to encode some file, and write out to a file. does windows media foundation have some sample code…
ayuppie
  • 45
  • 6
0
votes
0 answers

how to record in-app sound and save it as MP3

I'm making an app that makes different sounds (depending on what the user has put in) and i need it to record this sound and save it as an MP3. But i don't know how, i know how to record sound using the phone…
0
votes
1 answer

Difference between camcorderProfile.videoFrameWidth/videoFrameHeight and Camera.Parameters.getSupportedPreviewSizes()

I want to create a video only recording app on HTC Thunderbolt, and I am trying to find a high quality setting to record. I am very confused which setting to choose the size from. 1. CamcorderProfile.videoFrameWidth/Height 2.…
Howy
  • 795
  • 2
  • 9
  • 20
-1
votes
3 answers

Optimize performance of 1920x1080 canvas recording

I would like to make a basic canvas-recorder using the MediaRecorder API to record a webGL (or other) canvas. I want the final video to be 1920x1080 size (even if the actual resolution is lower, AKA i'm fine with it being scaled up). The problem is…
bluejayke
  • 2,773
  • 2
  • 20
  • 50
-1
votes
1 answer

I want to record video in Landscape mode no matter device orientation is portrait or landscape

I am using Media Recorder for recording ,Can Anyone has idea how can to apply Logic? Right now Video recording is happening in Landscape always but it doesn't capturing right orientation ,screen also get rotated private Camera.Size…
Richa Shah
  • 702
  • 1
  • 10
  • 22
-1
votes
1 answer

How to record and store live recording voice in every 5 second time?

I am doing r&d on a voice recording app. I have created a normal voice recording application. In which if I click on record it starts recording and after clicks on stop it stores the file. This is a normal voice recorder app feature. But in my app,…
-1
votes
2 answers

How can I record audio into existing audio file with append mode?

How can I record audio into existing audio file with append mode, which contains both audio recording in single file. Example: I have recorded 1.amr file. Playing time is 00:30 sec, now I have to record another 00:20 sec but file should be same and…
-1
votes
1 answer

Android: What is the right and universal way to set the video size for recording?

I am developing the app for android media record, but some devices have different screen recording resolutions. And it always give me the crash. I am using this code officially from…
user965347
  • 186
  • 1
  • 16
-1
votes
1 answer

How to access the device selection menu?

I want to know if I can access the menu of devices from HTML5 / JavaScript (the menu that I show on the pictures). Menu in Chrome I do't want something like this: https://webrtc.github.io/samples/src/content/devices/input-output/
1 2 3
66
67