First, explain

 

 

 

 

 

 

A, RTMP

1, rtsp use

rtsp which are included video and audio, but that is only one-way transmission from the implementation of law to the browser, not dialogue. (With GB28181 can handle, the two functions)

Play real-time streaming (video + audio) a RTSP, voice intercom and real-time streaming is not a separate RTSP in transmission.

 

 

2, rtsm how to play in the browser

Scheme 1 vlc browser installed plug,
Scheme 2 by pulling ffmpeg stream rtmp push switch, or sub hls flv rtmp

rtmp player needs browser supports flash, turn hls or flv, on most browsers can play h5, hls and flv flv difference is dependent on flash, hls is based on Apple h5 definition streaming media format.

And demand scenario

He needs this, should not live, such as video surveillance, like, watch live streaming + voice intercom.

 

Do not look at the function, the same function, have different names in different scenarios

 

Guess you like

Origin www.cnblogs.com/fger/p/11520857.html