Which file handles the JW Player Stream?

Need help? Post your questions here.

Moderator: moderators

Which file handles the JW Player Stream?

Postby schnatze » Sun Jan 05, 2014 4:04 pm

Hi all,

I want to mod the subsonic source and add a pulldown to the player page to switch between multiple audio streams, like the pulldown for changing the bitrate.
I am extremly new to JSP not to Java but that JSP is really hard to understand for me. Could you please give me a few hints.

I already added the pulldown to the jsp page and it works fine(restarts the player when changed) but I have two questions:

1. where is the dynamic data for the pulldowns comming from?
and, more important:

2: where is the file which handels the streaming data which is called from the JW Player there is noch stream file in the WEB-INF root. the player calls e.g.
stream?id=xyz&maxBitrate=xyz...

could you please give me a hint where my added option StreamID goes to? that JSP concept and the way it works is very new to me...i read some tutorials but it is still very foggy :)
schnatze
 
Posts: 2
Joined: Sun Jan 05, 2014 12:00 pm

Re: Which file handles the JW Player Stream?

Postby schnatze » Fri Feb 07, 2014 9:46 pm

i archived the often demanded feature for switching audiostreams on my own.
just to answer my own question. it is the file /src/main/java/net/sourceforge/subsonic/controller/StreamController.java
dynamic data for pulldowns comes from /src/main/java/net/sourceforge/subsonic/controller/VideoPlayerController.java

next task is subtitlehardcode with switch...
schnatze
 
Posts: 2
Joined: Sun Jan 05, 2014 12:00 pm

Re: Which file handles the JW Player Stream?

Postby sokisorgenkind » Wed Sep 24, 2014 4:36 pm

thanks man, works like a charm!
looking forward to the subtitle-switch :)
sokisorgenkind
 
Posts: 4
Joined: Thu Oct 17, 2013 12:35 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 8 guests