Page 1 of 1

Media Player and support for multicast (RTSP and MMS)

Posted: Wed Feb 11, 2004 4:18 pm
by techjunkie
Hi!

Is it possible to use PureBasic with standard PB commands to recieve multicast streams (RTSP and MMS)? If not, is there any userlib you can use?

Thanks!

Posted: Wed Jul 13, 2005 7:51 pm
by zikitrake
any sample?? :(

Posted: Wed Jul 13, 2005 9:01 pm
by Num3
In theory the movie commands might do it!

Because the use windows media stuff...

Posted: Fri Jul 15, 2005 7:21 am
by zikitrake
Num3 wrote:In theory the movie commands might do it!

Because the use windows media stuff...
Theoretically yes. ... in practice, not :cry:

Posted: Fri Jul 15, 2005 7:34 am
by Paul
Streams Windows Media Video quite well.
The help file should mention you can use web address in place of a filename on harddrive.

Code: Select all

InitMovie()
If OpenWindow(0,0,0,320,240,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"")
  LoadMovie(0,"http://www.gokenora.com/video/fish1.wmv")
  PlayMovie(0,WindowID(0))
  Repeat
  Until WaitWindowEvent()=#PB_Event_CloseWindow
EndIf

Posted: Fri Jul 15, 2005 8:00 am
by zikitrake
Paul, thank you. Your code works ok... but I'm seeking some form to do that this code works :S

Code: Select all

InitMovie() 
If OpenWindow(0,0,0,320,240,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"") 
  LoadMovie(0,"mms://media2.bloomberg.com/btv_gernb.asf") 
  PlayMovie(0,WindowID(0)) 
  Repeat 
  Until WaitWindowEvent()=#PB_Event_CloseWindow 
EndIf
Bye!

Re: Stream

Posted: Sun Apr 16, 2017 11:51 am
by europa81
zikitrake wrote:Paul, thank you. Your code works ok... but I'm seeking some form to do that this code works :S

Code: Select all

InitMovie() 
If OpenWindow(0,0,0,320,240,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"") 
  LoadMovie(0,"mms://media2.bloomberg.com/btv_gernb.asf") 
  PlayMovie(0,WindowID(0)) 
  Repeat 
  Until WaitWindowEvent()=#PB_Event_CloseWindow 
EndIf
Bye!
has there ever been found a solution to this problem ? Any help would be appreciated.