Tom Krcha's FlashRealtime

Hey amigo! These are my notes. I'm Platform Evangelist with Adobe.


Multicast Streaming in Flash Player 10.1 Tutorial

June 30th, 2010

Adobe Developer Connection presents:
Multicast Streaming in Flash Player 10.1

This video-tutorial shows how to build a simple Broadcaster/Receiver system with P2P Multicast in Flash Player 10.1 using NetStream and Camera classes.

Link to Adobe TV site

Download sample files

Learn more: Read Multicast Explained in Flash Player 10.1

Where to go from here

Check other tutorials regarding P2P in Flash:

- File Sharing over P2P in Flash with Object Replication
- P2P GroupSpecifier Class Explained In Details Part 1
- Multicast Explained in Flash 10.1 P2P
- Directed Routing Explained in Flash 10.1 P2P
- Simple chat with P2P NetGroup in FP 10.1

Video tutorials:
- P2P Chat with NetGroup in Flash Player 10.1
- Multicast Streaming in Flash Player 10.1 Tutorial

Facebook comments:

11 Comments »

  1. [...] Developing Multicast Streaming in Flash Player 10.1 [...]

    Pingback by Multicast Explained in Flash 10.1 P2P — FlashRealtime.com — July 1, 2010 @ 9:43 am

  2. Tom, hi!
    I’ve tried to use your example applicaation and I ‘m upset, because somthing is wrong. Outputs NetStream Error and links to setupStream function and also on line with code:stream.attachCamera(cam);but as it seems to me I just put your mxml files(Broadcaster and Receiver in new projects
    with the same names as mxml files in FlashBuilder 4…and could’not solve thiis problem, may be you know ow to fix it
    thanks!

    Comment by Dima — July 17, 2010 @ 9:49 pm

  3. [...] Video tutorials: - P2P Chat with NetGroup in Flash Player 10.1 - Multicast Streaming in Flash Player 10.1 Tutorial [...]

    Pingback by Video-on-Demand over P2P in Flash Player 10.1 with Object Replication — FlashRealtime.com — July 28, 2010 @ 8:00 pm

  4. [...] Multicast Streaming in Flash Player 10.1 Tutorial Possibly related posts: (automatically generated)Grading the Bill Categories: Flash Tags: Flash Player 10, p2p Comments (0) Trackbacks (0) Leave a comment Trackback [...]

    Pingback by The next big thing: Adobe Flash P2P « Flash Video Technology and Optimizations — July 30, 2010 @ 8:06 pm

  5. I have the same issue as Dima. It works on my local machine, but not when I upload it to the server.

    Comment by Ziad — August 6, 2010 @ 7:10 pm

  6. [...] me to help him solve a problem that was getting when testing Tom Krcha’s example files of his Multicast Streaming tutorial, the files he was using were the same included in Tom’s tutorial except for the Stratus [...]

    Pingback by Multicast Streaming in Flash Player 10.1 revisited | .swfgeek — August 11, 2010 @ 3:01 am

  7. I just posted the solution to the “Error #2154″ in my blog:
    http://www.swfgeek.net/2010/08/10/multicast-streaming-in-flash-player-10-1-revisited/

    Comment by Dave Gamez — August 11, 2010 @ 3:07 am

  8. …tutorial has a problem, please fix it.

    Comment by Dima — August 13, 2010 @ 5:46 pm

  9. @Dima I posted a fix on my blog http://bit.ly/9zev6P

    Comment by Dave Gamez — August 14, 2010 @ 4:30 am

  10. Hi Tom,
    great tutorial, quick question:
    You transfer the video by using getCamera on the sending site and attachNetStream on a Video object on the receiving side. But what about audio?
    I managed to get the audio input via Microphone.getMicrophone() and I am sending it over the same NetStream as the video. But how do I handle the audio on the receiving side?
    Many thanks,
    Stef

    Comment by Moodsoup — August 18, 2010 @ 11:03 pm

  11. I am one step closer to adding audio to the video chat as well.
    You just have to capture the mic on the receiving side and attach it to the netstream.
    On the receiving side, you just play the netstream, no further actions necessary.

    There is one weird problem though:
    If I set up a connection between a sending and a receiving side, there is no problem as long as I keep complete quiet. But the moment I make a sound, the flash player and/or browser on the receiving side crashes. I googled the problem and it has been replicated but I haven’t come across a solution yet. Any help?

    Project is done in Flash CS5, compiled for player 10 and played in a browser with flash player 10.1. Crashes as well on Mac/safari as on PC/Explorer.

    Weird…

    Comment by Moodsoup — August 20, 2010 @ 12:12 am

RSS feed for comments on this post. / TrackBack URL

Leave a comment