Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-13-2005, 11:57 AM   #1
Registered User
Join Date: Aug 2005
Posts: 1
Default Can't play video from live stream

My prog consists of thee parts: first part - broadcaster - publishes stream to the second part - server. Server republishes it to the other host-address and player tries to play it from there. Streams are created, but there is no picture why it can be, and how I can fix it? Aproximatly my code looks like:

ActionScript Code:
/////////////// BROADCASTER /////////////////////// br_ns = new NetStream(nc); br_ns.attachAudio(source_mic); br_ns.attachVideo(source_cam); br_ns.publish("myStream", "live"); /////////////// SERVER /////////////////////// in_ns = new NetStream(nc); in_ns.setBufferTime(2); in_ns.play("myStream"); out_ns = new NetStream(nc_OTHER); out_ns.setBufferTime(2); out_ns.attachVideo(in_ns); out_ns.attachAudio(in_ns); out_ns.publish("myStream_out", "live"); /////////////// PLAYER /////////////////////// pl_ns = new NetStream(nc_OTHER); pl_ns.setBufferTime(2); myVidObj.attachVideo(pl_ns); pl_ns.play("myStream_out");
In App Inspector all streams are fine: myStream_out is publishing and playing live, but THERE IS NO PICTURE.

But, If player will take the stream just from the broadcaster (without server) all works fine! What can be wrong in server?
kleva82 is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 08:16 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.