Answer the question
In order to leave comments, you need to log in
WebRTC + phonegap, at least on new devices there is a chance?
I haven't found ready-made implementations yet, but in theory it should work, right?
Answer the question
In order to leave comments, you need to log in
Good afternoon.
I have a bunch of cordova + CrossWalk + WebRTC + media server working.
In general, everything is exactly the same as in a regular browser, but there are significantly fewer resources and there are some limitations.
For example, Cordova can only receive video from the front camera, plus, you need to play tricks with squeezing the video stream, because on phones, as a rule, the Internet is not very fast, and the front camera is already 5MPix often installed.
And to capture the camera and microphone media stream, you need to install additional plugins in the project https://www.npmjs.com/package/cordova-plugin-chrom... for video and https://www.npmjs.com/package /cordova-plugin-chrom... for audio.
You need the str_split
function
For Cyrillic:
mb_regex_encoding('UTF-8');
mb_internal_encoding("UTF-8");
$charlist = preg_split('/(?<!^)(?!$)/u', $string);
$str = 'String';
$str_arr = array();
for ($i=0;$i<=strlen($str)-1;$i++) {
array_push($str_arr, $str[$i]);
}
var_dump($str_arr);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question