wymwon / red5

Automatically exported from code.google.com/p/red5
0 stars 0 forks source link

play2 method fail in red5 #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Original Trac Bug:
Is that play2 does't not work in red5? I want switch to other stream during 
playing. Code as below:-
var obj:Object = new Object();
obj.oldStreamName = p_oldStream; 
obj.length = -1;
obj.transition = "switch";
obj.start = video_ns.time; 
obj.streamName = p_newStream;
video_ns.play2(obj);
The server tell that it invalid argument on transition switch.
Help!!!!

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

Original issue reported on code.google.com by daccatt...@gmail.com on 26 Jan 2011 at 9:49

GoogleCodeExporter commented 9 years ago
This error occurs at switching:

[ERROR] [NioProcessor-1] org.red5.server.service.ServiceInvoker -
Method play2 with parameters [{oldStreamName=content/entry/data/
4/268/0_y5z7wwoj_0_vqwzho23_1.flv, start=0, transition=switch, len=-1,
offset=12.195, streamName=content/entry/data/
4/268/0_y5z7wwoj_0_4itoz1wm_1.flv}] not found in
org.red5.demos.oflaDemo.Application@ecf608 

Original comment by stevedoe...@googlemail.com on 26 Apr 2011 at 8:59

GoogleCodeExporter commented 9 years ago

Original comment by mondain on 18 Jul 2011 at 9:04

GoogleCodeExporter commented 9 years ago
The method no longer "fails" and initial support for play2 is now in trunk 
(added at revision 4251). Only switch, stop, and reset are supported in this 
rev.

Original comment by mondain on 19 Jul 2011 at 6:55