Questions tagged [netstream]

The NetStream class opens a one-way streaming channel over a NetConnection.

  • Call NetStream.play() to play a media file from a local disk, a web server, or Flash Media Server.

  • Call NetStream.publish() to publish a video, audio, and data stream
    to Flash Media Server.

  • Call NetStream.send() to send data messages to all subscribed
    clients.

  • Call NetStream.send() to add metadata to a live stream.

  • Call NetStream.appendBytes() to pass ByteArray data into the
    NetStream.

(From this Article)

247 questions
0
votes
1 answer

as3 LiveStream Camera and Microphone

These are my configurations code of live stream video/ audio in my swf file. We use red5 media server . function configureMic() { mic.rate = 22; mic.gain = 50; …
0
votes
1 answer

Flex 3.5 - NetStream - StackOverflow errors when calling publish() after calling close()

I'm getting stack overflow errors when I'm trying to publish() a NetStream after close()ing it. Pasted below is the error stack: Error: Error #1023: Stack overflow occurred. at…
Sri
  • 5,805
  • 10
  • 50
  • 68
0
votes
1 answer

Flash AS3: NetStream buffer control

I have two FLV video players on a stage using two AS3 NetStream objects for playback. I need to have the two players synchronized, meaning that the playback should start when the buffer is full for both streams, and both should be paused when one of…
egyedg
  • 724
  • 1
  • 6
  • 13
0
votes
1 answer

FIle formats in netstream

what are the file frmats supported in netstream, is it that only FLV is supported of how about .avi,.mp4 an all that..... Also, whare are the codec supported here, other than on2 & sorensen..... Please let me know anything that you know.... Thx, AJ
Arjun
0
votes
1 answer

How to play a video while it is loading in Flash AS3?

I have a problem in Flash with AS3 to playing a video mp4, this is a H.264 video with AAC, I try to play video while it is loading as any web site, but my code doesn't work, I have two codes: Using FLVPlayback: var par:Object =…
sgb004
  • 347
  • 4
  • 14
0
votes
1 answer

AS3 error 2126 NetConnection object must be connected

i had this working previously but has stopped working and i cant remember changing anything I am getting the following error ArgumentError: Error #2126: NetConnection object must be connected. at flash.net::NetStream/ctor() at…
Lonergan6275
  • 1,938
  • 6
  • 32
  • 63
0
votes
1 answer

Multiple NetStreams and performance

I need to play multiple (66) synchronized .flv videos in flash. What I do: I create a new NetConnection (one for all NetStreams) var connection: NetConnection, clipper: MovieClip; connection = new NetConnection(); connection.connect(null); I have…
Michal
  • 733
  • 2
  • 6
  • 23
0
votes
1 answer

Can I start or seek to sub-second intervals with NetStream?

I am working on a Flash Video player and am implementing the ability to start a video at x time within the span of an FLV (served from FMS). I am able to start it x seconds into a stream without any issue using netStream.play(source,…
DigTheDoug
  • 1,420
  • 10
  • 20
0
votes
4 answers

netstream play in the middle of a video

I'm using the netstream and video object to play a video in flash. Specifically a mp4 video. What I'm trying to do is start playing the file from a specific position (Ex. 20seconds). However with netstreamObject.seek(20) doesn't work unless the…
Tija
  • 1,691
  • 4
  • 20
  • 33
0
votes
1 answer

Error: "NetStream.Play.StreamNotFound" while playing mp4 file using NetStream object (Actionscript/Flex)

I am using NetStream, NetConnection and Video object to play an mp4 file which is hosted over a web server using http. The mp4 file URL is for example: http://xx.xx.xx.xx/file.mp4 This is an AIR application and the relevant code is pasted…
sunil137
  • 11
  • 1
  • 3
0
votes
1 answer

How to make the video play only when netstream is done loading

I noticed that the play() function of netstream is a mix of loading and playing. But I just want to load it,not to play it.What can I do? I have tried setting the buffertime same as the duration of the video. It didn't work out well...
0
votes
1 answer

(AIR iOS) NetStream.play() blocks microphone access in a Native Extension

We have an AIR Mobile application (iOS) that uses a Native Extension for capturing microphone input. We would like to be able to play a NetStream in the application and capture the mic at the same time. Microphone capture in the Native Extension…
jamix
  • 5,484
  • 5
  • 26
  • 35
0
votes
1 answer

StageVideo/NetStream on Android Downloads Entire Video Before Playing

I am (at long last) at the very end of a VOD project. It works perfectly, except on Android. Basically, on Android video will not play until the entire video has downloaded. A media server was well out of scope, so we are just serving the videos up…
Josh
  • 8,079
  • 3
  • 24
  • 49
0
votes
1 answer

AS3 receiving netstream.send ByteArray

I am trying to get raw audio data from a live stream routed through Red5. I can use netstream.attachAudio(mic) with no issues but understand getting the raw data is not supported. I have code that sends the audio data via ByteArray using…
samc
  • 31
  • 4
0
votes
1 answer

Java based code that replicates Netstream and netconnection

Is there a java api that allows you to use Netstream and netconnection functions from adobe? I'm working on my android app and I am trying to add a video chat feature on the app. Since the rest of the app is already coded in java it doesn't seem…
Michael Nana
  • 1,969
  • 4
  • 24
  • 36