`
wilsonxu
  • 浏览: 5766 次
  • 性别: Icon_minigender_1
  • 来自: 广州
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

how to stream audio/video

阅读更多
Finally

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html

General workflow for streaming audio or video. The following steps summarize the workflow for publishing real-time audio and video:

   1. Create a NetConnection object.
   2. Use the NetConnection.connect() method to connect to the application instance on the server.
   3. Create a NetStream object to create a data stream within the connection.
   4. Use the NetStream.attachAudio()method to capture and send audio over the stream and the NetStream.attachCamera() method to capture and send video.
   5. Use the NetStream.publish() method to give the stream a unique name and send data over the stream to the server so that others can receive it. You can also record the data as you publish it, so that users can play it back later.
分享到:
评论

相关推荐

    AviWriter 带demo

    being able to add an audio-stream. Use property OnTheFlyCompression (default is true) Also, now more than one audio file can be added. For each wav-file a delay (ms) can be specified, which says when...

    FFmpeg_ver12430_build

    FFmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. FFmpeg is developed under Linux, but it can compiled under ...

    流媒体服务器源码

    The libraries can also be used to stream, receive, and process MPEG, H.264, H.263+, DV or JPEG video, and several audio codecs. They can easily be extended to support additional (audio and/or video) ...

    HDVsplit DV采集软件

    9. If you don't want to force synchronization of audio and video deselect "Synchronize audio and video" (synchronization is only available when doing scenes splitting). 10. Start capturing by clicking...

    iphone h.264 live encode 实时 硬编码

    I’ve written an example application that demonstrates how to do this, as part of an RTSP server that streams H264 video from the iPhone or iPad camera to remote clients. The end-to-end latency, ...

    HLS-WWWDC-2017

    This protocol allows streaming services to dynamically adapt to network conditions by using adaptive bitrate streaming, where the quality of the video stream adjusts based on the viewer's bandwidth ...

    Voice over IP(VOIP) in networked virtual environments

    **Real-Time Transport Protocol (RTP):** RTP is a key component in VoIP systems used for transmitting audio and video data over IP networks. It is designed to efficiently deliver real-time multimedia ...

    V4L2 API及数据结构

    /* How many buffers to allocate */ __u32 type; /* Buffer type */ __u32 memory; /* Memory type */ __u32 reserved; /* Reserved for future use */ }; ``` ##### 2. `struct v4l2_capability` 此结构体...

    Quick Time File Format

    - **trak** (Track Atom): Represents a single track (audio or video stream) and includes metadata like timecode, compression settings, and spatial information. - **mdia** (Media Atom): Contains details...

    VLC api详解(英文)

    #### How to write a video output plug-in 编写视频输出插件涉及到理解VLC的视频输出架构,并实现相应的接口来渲染视频帧。 #### How to write a YUV plug-in YUV是一种常见的颜色空间模型,用于视频处理。编写YUV...

    USB Complete 3rdEdition

    Stream and Message Pipes 42 Initiating a Transfer 43 Transactions: the Building Blocks of a Transfer 44 Transaction Phases 45 Ensuring that Transfers Are Successful 51 Handshaking 51 Reporting the ...

    Daisy Chain AVB

    标题:“Daisy Chain AVB”(菊花链AVB)涉及到的是一种技术架构的应用,特别是在使用AVB(Audio Video Bridging,音频视频桥接)技术通过以太网传输音频和其他实时内容时,如何利用菊花链方式连接设备。这种方法...

Global site tag (gtag.js) - Google Analytics