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
2 answers

RTMP stream of a+v plays only audio, no video

In Flash, AS3, I am using NetConnection to connect to a RTMP server, then I use NetStream to play a video+audio stream. I attach the stream (attachNetStream) to a flash.media.Video instance that is added to stage (double checked that it is ON the…
webwise
  • 627
  • 10
  • 22
0
votes
2 answers

NetStream TcpClinet Unable to read data from the transport connection

I am using TcpClient. Sometimes get an error: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32…
Musketyr
  • 745
  • 1
  • 16
  • 37
0
votes
1 answer

How to detect NetStream is stopped its publishing of data?

My application is sending live video to AMS so for that I used Netstream.attachCamera(camera) I can able to send live video through NetStream.publish("myStreamingURL', "live"); I stopped netsteaming by using NetStream.close() method, now my problem…
Sathish
  • 1,147
  • 3
  • 10
  • 20
0
votes
1 answer

Checking if video is attached to netstream

I'm working on a video chat application and I'm building a feature where someone who starts a call can switch the call to an audio call. Now the receiver gets a link for the call and when they join the call the application gets their camera and…
Michael Nana
  • 1,969
  • 4
  • 24
  • 36
0
votes
1 answer

Netstream Pause/Unpause Notify will never fire when play video through HTTP

This is so strange that I have no idea how to search it specifically. I googled it and there seems to be that someone has already asked this but no solution replied. The video file is on the server, say, http: //xxx.com/xxx.flv, and I play it using…
0
votes
1 answer

flash media server (FMS) reattach camera to new stream

I'm using flash media server and trying to record the stream but having a problem as I've outlined below. Thanks for taking the time to read this post. How do I detach my camera from one stream and attach it to a new stream? What I'm trying to do is…
0
votes
1 answer

NetStream.seek error Seeking videos

i try to do seek function in NetStream class using Action Script language , The seek is not work correctly . I read about KeyFrames in NetStream , what is the relationship between KeyFrames and seek ? is there other problem of using seek function…
Sameer H. Ibra
  • 1,816
  • 2
  • 17
  • 25
0
votes
1 answer

Is it possible to receive netstream at a different quality

In Flash, I have an application where multiple people are sharing live camera feeds via NetStreams to Flash Media Server/Adobe Media Server at different bit rates and different quality settings. I need the mobile users to receive the live feeds at a…
0
votes
1 answer

Play a NetStream with Flex on Android

I use flex to develop a android app ,and I use Red5 Server as the Media Server to share video data. I want the application to play a NetStream from Red5. var ns:NetStream = new NetStream(nc); var video:Video = new Video(); video.width =…
user59853
  • 1
  • 1
0
votes
1 answer

AS3 NetStream doesn't seem to close

I'm using the following code to reuse a single FLVPlayback component variable. Would anyone know why the NetStream doesn't stop? public function clearVideoPlayer(newSource:String):void { if (_videoFLV) { removeChild(_videoFLV); …
crooksy88
  • 3,849
  • 1
  • 24
  • 30
0
votes
3 answers

Why is rtmfp not working with these parameters and functions?

I wrote some basic functions in ActionScript in order to use RTMFP: import flash.events.NetStatusEvent; import flash.net.NetConnection; import flash.net.NetStream; import flash.ui.Keyboard; private var serverAddress:String =…
Gábor DANI
  • 2,063
  • 2
  • 22
  • 40
0
votes
1 answer

Accessing microphone audio samples before sending through NetStream in AS3

I'm writting p2p voice chat in Flex, with manipulating audio data. I attached audio (microphone) to NetStream and everything works fine. Is there any way to access microphone samples before sending it to other peer? Thank you in advance for your…
Nabuchodonozor
  • 704
  • 1
  • 6
  • 13
0
votes
1 answer

Sending voice in ByteArray via RTMFP

I'm building a voice chat manipulating voice data. I'm getting SAMPLE_DATA (ByteArray) from Microphone and sending it via NetStream send() method. Then i have to convert it back to sound. How can I do it? This is class establishing the…
0
votes
1 answer

flash as3 - one video object, multiple video files

I have one video object and 3 thumbnails which, when clicked, will play different video files. What is the best practice for this situation? Currently I have one net connection, one net stream, and one video object. When a thumbnail is clicked, I…
sol
  • 601
  • 2
  • 10
  • 16
0
votes
0 answers

Receiving multiple NetStream.Connect.Success events fired when it supposedly shouldn't happen

I'm experimenting a bit with NetStream to pass data between players in a online Flash multiplayer game. I use the events dispatches by the NetConnection class so I know what is the current state of my client. For example, when I have a…
Artemix
  • 8,497
  • 14
  • 48
  • 75