Function description
RTMP protocol is the abbreviation of Real Time Message Protocol (Real Time Information Transfer Protocol). It is an application layer protocol proposed by Adobe Company to solve the problem of multiplexing (Multiplexing) and subcontracting (packetizing) of multimedia data transmission stream.
Provides real- time video request addresses based on the RTMP protocol. Currently supports h264, does not support h265.
Request Example
rtmp://v7.cmsv8.com:6604/3/3?AVType=1&jsession=66d754dd7f41473dbd2&DevIDNO=013300000001&Channel=0&Stream=1
Request parameters
| Parameter name | Parameter type | Must | Example | Parameter meaning |
|---|---|---|---|---|
| jsession | string | Yes | 66d754dd7f41473dbd2 | Session number |
| AVType | string | Yes | 1 | 1 means live video, 2 means listening |
| DevIDNO | string | Yes | 013300000001 | Indicates the device number |
| Channel | string | Yes | 0 | Indicates the channel number, starting from 0 |
| Stream | string | Yes | 1 | 0 main stream, 1 sub stream |