Read udp image in gluon mobile - mobile

Hi How to read a coded image in bytearrayinputstream on mobile gluon While android does not recognize the ImageIO.read () function and that bitmap does not exist sir gluon The image is sent in UDP

Related

Not able to record audio with mobile microphone in reactJS. But I can record audio on web its working fine

I am using react-media-recorder library in reactjs to record audio. when I open on mobile browser using x.x.x.x:port no. audio is not recording on mobile browser. Its showing insecure connection.`
`

React, open mobile camera on web

I have a React web app and I want that the user click a button an open the camera if it's in mobile device, in order to select pictures from the gallery or take photos directly with the camera. With React Native is quit easy, but I need to do it in web, with browers.
I have test the npm library https://www.npmjs.com/package/react-webcam but that library display the webcam in the web, I want to open the mobile interface, any idea?
You cannot access native android libraries with reactJS(that's why we use React-Native or Android SDK), someone is still to create a library for this.
You can always ask the user to upload an image instead.
Code:
https://codesandbox.io/s/elated-shannon-5yg9x?file=/src/index.js

codeName one : full duplex conversation

I have a camera with a microphone and a speaker.
I want to make a full duplex audio communication between the browser of a terminal device and this camera.
Is it possible with CodeName One?
If so, can I have a tutorial?
We don't have a tutorial for this. If you want to use a browser within the app to do this you can use the BrowserComponent notice that this won't behave the same on the simulator and the device.

Titanium Appcelerator upload video for iphone and android

I would like to know which are all format of a video that should be converted when you upload a video on mobile device (Android and Iphone).
This is for a Titanium Appcelerator App.
User should be able upload video from mobile (Android or Iphone) and this should be visible by both device.
In html5 the format of video should be .webm, .ogg and .mp4 (and flv for old browser).
For mobile app?
Thanks
This has already been asked.
What video formats are compatible with the assets library?
Essentially it depends on your device, but I would just stick with H.264 AAC and you will most likely be fine, either way this all depends on your server side to convert the video to a universal format and deliver, this is not so much a mobile / TItanium question.

How to play .3gp videos in mobile using RTMP (FMS) and HTTP?

I am not able to play video on mobile device which is .3gp container and H.263 / AMR_NB encoded. I just want to play my website videos in mobile device also just like youtube.com. I want to use RTMP and HTTP both. My requirement is as follows-
Which codec and container will be best?
Should I use FLV to play video on mobile device?
RTSP required or can be use RTMP?
Is NetStream and NetConnection methods different from Flash Player in Flash Lite Player?
How to play 3gp video using RTMP stream ie. ns.play(“mp4:mobilevideo.3gp”, 0, -1, true) is it ok or any thing else required?
For mobile browser and computer browser, can I use single player or I have to make different player for computer browser and mobile browser?
It would be better if I can do it with single player for both mobile and computer browser.
Sample code required for testing. If you can.
I got below article in which they mention that we can play video 3gp container in mobile also. Please find the article.
Articles URL-
http://www.hsharma.com/tech/articles/flash-lite-30-video-formats-and-video-volume/
http://www.adobe.com/devnet/logged_in/dmotamedi_fms3.html
Thanks
Sunil Kumar
We've established that it's possible to play mp4 within a 3gp wrapper, but only if the file has an mp4 extension, and for Flash 9 onwards.
See http://www.adobe.com/eeurope/products/hdvideo/faq/
Hi I am not able to play video on mobile device which is .3gp container and H.263 /AMR_NB encoded. I just want to play my website videos in mobile device also just like youtube.com. I want to use RTMP and HTTP both. My requirement is as follows-
Which codec and container will be best?
Should I use FLV to play video on mobile device?
RTSP required or can be use RTMP?
.flv is not supported on all devices that support FL 3.0. Please refer to the following threads in the nokia discussion forum:http://discussion.forum.nokia.com/forum/showthread.php?p=731458#post731458 regarding transcoding in 3gp to be used in the rtsp server.
You can use http for flv.
Is NetStream and NetConnection methods different from Flash Player in Flash Lite Player?
I have no clue about this.
How to play 3gp video using RTMP stream ie. ns.play(“mp4:mobilevideo.3gp”, 0, -1, true) is it ok or any thing else required?
For the rtsp, you need to setup the darwin streaming server, which is pretty simple to install and then place your 3gp/mp4 files there. There is no need for a netstream object for this. You can simply use the 'play' method with the instance of the video object:
.play(<3gp_Or_mp4__file>);
For mobile browser and computer browser, can I use single player or I have to make different player for computer browser and mobile browser? It would be better if I can do it with single player for both mobile and computer browser.
No clue.
I would recommend you to look at the 3gp players official website at http://www.3gp-player.com .
You can read and get some information about playing 3gp video files on both Desktop/Laptop computers, and cellphones/mobile devices.
Most of the tools offered there are free, and so is the information about all the 3gp player / converters.
Hope this helps you.

Resources