bem.tv on Android devices

213 views
Skip to first unread message

Александр Аланов

unread,
Dec 2, 2014, 6:04:21 AM12/2/14
to be...@googlegroups.com
Hello,

Is it possible to achieve p2p data transfer, or at least play bem.tv stream on Android device?
I use Asus Transformer TF700 device running Android 4.4.2 and I tried both Chrome and built-in Android browser. 
When I open bem.tv, I can see that p2p is off, and play button does not work as well.

Thanks,
Alexander

Flávio Ribeiro

unread,
Dec 2, 2014, 7:10:16 AM12/2/14
to be...@googlegroups.com
Hey Alexander,

Unfortunately, current version of BemTV needs flash. That's how I intercept requests from CDN and try to fetch segments between peers. However, some Android browsers already supports WebRTC and I could make it work installing flash on a Nexus 4: https://twitter.com/flavioribeiro/status/497522528496402432 (don't think that is a viable solution since flash has been discontinued)

Regarding the play button, it should be a Clappr bug and I'll take a deep look on it. The normal workflow is: Clappr detects browser -> clappr looks for the right playback plugin (html5 <video> tag in this case, not enabling p2p) -> clappr plays the video. Can you share your stream URL so I can try to reproduce on my side?

Best,

Flávio Ribeiro 

--
You received this message because you are subscribed to the Google Groups "BemTV: Hybrid CDN/P2P Architecture for HLS Broadcasts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bemtv+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/bemtv.
For more options, visit https://groups.google.com/d/optout.

Alexander Alanov

unread,
Dec 2, 2014, 4:07:13 PM12/2/14
to be...@googlegroups.com
Hello,
I tried to use bem.tv site, so the stream URL is http://cdn.bem.tv/stream/soccer5/playlist.m3u8

dcyl...@gmail.com

unread,
Dec 8, 2014, 1:00:19 PM12/8/14
to be...@googlegroups.com
Hi 

I capter the audio and video from my webcam with Vlc and I segment the stream with "mediastreamsegmenter" like this :

 mediastreamsegmenter -s 10 -i playlist.m3u8 -t 2 -D -f /Library/WebServer/Documents/stream 192.168.69.175:1234

but I have nothing on the player !!!

Flávio Ribeiro

unread,
Dec 9, 2014, 1:07:48 PM12/9/14
to be...@googlegroups.com
Hi,

I don't think your question (?) is related to the thread nor related with BemTV itself but regarding HLS stream generation I would recommend you to use GStreamer by using the pipeline above:

gst-launch-1.0 videotestsrc ! queue ! x264enc ! mpegtsmux name=muxer ! hlssink max-files=10 location="/path/where/your/http/server/is/pointing/to/segment%05d.ts" target-duration=4 playlist-location="/path/where/your/http/server/is/pointing/to/playlist.m3u8"




Flávio Ribeiro 

--
Reply all
Reply to author
Forward
0 new messages