Steps how to make video streamer with binary data streamer

Steps how to make video streamer with binary data streamer

  

Hi, i'm Fahmi.

I want to ask u how to make the app/project with stream video. I have already use plugin Binary Data Streamer, but i'm still not know how to use binary data streamer ? So, can u tell me about the steps to use binary data streamer ?



Thanks,

Fahmi

Well that depends, Fahmi. I have also been interested in this subject, but specifically for making streaming video work on mobile applications.

One of the things it depends on is what you mean by "stream video" - do you mean you want to play a pre-existing video file from server to client, like with YouTube? Or are you thinking more like a live-streaming video feed over a raw streaming protocol like RTMP or RTSP? It also depends on if your project is web-based or mobile. 

If your project is web-based, you can support either of these cases just by selecting the correct player. In the past, I used JWPlayer to support both video file streaming and live-streaming in a web application with some ease. There are no forge components for JWPlayer, but it would not be terribly difficult to throw together the integration since it's all on the client side. 

If, however, your project is mobile, the answer appears to be a little different. It would appear that there is a video player included as a widget in Service Studio for native mobile development which will allow you to play video files from the server. In fact, there is a forge demo application here which demonstrates this functionality. However, I have yet to find a suitable way to play live-streaming video formats in mobile. 

It seems to me based on the research I did a few months ago that it should be possible to use a Cordova plugin which implements the native live-protocol stream players of both iOS and Android, but at that time there were no satisfactory Cordova plugins available. I started playing around with building one myself around that time, but I got busy with other things.

I am very, very interested to hear if others have done any thinking around this subject.

Grayson Udstrand wrote:

Well that depends, Fahmi. I have also been interested in this subject, but specifically for making streaming video work on mobile applications.

One of the things it depends on is what you mean by "stream video" - do you mean you want to play a pre-existing video file from server to client, like with YouTube? Or are you thinking more like a live-streaming video feed over a raw streaming protocol like RTMP or RTSP? It also depends on if your project is web-based or mobile. 

If your project is web-based, you can support either of these cases just by selecting the correct player. In the past, I used JWPlayer to support both video file streaming and live-streaming in a web application with some ease. There are no forge components for JWPlayer, but it would not be terribly difficult to throw together the integration since it's all on the client side. 

If, however, your project is mobile, the answer appears to be a little different. It would appear that there is a video player included as a widget in Service Studio for native mobile development which will allow you to play video files from the server. In fact, there is a forge demo application here which demonstrates this functionality. However, I have yet to find a suitable way to play live-streaming video formats in mobile. 

It seems to me based on the research I did a few months ago that it should be possible to use a Cordova plugin which implements the native live-protocol stream players of both iOS and Android, but at that time there were no satisfactory Cordova plugins available. I started playing around with building one myself around that time, but I got busy with other things.

I am very, very interested to hear if others have done any thinking around this subject.

Hi Grayson Udstrand,

Yes it is. I want to play the video like YouTube video that we know we can streaming the videos. But, here i'm looking for someone that can help me. Because i don't know the steps how to use Binary Data Streamer. I have already look the documentation, guide, visit Stackoverflow looking for answer, but i don't get the answer.


Why do you think you need to use the binary data streamer? Is there some reason you cannot just use the video player component like they do in the "Streamer" forge example?

Grayson Udstrand wrote:

Why do you think you need to use the binary data streamer? Is there some reason you cannot just use the video player component like they do in the "Streamer" forge example?

Hi Grayson,

Ya i know. I think with video player component is enough. But, Binary Data Streamer is a solution from my project manager. So i just do it.

Can u send your oml project ? Because the Streamer forge example like u said can't play the video.


Regarda,

Fahmi.