Implementing RTMP Streaming Server: Connection / Create Stream / Play sequence completed, but no video / audio in flashplayer

Hello!

Record RTMPStreaming Server for streaming AVC + AAC video . And it works great with rtmpdump. But I can not get it to work in flowplayer and other flash movie players.

The message sequence after the handshake is similar to the FMS / RED5 / erlyvideo / haxevideo servers : I've tried many options.

From the Chrome debugging console, I can see that all chat messages are sent to the streaming player. The latter is onMetaData. And after that a working sample (rtmp: //flash.tvwmedia.net/LiveVideo//Live300) gets NetStream.Buffer.Full. And streaming from my server fails.

I start with an AVC Header post containing sps / pps. After that, the first AVC image passed. After - AAC heading and AAC sample. And then the AVC / AAC samples. This reset OK with rtmpdump- flv works for me on exit. But flowplayer and others do not work.

  • What could be the problem?
  • Are there any additional threading requirements?
  • Is it possible that a broken h264 stream will cause flashplayer to stop playing? Can I get system messages from a flash player that talk about this?

, :) 2 , , .

+ flv rtmpdump. .


Update:

: , "" (, SetChunkSize). . , , wowza. wowza/red5 ( ).

, RTMP:

  • ChunkStreamID ( )
  • StreamID ( createStream)
  • 128b ank 4Kb
  • / ( , )
  • connect ( )
  • 57 00, 57 01 (/ )
  • 09 ( ) NALU
  • / DCR/
  • /

, :)

, ?


Update:

- Flazr, . . : . , ...


!

+3
2

, , , :

1.

2. /

rtmpdump , . , ++ Ruby. Izumi , Ruby.

http://code.google.com/p/rubyizumi/



++, RTMPd, , - , .

http://www.rtmpd.com/



, Java Player/Server Flazr http://flazr.com/

+2

Flazr, Mondain ( Mondain!).

"-" Flazr. - ( rtmpdump) - - . DEBUG, RTMP- . , Flazr , Red5. , .

+2

Source: https://habr.com/ru/post/1768670/


All Articles