|
Home > Archive > Macromedia Flash Server > June 2005 > Different Ways of Loading FLV Files
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Different Ways of Loading FLV Files
|
|
| Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@publi 2005-06-29, 5:45 pm |
| Might be a dumb question. Is there a different in how a flv plays,
depending on how it's loaded?
Option 1:
mediaDisplay.setMedia(flv file);
Option 2:
var filmStream:NetStream = new NetStream(my_nc);
my_movies.attachVideo(filmStream);
filmStream.play("flv file");
Both from a FlashComm server.
The reason I ask is because in Option 2, I can use netStream.seek(desired
location), whereas in Option 1, I have to use mediaDisplay.play(desired
location);
Thanks,
Brandon Lee
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Damian Taggart 2005-06-29, 5:45 pm |
| Hi Brandon,
It's because in option 2 you are executing the seek command on the NetStream
object, whereas Option one you are working directly with the mediaDisplay
component. In order for seek to work you must use a NetStream object because
seek is a method of that class.
Damian Taggart
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@public.gmane.org
Sent: Wednesday, June 29, 2005 9:08 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] Different Ways of Loading FLV Files
Might be a dumb question. Is there a different in how a flv plays,
depending on how it's loaded?
Option 1:
mediaDisplay.setMedia(flv file);
Option 2:
var filmStream:NetStream = new NetStream(my_nc);
my_movies.attachVideo(filmStream);
filmStream.play("flv file");
Both from a FlashComm server.
The reason I ask is because in Option 2, I can use netStream.seek(desired
location), whereas in Option 1, I have to use mediaDisplay.play(desired
location);
Thanks,
Brandon Lee
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@publi 2005-06-29, 5:45 pm |
| Is there any benefit to using netStream vs. the mediaDisplay component?
They're both "streaming" if the FLV is playing from the server, correct?
Thanks
"Damian Taggart" <info-+0HffLu0u/4AvxtiuMwx3w@public.gmane.org>
Sent by: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
06/29/2005 11:49 AM
Please respond to
FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
To
"'FlashComm Mailing List'" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
cc
Subject
RE: [FlashComm] Different Ways of Loading FLV Files
Hi Brandon,
It's because in option 2 you are executing the seek command on the
NetStream
object, whereas Option one you are working directly with the mediaDisplay
component. In order for seek to work you must use a NetStream object
because
seek is a method of that class.
Damian Taggart
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@public.gmane.org
Sent: Wednesday, June 29, 2005 9:08 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] Different Ways of Loading FLV Files
Might be a dumb question. Is there a different in how a flv plays,
depending on how it's loaded?
Option 1:
mediaDisplay.setMedia(flv file);
Option 2:
var filmStream:NetStream = new NetStream(my_nc);
my_movies.attachVideo(filmStream);
filmStream.play("flv file");
Both from a FlashComm server.
The reason I ask is because in Option 2, I can use netStream.seek(desired
location), whereas in Option 1, I have to use mediaDisplay.play(desired
location);
Thanks,
Brandon Lee
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Damian Taggart 2005-06-29, 5:45 pm |
| Hi Brandon,
No I don't think that you can stream an FLV without using the NetStream
class. Without using a NetConnection/NetStream pair you're actually
delivering the content via progressive download which means you can only
seek to points in the FLV that have already been cached on the users
machine. Additionally using NetStream exposes several methods and properties
you can use to track the progress of the FLV during playback, including the
ability to get the duration of files using the undocumented onMetaData
method (see example below).
ns.onMetaData = function (info:Object) {
for (var i in info) {
trace("onMetaData: "+i+" = "+info[i]);
}
totalTime = info.duration;
};
Hope this helps,
Damian
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@public.gmane.org
Sent: Wednesday, June 29, 2005 9:57 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: RE: [FlashComm] Different Ways of Loading FLV Files
Is there any benefit to using netStream vs. the mediaDisplay component?
They're both "streaming" if the FLV is playing from the server, correct?
Thanks
"Damian Taggart" <info-+0HffLu0u/4AvxtiuMwx3w@public.gmane.org>
Sent by: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
06/29/2005 11:49 AM
Please respond to
FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
To
"'FlashComm Mailing List'" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
cc
Subject
RE: [FlashComm] Different Ways of Loading FLV Files
Hi Brandon,
It's because in option 2 you are executing the seek command on the
NetStream
object, whereas Option one you are working directly with the mediaDisplay
component. In order for seek to work you must use a NetStream object
because
seek is a method of that class.
Damian Taggart
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@public.gmane.org
Sent: Wednesday, June 29, 2005 9:08 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] Different Ways of Loading FLV Files
Might be a dumb question. Is there a different in how a flv plays,
depending on how it's loaded?
Option 1:
mediaDisplay.setMedia(flv file);
Option 2:
var filmStream:NetStream = new NetStream(my_nc);
my_movies.attachVideo(filmStream);
filmStream.play("flv file");
Both from a FlashComm server.
The reason I ask is because in Option 2, I can use netStream.seek(desired
location), whereas in Option 1, I have to use mediaDisplay.play(desired
location);
Thanks,
Brandon Lee
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@publi 2005-06-29, 5:45 pm |
| Thanks, that helps.
Brandon
"Damian Taggart" <info-+0HffLu0u/4AvxtiuMwx3w@public.gmane.org>
Sent by: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
06/29/2005 01:11 PM
Please respond to
FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
To
"'FlashComm Mailing List'" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
cc
Subject
RE: [FlashComm] Different Ways of Loading FLV Files
Hi Brandon,
No I don't think that you can stream an FLV without using the NetStream
class. Without using a NetConnection/NetStream pair you're actually
delivering the content via progressive download which means you can only
seek to points in the FLV that have already been cached on the users
machine. Additionally using NetStream exposes several methods and
properties
you can use to track the progress of the FLV during playback, including
the
ability to get the duration of files using the undocumented onMetaData
method (see example below).
ns.onMetaData = function (info:Object) {
for (var i in info) {
trace("onMetaData: "+i+" = "+info[i]);
}
totalTime = info.duration;
};
Hope this helps,
Damian
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@public.gmane.org
Sent: Wednesday, June 29, 2005 9:57 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: RE: [FlashComm] Different Ways of Loading FLV Files
Is there any benefit to using netStream vs. the mediaDisplay component?
They're both "streaming" if the FLV is playing from the server, correct?
Thanks
"Damian Taggart" <info-+0HffLu0u/4AvxtiuMwx3w@public.gmane.org>
Sent by: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
06/29/2005 11:49 AM
Please respond to
FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
To
"'FlashComm Mailing List'" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
cc
Subject
RE: [FlashComm] Different Ways of Loading FLV Files
Hi Brandon,
It's because in option 2 you are executing the seek command on the
NetStream
object, whereas Option one you are working directly with the mediaDisplay
component. In order for seek to work you must use a NetStream object
because
seek is a method of that class.
Damian Taggart
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@public.gmane.org
Sent: Wednesday, June 29, 2005 9:08 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] Different Ways of Loading FLV Files
Might be a dumb question. Is there a different in how a flv plays,
depending on how it's loaded?
Option 1:
mediaDisplay.setMedia(flv file);
Option 2:
var filmStream:NetStream = new NetStream(my_nc);
my_movies.attachVideo(filmStream);
filmStream.play("flv file");
Both from a FlashComm server.
The reason I ask is because in Option 2, I can use netStream.seek(desired
location), whereas in Option 1, I have to use mediaDisplay.play(desired
location);
Thanks,
Brandon Lee
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Dan Tecson 2005-06-29, 5:45 pm |
| I've been able to feed an rtmp feed through the Media Display component.
When I was picking through the Media Display code, I think I saw logic
that determines if it's an rtmp feed, which then creates a NetStream
class... We've had to do some alterations to the Media Display class to
have it use flv streaming services such as Akami so that we could
utilize the CuePoints functionality.
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Damian
Taggart
Sent: Wednesday, June 29, 2005 12:12 PM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Different Ways of Loading FLV Files
Hi Brandon,
No I don't think that you can stream an FLV without using the NetStream
class. Without using a NetConnection/NetStream pair you're actually
delivering the content via progressive download which means you can only
seek to points in the FLV that have already been cached on the users
machine. Additionally using NetStream exposes several methods and
properties you can use to track the progress of the FLV during playback,
including the ability to get the duration of files using the
undocumented onMetaData method (see example below).
ns.onMetaData =3D function (info:Object) {
for (var i in info) {
trace("onMetaData: "+i+" =3D "+info[i]);
}
totalTime =3D info.duration;
};
Hope this helps,
Damian
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@public.gmane.org
Sent: Wednesday, June 29, 2005 9:57 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: RE: [FlashComm] Different Ways of Loading FLV Files
Is there any benefit to using netStream vs. the mediaDisplay component?=20
They're both "streaming" if the FLV is playing from the server, correct?
Thanks
"Damian Taggart" <info-+0HffLu0u/4AvxtiuMwx3w@public.gmane.org>
Sent by: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
06/29/2005 11:49 AM
Please respond to
FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
To
"'FlashComm Mailing List'" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
cc
Subject
RE: [FlashComm] Different Ways of Loading FLV Files
Hi Brandon,
It's because in option 2 you are executing the seek command on the=20
NetStream
object, whereas Option one you are working directly with the
mediaDisplay
component. In order for seek to work you must use a NetStream object=20
because
seek is a method of that class.=20
Damian Taggart
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@public.gmane.org
Sent: Wednesday, June 29, 2005 9:08 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] Different Ways of Loading FLV Files
Might be a dumb question. Is there a different in how a flv plays,=20
depending on how it's loaded?
Option 1:
mediaDisplay.setMedia(flv file);
Option 2:
var filmStream:NetStream =3D new NetStream(my_nc);
my_movies.attachVideo(filmStream);
filmStream.play("flv file");
Both from a FlashComm server.
The reason I ask is because in Option 2, I can use
netStream.seek(desired=20
location), whereas in Option 1, I have to use mediaDisplay.play(desired=20
location);
Thanks,
Brandon Lee
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Frédéric v. Bochmann 2005-06-30, 2:45 am |
| Hi Brandon,
If you look carefully in the streamingmedia api, you will clearly see =
that
the Media Display components and others simply use a NetStream and a
NetConnection to fetch and play the FLV. There is nothing to it.
If you want to have more direct control on what is happening, you can =
redo
the wheel or you can use components that do stuff for you automatically.
That=92s pretty much the question here...
Fredz./=20
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Dan Tecson
Sent: June 29, 2005 4:50 PM
To: FlashComm Mailing List
Subject: RE: [FlashComm] Different Ways of Loading FLV Files
I've been able to feed an rtmp feed through the Media Display component.
When I was picking through the Media Display code, I think I saw logic
that determines if it's an rtmp feed, which then creates a NetStream
class... We've had to do some alterations to the Media Display class to
have it use flv streaming services such as Akami so that we could
utilize the CuePoints functionality.
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Damian
Taggart
Sent: Wednesday, June 29, 2005 12:12 PM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Different Ways of Loading FLV Files
Hi Brandon,
No I don't think that you can stream an FLV without using the NetStream
class. Without using a NetConnection/NetStream pair you're actually
delivering the content via progressive download which means you can only
seek to points in the FLV that have already been cached on the users
machine. Additionally using NetStream exposes several methods and
properties you can use to track the progress of the FLV during playback,
including the ability to get the duration of files using the
undocumented onMetaData method (see example below).
ns.onMetaData =3D function (info:Object) {
for (var i in info) {
trace("onMetaData: "+i+" =3D "+info[i]);
}
totalTime =3D info.duration;
};
Hope this helps,
Damian
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@public.gmane.org
Sent: Wednesday, June 29, 2005 9:57 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: RE: [FlashComm] Different Ways of Loading FLV Files
Is there any benefit to using netStream vs. the mediaDisplay component?=20
They're both "streaming" if the FLV is playing from the server, correct?
Thanks
"Damian Taggart" <info-+0HffLu0u/4AvxtiuMwx3w@public.gmane.org>
Sent by: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
06/29/2005 11:49 AM
Please respond to
FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
To
"'FlashComm Mailing List'" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
cc
Subject
RE: [FlashComm] Different Ways of Loading FLV Files
Hi Brandon,
It's because in option 2 you are executing the seek command on the=20
NetStream
object, whereas Option one you are working directly with the
mediaDisplay
component. In order for seek to work you must use a NetStream object=20
because
seek is a method of that class.=20
Damian Taggart
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@public.gmane.org
Sent: Wednesday, June 29, 2005 9:08 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] Different Ways of Loading FLV Files
Might be a dumb question. Is there a different in how a flv plays,=20
depending on how it's loaded?
Option 1:
mediaDisplay.setMedia(flv file);
Option 2:
var filmStream:NetStream =3D new NetStream(my_nc);
my_movies.attachVideo(filmStream);
filmStream.play("flv file");
Both from a FlashComm server.
The reason I ask is because in Option 2, I can use
netStream.seek(desired=20
location), whereas in Option 1, I have to use mediaDisplay.play(desired=20
location);
Thanks,
Brandon Lee
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D---------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@publi 2005-06-30, 7:45 am |
| The only reason I used the mediaDisplay component was because of the
available cuePoints functionality. I really have no problem with the way
it works. I was only concerned with "seeking". I wanted to make sure
that the mediaDisplay component still allowed for true streaming, not
progressive. As long as my files are truly streaming, WITH the
mediaDisplay component, I'm fine. And as long as mediaDisplay.play() is
AS effective as netStream.seek(), I'm also fine.
What do you think?
Thanks for your help,
Brandon
Frédéric v. Bochmann <fredericbochmann@sympatico.ca>
Sent by: flashcomm-bounces@chattyfig.figleaf.com
06/29/2005 08:23 PM
Please respond to
FlashComm Mailing List <flashcomm@chattyfig.figleaf.com>
To
"'FlashComm Mailing List'" <flashcomm@chattyfig.figleaf.com>
cc
Subject
RE: [FlashComm] Different Ways of Loading FLV Files
Hi Brandon,
If you look carefully in the streamingmedia api, you will clearly see that
the Media Display components and others simply use a NetStream and a
NetConnection to fetch and play the FLV. There is nothing to it.
If you want to have more direct control on what is happening, you can redo
the wheel or you can use components that do stuff for you automatically.
That’s pretty much the question here...
Fredz./
-----Original Message-----
From: flashcomm-bounces@chattyfig.figleaf.com
[mailto:flashcomm-bounces@chattyfig.figleaf.com] On Behalf Of Dan Tecson
Sent: June 29, 2005 4:50 PM
To: FlashComm Mailing List
Subject: RE: [FlashComm] Different Ways of Loading FLV Files
I've been able to feed an rtmp feed through the Media Display component.
When I was picking through the Media Display code, I think I saw logic
that determines if it's an rtmp feed, which then creates a NetStream
class... We've had to do some alterations to the Media Display class to
have it use flv streaming services such as Akami so that we could
utilize the CuePoints functionality.
-----Original Message-----
From: flashcomm-bounces@chattyfig.figleaf.com
[mailto:flashcomm-bounces@chattyfig.figleaf.com] On Behalf Of Damian
Taggart
Sent: Wednesday, June 29, 2005 12:12 PM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Different Ways of Loading FLV Files
Hi Brandon,
No I don't think that you can stream an FLV without using the NetStream
class. Without using a NetConnection/NetStream pair you're actually
delivering the content via progressive download which means you can only
seek to points in the FLV that have already been cached on the users
machine. Additionally using NetStream exposes several methods and
properties you can use to track the progress of the FLV during playback,
including the ability to get the duration of files using the
undocumented onMetaData method (see example below).
ns.onMetaData = function (info:Object) {
for (var i in info) {
trace("onMetaData: "+i+" = "+info[i]);
}
totalTime = info.duration;
};
Hope this helps,
Damian
-----Original Message-----
From: flashcomm-bounces@chattyfig.figleaf.com
[mailto:flashcomm-bounces@chattyfig.figleaf.com] On Behalf Of
Brandon_Krakowsky@MaxwellTrain.com
Sent: Wednesday, June 29, 2005 9:57 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces@chattyfig.figleaf.com
Subject: RE: [FlashComm] Different Ways of Loading FLV Files
Is there any benefit to using netStream vs. the mediaDisplay component?
They're both "streaming" if the FLV is playing from the server, correct?
Thanks
"Damian Taggart" <info@mm-en.com>
Sent by: flashcomm-bounces@chattyfig.figleaf.com
06/29/2005 11:49 AM
Please respond to
FlashComm Mailing List <flashcomm@chattyfig.figleaf.com>
To
"'FlashComm Mailing List'" <flashcomm@chattyfig.figleaf.com>
cc
Subject
RE: [FlashComm] Different Ways of Loading FLV Files
Hi Brandon,
It's because in option 2 you are executing the seek command on the
NetStream
object, whereas Option one you are working directly with the
mediaDisplay
component. In order for seek to work you must use a NetStream object
because
seek is a method of that class.
Damian Taggart
-----Original Message-----
From: flashcomm-bounces@chattyfig.figleaf.com
[mailto:flashcomm-bounces@chattyfig.figleaf.com] On Behalf Of
Brandon_Krakowsky@MaxwellTrain.com
Sent: Wednesday, June 29, 2005 9:08 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces@chattyfig.figleaf.com
Subject: [FlashComm] Different Ways of Loading FLV Files
Might be a dumb question. Is there a different in how a flv plays,
depending on how it's loaded?
Option 1:
mediaDisplay.setMedia(flv file);
Option 2:
var filmStream:NetStream = new NetStream(my_nc);
my_movies.attachVideo(filmStream);
filmStream.play("flv file");
Both from a FlashComm server.
The reason I ask is because in Option 2, I can use
netStream.seek(desired
location), whereas in Option 1, I have to use mediaDisplay.play(desired
location);
Thanks,
Brandon Lee
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=---------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| James Wrubel 2005-06-30, 7:45 am |
| I think the best combination of extensibility vs. performance is Peldi's
FLVPlayer. I found it easier to use and more powerful than the built-in
components, and I liked the player controls much better. I use cue =
points
extensively, so I had to tweak the code in FLVPlayer to allow cue points
that did not occur on whole second intervals, but otherwise it's my =
player
of choice.=20
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@public.gmane.org
Sent: Thursday, June 30, 2005 8:47 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: RE: [FlashComm] Different Ways of Loading FLV Files
The only reason I used the mediaDisplay component was because of the=20
available cuePoints functionality. I really have no problem with the =
way=20
it works. I was only concerned with "seeking". I wanted to make sure=20
that the mediaDisplay component still allowed for true streaming, not=20
progressive. As long as my files are truly streaming, WITH the=20
mediaDisplay component, I'm fine. And as long as mediaDisplay.play() is =
AS effective as netStream.seek(), I'm also fine.
What do you think?
Thanks for your help,
Brandon
Fr=E9d=E9ric v. Bochmann <fredericbochmann-rieW9WUcm8FFJ04o6PK0Fg@public.gmane.org>=20
Sent by: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
06/29/2005 08:23 PM
Please respond to
FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
To
"'FlashComm Mailing List'" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
cc
Subject
RE: [FlashComm] Different Ways of Loading FLV Files
Hi Brandon,
If you look carefully in the streamingmedia api, you will clearly see =
that
the Media Display components and others simply use a NetStream and a
NetConnection to fetch and play the FLV. There is nothing to it.
If you want to have more direct control on what is happening, you can =
redo
the wheel or you can use components that do stuff for you automatically.
That=92s pretty much the question here...
Fredz./=20
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Dan Tecson
Sent: June 29, 2005 4:50 PM
To: FlashComm Mailing List
Subject: RE: [FlashComm] Different Ways of Loading FLV Files
I've been able to feed an rtmp feed through the Media Display component.
When I was picking through the Media Display code, I think I saw logic
that determines if it's an rtmp feed, which then creates a NetStream
class... We've had to do some alterations to the Media Display class to
have it use flv streaming services such as Akami so that we could
utilize the CuePoints functionality.
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Damian
Taggart
Sent: Wednesday, June 29, 2005 12:12 PM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Different Ways of Loading FLV Files
Hi Brandon,
No I don't think that you can stream an FLV without using the NetStream
class. Without using a NetConnection/NetStream pair you're actually
delivering the content via progressive download which means you can only
seek to points in the FLV that have already been cached on the users
machine. Additionally using NetStream exposes several methods and
properties you can use to track the progress of the FLV during playback,
including the ability to get the duration of files using the
undocumented onMetaData method (see example below).
ns.onMetaData =3D function (info:Object) {
for (var i in info) {
trace("onMetaData: "+i+" =3D =
"+info[i]);
}
totalTime =3D info.duration;
};
Hope this helps,
Damian
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@public.gmane.org
Sent: Wednesday, June 29, 2005 9:57 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: RE: [FlashComm] Different Ways of Loading FLV Files
Is there any benefit to using netStream vs. the mediaDisplay component?=20
They're both "streaming" if the FLV is playing from the server, correct?
Thanks
"Damian Taggart" <info-+0HffLu0u/4AvxtiuMwx3w@public.gmane.org>
Sent by: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
06/29/2005 11:49 AM
Please respond to
FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
To
"'FlashComm Mailing List'" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
cc
Subject
RE: [FlashComm] Different Ways of Loading FLV Files
Hi Brandon,
It's because in option 2 you are executing the seek command on the=20
NetStream
object, whereas Option one you are working directly with the
mediaDisplay
component. In order for seek to work you must use a NetStream object=20
because
seek is a method of that class.=20
Damian Taggart
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@public.gmane.org
Sent: Wednesday, June 29, 2005 9:08 AM
To: FlashComm Mailing List
Cc: 'FlashComm Mailing List'; flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] Different Ways of Loading FLV Files
Might be a dumb question. Is there a different in how a flv plays,=20
depending on how it's loaded?
Option 1:
mediaDisplay.setMedia(flv file);
Option 2:
var filmStream:NetStream =3D new NetStream(my_nc);
my_movies.attachVideo(filmStream);
filmStream.play("flv file");
Both from a FlashComm server.
The reason I ask is because in Option 2, I can use
netStream.seek(desired=20
location), whereas in Option 1, I have to use mediaDisplay.play(desired=20
location);
Thanks,
Brandon Lee
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D---------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|
|
|
|
|