A
A
Abc Edc2015-12-13 16:04:00
Video broadcast
Abc Edc, 2015-12-13 16:04:00

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

6 answer(s)
M
midavis, 2016-01-18
@gleber1

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.

A
Alexey Karagodnikov, 2014-04-15
@VenZell

You need the str_split
function For Cyrillic:

mb_regex_encoding('UTF-8');
mb_internal_encoding("UTF-8");
$charlist = preg_split('/(?<!^)(?!$)/u', $string);

B
Bogdan Odarchenko, 2014-04-15
@Neko3

$str = 'строка';
$array = str_split($str);
print_r($str);

V
Vladimir, 2014-04-15
@azrail_dev

substr www.php.net/manual/en/function.substr.php

H
hOtRush, 2014-04-16
@hOtRush

$str = 'String';
$str_arr = array();
for ($i=0;$i<=strlen($str)-1;$i++) {
  array_push($str_arr, $str[$i]);
}
var_dump($str_arr);

M
metnee, 2014-04-17
@metnee

I don't know what your context is. But letters are convenient to take in this way:

$asd = "qwerty";
 echo $asd [0] // выдаст "q"
 echo $asd [2] // выдаст "e"
 echo $asd [100] // выдаст пустоту

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question