You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
/**
* initializes a server side stream
*
* @param scope
* @param name
*/
private void initServerSidePlaylist(IScope scope, String name){
IServerStream serverStream = StreamUtils.createServerStream(scope, name);
String filename = "BladeRunner2049.flv"; // this should be in the streams directory
SimplePlayItem item = SimplePlayItem.build(filename);
serverStream.addItem(item);
serverStream.setRewind(false);
serverStream.start();
}
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
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:
The text was updated successfully, but these errors were encountered: