The F value contains an rtmp video stream address. Pay attention to the format, rtmp: // ip/live (stream address)/livestream (instance name)
[Note] for multi-level directories, for example, the address is rtmp: // localhost/vod/AB/c. Two modifications are required for playing in ckplayer:
1. Modify ckplayer. js and ckplayer. ck. pm_spac = '|'; change to ck. pm_spac = ','; (you can use any symbol except the English half-width comma). In this case, | is used to distinguish the rtmp protocol and instance name, and the address is in front of the vertical line, the instance name is followed.
2. When calling the video address, change f: 'rtmp: // localhost/vod/AB/C' to rtmp: // localhost/vod | AB/c
In the index.htm file (as shown in the figure above)
Ckplayer/ckplayer. js file (as shown in the figure above)
Ckplayer/ckplayer. xml file (as shown in the figure above)