Open rajdeeprath opened 7 years ago
Hello, Could you explain me how to install stream serverside-demo, where i have to put the files, how to start the aplication can all explain to me in details please. I am a novice in the field ... thanks for everything
I would like to create a webtv and it would make me a huge service
Issue
Short Description
Creation of server side stream via IServerStream using playlist api doe snot work. When I run the code, i see red5 reading the file and generating meta file properly but then there is nothing more. If i try to subscribe i get nothing. I have tried using different flvs even the ones that came with red5.
Code
The entire example is here: https://github.com/rajdeeprath/red5-development-series/tree/master/code-examples/server-side/red5-stream-examples/stream-serverside-demo
Even flv file is included in streams directory. All you need to do is download the app and run it on Red5.
Environment
[] Operating system and version: : Windows Professional 10 64 Bit
[] Java version: java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
[] Red5 version: : 1.0.9 (Tested in Red5Pro though)
Expected behavior
Once the server side stream starts publishing, i should be able to subscribe to it using a flash client. I am using this client for testing: http://rajdeeprath.github.io/red5-server/demos/publisher.html
Actual behavior
The stream should play on the client side like a live stream.
Steps to reproduce
Start the red5 server with the application in it. In a few seconds, the server stream is initialized. Server app: https://github.com/rajdeeprath/red5-development-series/tree/master/code-examples/server-side/red5-stream-examples/stream-serverside-demo
Open the test client in a new browser window & connect to the appropriate rtmp address Client app: http://rajdeeprath.github.io/red5-server/demos/publisher.html
Enter streamname as 'tv' and hit play
There is no playback of the 'tv' stream
Logs
When you run the application you see this in the console:
When you connect with the flash client and try to playback 'tv' stream, you get the following logging: