A media streaming server based on nginx-rtmp-module. In addtion to the features nginx-rtmp-module provides, HTTP-FLV, GOP cache, VHosts (one IP for multi domain names) and JSON style statistics are supported now.
BSD 2-Clause "Simplified" License
2.75k
stars
571
forks
source link
[bug] Notification call (on_publish) doesn't change HLS stream name based on the 302 redirect #151
RTMP stream published to rtmp://127.0.0.1/app with old-stream-name stream key is playable via RTMP protocol with URL: rtmp://127.0.0.1/app/new-stream-name and improperly at URL: http://127.0.0.1/old-stream-name/index.3u8, it should be http://127.0.0.1/new-stream-name/index.3u8 instead.
Expected behavior
When RTMP stream is pushed do the application, it should generate HLS stream with name based on the location header retrieved from the on_publish URL.
Actual behavior
RTMP stream has proper, changed name. HLS doesn't.
Steps to reproduce the behavior
RTMP stream published to
rtmp://127.0.0.1/app
withold-stream-name
stream key is playable via RTMP protocol with URL:rtmp://127.0.0.1/app/new-stream-name
and improperly at URL:http://127.0.0.1/old-stream-name/index.3u8
, it should behttp://127.0.0.1/new-stream-name/index.3u8
instead.