Live stream server and applet to receive rtp packet
hello everybody,
i have seen so many post about the architecture of livestreaming client -server, i opened this topic to discuss about the main problems implementing this,
for me its uncleared how the applet comunicate with the server and how its gonna be implemented, i have seen so many posts about applets to receive rtp trafic from a medialocatro which get it from webcam,the problem is that this is local and not centralized with a web server,
if someone has solution sketch or lines of code please to post ,
thanks in advandce
petrika wrote:
hello everybody,
i have seen so many post about the architecture of livestreaming client -server, i opened this topic to discuss about the main problems implementing this,
for me its uncleared how the applet comunicate with the server If you're talking about the setup for the stream, you have to do that yourself using sockets...
and how its gonna be implemented, Sockets. You should read an article describing how VOD works...
i have seen so many posts about applets to receive rtp trafic from a medialocatro which get it from webcam,the problem is that this is local and not centralized with a web server,Not sure what the problem here is... the applet receives the web cam stream locally and sends it via RTP to a server... Applets run locally on your machine, not on the web server.
Similar Messages
-
Adobe Media Live streaming Server issue.
Adobe Media Live streaming Server. I cant get it to connect with the vhost IP and when it connects with our main IP I was able to bring up a cam and then to check it I closed out the server side and reopened it, started it up and then it wouldnt connect to that same cam page.
Any suggestions?bump
-
How can I keep spam and junk mail coming to my inbox on my phone? I am on a server and my desktop receives most of it in junk or spam mailbox. thanks
Contact your ISP to block SPAM.
-
Live Streaming video and Flex2(3?) + Flash Media Server?
I've seen alot of topic on how to create video sites for
clips, etc. with Flex and Flash Media Server, but how about live
streaming video, like a concert or a seminar. I can't find any
information on this at all, could anyone point me in the right
direction?What you need is grab video/sound form camera/mic, publish it
on FMS and let the other clients play it. In a few steps:
// get camera and mic
var cam:Camera = Camera.getCamera(); // get default camera
var mic:Microphone = Microphone.getMicrophone(); // get
default mic
// if you have VideoDisplay, for monitoring
videoDisplay.attachCamera(cam);
// create new RTMP connection to FMS/your app
var nc:NetConnection = new NetConnection();
// new stream should be create *after* nc has connected, not
before
// so this is executed after the below nc.connect() succeeds
nc.attachEventListener(Event.CONNECT, function(){
var ns:NetStream = new NetStream();
ns.attachCamera(cam);
ns.attachMicrophone(mic);
ns.publish("streamname", "live"); // or "record" if you want
to live+rec
// connect to default instance of app 'appname' on your FMS
nc.connect("rtmp://fms.ip.address/appname");
If you're using Flex2 and FMS2 (the latest FMS is 3), you
might need to
cuange the connection encoding to AMF0 (which is what FMS2
uses) in order for this to work.
Hope this helps; I've written it from my head so it probably
has mistakes, but it's the general workflow; the docs in the
language reference for specific functions mentioned here will also
help. -
Fms live stream server stops sending data around 4+hrs
Hi,
I am having some issues with fms servers livestream connection. My rtmp client connects to the server ok and rtmp data flowing ok for about 4hours, in the wireshark trace I can see that the server just stops sending data roughly after 4hours. The server version is 3.5.1, and I also try it on a 4.0 server the data stops coming from the server as well after 5+hours. There are no errors or any indication of session disconneciton in the diagnostic logs. I have also looked thru the settings in applicaiton.xml and server.xml I just don't see any obviious reason for the issue. I do send rtmp Acknowledgement to server after the client receives "window size" bytes, and the client sends ping response to server. Are there any other that client needs to send back to server? It would be greatly appreciated for any pointers and help. Thanks.Updates:
An interesting observation is that the server stops transmitting data when server-to-client bytes reaches ~4G. The number sounds too much like a system resource limitation. It is a live stream and it is not being recorded so I am not sure where is the 4G limitation coming from. FLVCACHE_MAXSIZE is for recorded stream, I think, and it is set to the default 500MB.
Also, in the access log the check point for connect-continue and play-continue keep showing status of 100, which is supposed to be "Waiting for the application to authenticate.". Is this correct? The connection is successfully connected and play command is successful as shown in the access log. swfVerification is disabled in application.xnl. what does the server waiting for in respect to authentication?
Below is the log:
connect-continue
session
2012-03-22
01:51:24
Eastern Daylight Time
10.200.4.224
10.200.4.172
1176
1
44
_defaultRoot_
_defaultVHost_
live
_definst_
0
100
10.200.4.224
rtmp
rtmp://10.200.4.172/live
rtmp://10.200.4.172/live
file:///mac.flv
LNX 9,0,48,0
4702111234558869871
3183
3840850027
normal
file:///mac.html
play-continue
stream
2012-03-22
01:51:24
Eastern Daylight Time
livestream
10.200.4.172
1176
1
44
_defaultRoot_
_defaultVHost_
live
_definst_
18044
100
10.200.4.224
rtmp
rtmp://10.200.4.172/live
rtmp://10.200.4.172/live
file:///mac.flv
LNX 9,0,48,0
4702111234558869871
3183
3840850027
normal
livestream
rtmp://10.200.4.172/live/livestream
rtmp://10.200.4.172/live/livestream
flv
18085866
0
3829693036
1
file:///mac.html
-1
-1.000000
Any pointers would be greatly appreciated. Thanks. -
Live stream - buffer and replay
Hi,
i have this issue, which i'm pretty sure isn't feasible, but my boss insists that i give it a try, so here we go:
i've developed a video player being used by a commercial TV channel, both for its VOD and live stream. all the video content - live & VOD - is supplied via external CDN, over which i have little (or even no) control.
what we're trying to achieve now, is while the channel's live stream goes on commercials break, to display our own (website's) ads. we can tell when the break begins and when it ends, but we cant' know in advance how long it'll last.
so our plan is to start running our own ads as the break begins, and when it ends - in case the ad is still running, buffer and 'record' the live stream, so when the ad ends the player will display the live stream, but from when its commercials break ended, with a short delay.
is such a thing even possible? i mean displaying live stream with a deliberate delay?
thanks in advance for any thought or idea,
eRezHi,
One way you can do this is to use php script to identify the user agent of the client (http://php.about.com/od/learnphp/p/http_user_agent.htm) and then generate dynamic webpages based on the client (HLS for iOS based clients and HDS for flash based clients). As Apache can only serve static webpages, you'll need to use CQ/MySQL/something else. I've personally not attempted to do so, but this may be a good starting point : http://www.ibm.com/developerworks/linux/tutorials/l-php/
Hope this helps.
Thanks,
Apurva -
today, June 5, wasn't able to watch live stream of pga tour online. why? and what do I need to make it happen?
oh. sorry...
on my computer, I went to pgatour.com.....clicked on a link to watch Live Coverage....
Got sound, but no picture.....there was like a timer wheel going around for a few seconds ...but no picture.
Flash issue?? If so, what can I do to make it work next time?
I do have a PC Work Computer, no problem receiving the picture.
Hope I got more details this time...sorry...and thanks for your help. -
Live stream HDS and HLS with one webpage.
Hello,
First off, I am not a web developer, but I can put together a page if I have to. I have been tasked with setting up our Adobe Media Server 5 for live streaming and have successfully gotten the HDS and HLS streams running. I have created the two pages on our webserver to link to the HDS and HLS streams and I wanted to be able to integrate them into one page so the users don't have to choose the appropriate stream. Can anyone point me to a site or maybe an adobe help on how to do this simply and effectively? Does adobe have some prewritten code for this somewhere?Hi,
One way you can do this is to use php script to identify the user agent of the client (http://php.about.com/od/learnphp/p/http_user_agent.htm) and then generate dynamic webpages based on the client (HLS for iOS based clients and HDS for flash based clients). As Apache can only serve static webpages, you'll need to use CQ/MySQL/something else. I've personally not attempted to do so, but this may be a good starting point : http://www.ibm.com/developerworks/linux/tutorials/l-php/
Hope this helps.
Thanks,
Apurva -
Can you live stream RTMP and HLS
Is it possible to live stream both RTMP and HLS with FMS 4.5?
I want flash users to have the least latency possible using RTMP, and iOS users use HLS.
If this is possible, how can I achieve this?Yes this should be possible..
You can publish on netconnection rtmp://server-ip/livepkgr a stream say "livestream"
On ios, you can susbscribe to http://server-ip:8134/hls-live/livepkgr/_definst_/livestream/livestream.m3u8
On flash, you can subscribe to (Netconnection : rtmp://server-ip/livepkgr streamName: livestream)
Hope it helps -
Live Streaming/broadcasting and latency
Hi,
Can any one of you provide me with details on how much is
latency experienced when live video and audio is streamed using FME
+ FMS + FP.
Ex: A 256 kbps streaming.
Does FME , FMS and FP uses buffering concept? if so, how can
that be tweaked to deliver the live video with reduced latency. Is
it possible to achieve a latency of less or equal to 1 second and
how.
We are using Web Cam, Windows Media Server, Windows Media
Encoder and Windows Media Player to achieve the live streaming of
events. But we end up having a latency of 8 to 15 seconds (in LAN).
This is the major challenge we are facing. We are trying to
find out if FME, FMS and FP can overcome the issues being faced.
TIA,
MohithHi Kevin,
Thanks for the information.
What will be the latency in second, from the point of
capturing till the end user viewing in the FMP, over the internet.
In some article i had seen the information which said that
having 2 seconds of buffering would be appropriate for the end user
to have acceptable limit (performance and quality) for viewing.
Having said 2 seconds of buffering configured, it will sure
add 2 seconds of latency.
This for sure is acceptable if there is no user action to be
expected (Ex: Telecasting of live sports event).
Whereas for senarios like live auctions(of paintings) on the
internet where participants can be present at the auction location
as well as taking part in the auctioning through internet, every
second of latency counts.
your thoughts.
Regards,
Mohith -
Quicktime live streams stop and then repeat
Hi, I'm using firefox 2.0.0.11 and Quicktime 7.3.0
I'm trying to listen to a live stream from a radio station that is a .wax live stream. Everything works fine, however, when the playback marker reaches the right side of the quicktime screen, the stream stops and it returns to the beginning and repeats what it's just played. I'd really like to listen to the whole stream until I decide to stop it. Can anyone help?
SimonThe same thing happened to me, EXCEPT, for me, I realized that if I NEVER touch the controller during the live stream it doesn't stop and loop. It keeps going until the feed ends.
For me, it ONLY stops and loops if I try to use the controller while viewing the live stream.
This is certainly not a fix, but a possible temporary solution for some, while Apple works on fixing this BUG. -
Transconding - Mixing in live streaming Microphone and MP3
Hello,
We intend to develop a Flex client application the user to send audio from your microphone and mp3 at the same time to a server that Flash Media Server.
It would be a mix of microphone and music in mp3 that is playing in the application at the same time transmitted to the listeners.
What will be the version of Flash Media Server that enables this mixing of audio from microphone and music played on the client in flex? Which version of Flash Media Server that can best meet my needs?As of now you won't be able to publish any local content say like mp3 from Flash Client to FMS. You would have to have mp3 file stored on server and then write some kind of logic where your audio content from microphone and mp3 playback is synced. There is no direct way that you can mix two contents and playback it as one stream. And you will need Flash Media Interactive Editon if you plan to write any server-side logic for sync.
-
Mixing in live streaming Microphone and MP3
Hello,
We intend to develop a Flex client application the user to send audio from your microphone and mp3 at the same time to a server that Flash Media Server.
It would be a mix of microphone and music in mp3 that is playing in the application at the same time transmitted to the listeners.
What will be the version of Flash Media Server that enables this mixing of audio from microphone and music played on the client in flex? Which version of Flash Media Server that can best meet my needs?As of now you won't be able to publish any local content say like mp3 from Flash Client to FMS. You would have to have mp3 file stored on server and then write some kind of logic where your audio content from microphone and mp3 playback is synced. There is no direct way that you can mix two contents and playback it as one stream. And you will need Flash Media Interactive Editon if you plan to write any server-side logic for sync.
-
QuickTime Streaming Server and Referenced Movies
Does QTSS adjust it's stream depending on the client device and bandwith like HTTP referenced movies do? Are referenced movies strickly for HTTP delivery or can QTSS make good use of "hinted" reference media?
I can create and stream hinted HD movies with no problem on QTSS. I can also create referenced movies via QuickTime or Compressor and even know how to add the "hinting" perameter to the Compressor workflow for referenced movies. I have the option to use QTSS or the Web Server to stream my HD content but would like to know what is the best option for backward compatibility, browser support, etc.
Thanks, Yo Bro!Yo .. I am appauled at the lack of support for such posts .. and the limited answers for those looking for streaming support.
I am trying to learn too .. currently running EvoLV to provide my solutions .. but it is not enough.
Trying to assemble those of us interested with links.'
Have you found any usefull answers?
C -
Darwin Streaming Server and QTSS Publisher
We have a QTSS server set up on an Xserve and can connect to it using QTSS publisher, the problem comes when we try to connect to a MacbookPro that's running DSS. any connection attempts give an error that the server didn't return a response. the MBP is connected to the xserve and is on the same subnet with no firewalls. is this a limitation of QTSS Publisher?
I must admit I haven't tried it in awhile, but didn't think it had changed that much. If you can actually get the delay down to 0.1 seconds, there's a lot of Keynote users that will be VERY happy to try that out
Maybe you are looking for
-
Photoshop cs5 not working(opening) in vista (32bit)
i cannot access photoshop while accessing it from the start menu shortcut .it says adobe cs5 has stopped working. But can access it through bridge without the filters. please suggest a remidial solution.
-
Problem with Prepared Statement & MS Access
Hi I have tried to find some info about this but can't see anything specific to what I think the problem may be. Hopefully someone can point me in the right direction.I am trying to get information out of an MS Access database using a Prepared Statem
-
Hi experts, We are facing an issue in worklfow for notification.We need to assign a person responsible in QM02 and it triggers a mail whom so ever assigned as a person responsible.Its working fine in sanbox,dev and quality.But for
-
Hi, I have a class composed by some methods, I want to find a way on for implicitly call a method in start and end of every method of my class without coding it. example this is my class : public class MyClass { public void a(){ public void b(){ call
-
Myphone (My iphone) refuses to sync up.
First problem I'm running vista. Okay, here is what happens. I plug in my iphone and itunes sees it. When I do anything to sync to it itunes, it crashes and windows informs that "itunes has stopped working." I get a system tray icon that leads me to