Alexey Stepanov
Alexey Stepanov
Most likely it's necessary to add timeout option in FFmpeg call
Прикольно) это в новой версии появилось? да, наверное добавлю эту функцию
Посмотрел, как загружается телефонная книга. В ответ приходят id пользователей в сервисе digits. А откуда берется инфа об именах и никах - непонятно. никаких дополнительных запросов не идет.
Thanks for info, but if I specify user agent and get url to vidman application, ffmpeg crashes with error `RTMP_ReadPacket, failed to read RTMP packet header`. If user agent not...
Metadata can be posted using `-metadata` option of FFmpeg. Without it, error in logcat is ``` java.lang.NullPointerException: Attempt to get length of null array ``` And with `-metadata trackinfo=""` option,...
Sample onMetaData object (from logs.txt in pingBroadcast request): ``` { frameHeight=568, trackinfo=[ { sampledescription=[{ sampletype = "H264"; }], language="eng", description = "{H264CodecConfigInfo: codec:H264, profile:Main, level:2.1, frameSize:320x568, displaySize:320x568, crop: l:0 r:0...
There is something called SDP for posting metadata. [Here](https://www.wowza.com/forums/showthread.php?7016-Using-VLC-with-Wowza-Pro-%28native-RTP%29/page4&p=30425#post30425) is example for `rtpsessioninfo` object, I think for `trackinfo` must be similarly. UPD: no, it will not help.
Found something: `rtmp_conn` ffmpeg option. Allow to write arbitrary AMF connection parameters, even objects.
I tried to [patch](https://gist.github.com/Pmmlabs/3786dc53486e1da1b058) ffmpeg, but one parameter, `sprop-parameter-sets`, somehow doesn't seen in Periscope (i.e. null). I don't know, why.
I edited the [patch](https://gist.github.com/Pmmlabs/3786dc53486e1da1b058) and got it working. Unfortunately, on the screen I see gray porridge instead of video. Audio working great.