Implementation of RTMP publishing and media streaming based on Flash ActionScript

Source: Internet
Author: User

1 Why use flash ActionScript to implement the RTMP protocol to publish or play media streams, play media streaming, protocol controllable, such as the number of streaming media encryption, mixing and so on.

2 core ideas using the flash socket to establish a TCP binary transmission channel, the binary data is mainly RTMP protocol package and audio and video data, play audio and video using NetStream appendbytes, Publish to rtmp streaming media server by microphone data acquisition and/or network acquisition of audio files and decoding mixes.

3 GitHub Open stream: https://github.com/LucasLorentz/AS3RtmpClient.

4 Flash Raw Socket communication to provide the policy file.

5 As3rtmpclient Push the flow part is not perfect, its code is not complex, can modify the implementation, if you encounter any problems or if you do not bother to contact me to get my modified part of the code.

Implementation of RTMP publishing and media streaming based on Flash ActionScript

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.