2006/9/27, Don Hopkins <[EMAIL PROTECTED]>:
>
>  I read this interesting tidbit in the flashmediaserver_cs_asd.pdf manual:
>
> Multiple streams can be open simultaneously over one connection, but each
> stream either
>  publishes or plays. To publish and play over a single connection, open two
> streams over the
>  connection, as shown in the following example. This example publishes audio
> and video data
>  in real time on one stream and plays it back on another stream on the same
> client, through the
>  same connection.
>  The video player / recorder test is having an intermittent lock-up problem
> sometimes, when you try to record after playing a video, or sometimes it
> locks up after you stop recording.
>  Maybe the lock-up problem has something to do with trying to use the same
> stream for both directions, consecutively or at once.
>  As it works right now, if you play a video, and then record, it records
> using the same stream.
>  Maybe there is a race condition or problem with it forgetting to shut down
> the play stream before using it to record.
>  Do you think we should keep track of two different streams, created on
> demand, to read and write video?
>


I can only talk about Red5. The issue there was that I had to create a
new NetStream-Object every time i tried to broadcast/publish a stream.
Using the same connection once again didn't work for me so far.
For playing a stream it works for me to use the same NetStream-Object
every time.

Would be nice if there is a option/flag in the stream-class
*createnew=true/false* that forces the stream class to create a new
NetStream-Object every time somebody publish/broadcast/plays a stream.


-- 
Sebastian Wagner
http://www.webbase-design.de
http://www.laszlo-forum.de
Bleichstraße 92
75173 Pforzheim
Tel.: 0177-7341829
Home: 07231-417456
[EMAIL PROTECTED]


_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to