0

BrightScript RTSP error

Hello, when i want to add the rtsp to my script i have an black screen on VLC and log says :

[  363.747] RtspServer::~RtspServer
[  363.747] ListenServer::~ListenServer
[  363.747] ListenServer::ThreadFunc: finished
[  363.747] MediaStreamer::SetPipeline called with display:mode=2&vformat=1080p30&vbitrate=8000,encoder:,mem:/display
[  363.748] !!!Error (0xf0305) at magnum/portinginterface/vdc/src/common/bvdc_source.c:273
[  363.748] 
[  363.748] !!!Error (0xf0305) at nexus/modules/display/src/nexus_video_input.c:394
[  363.748] 
[  363.748] !!!Error BERR_NOT_SUPPORTED(0x8) at nexus/modules/display/src/nexus_video_window.c:1262
[  363.748] 
[  363.748] !!!Error (0xf0305) at magnum/portinginterface/vdc/src/common/bvdc_source.c:273
[  363.748] 
[  363.748] !!!Error (0xf0305) at nexus/modules/display/src/nexus_video_input.c:394
[  363.748] 
[  363.748] !!!Error BERR_NOT_AVAILABLE(0xa) at nexus/modules/display/src/nexus_video_image_input.c:847
[  363.748] 
[  363.815] bs_native_window_clone: graphicsSettings: 0,0 1920x1080 clip: 1920x1080 cloneGraphicsSettings: 0,0 1920x1080 clip: 1920x1080
[  363.828] *** 00:05:39.157 BMUXLIB_TS: Service period of 0 ms specified. Using default of 50 ms

 

In my code i'm simply do like "Server Plugin" of the Github :

At the init state :

 

  p.rtsp = createobject("roMediaServer")
    if p.rtsp <> invalid then
     p.rtsp.setPort(msgPort)
     p.rtsp.SetUserData("RTSP")
     p.rtsp.start("rtsp:port=8090&threads=10&maxbitrate=20000&trace")
     'p.rtsp.start("http:port=8090")
  endif
  p.streamStarted = false
'p.streamer = CreateObject("roMediaStreamer")

and at event function :

  if not m.streamStarted then
    if type(m.streamer) <> "roMediaStreamer" then m.streamer = CreateObject("roMediaStreamer")
    if m.streamer <> invalid then
      print "** Start display streaming"
      m.streamer.reset()
      m.streamer.SetPipeline("display:mode=2&vformat=1080p30&vbitrate=8000,encoder:,mem:/display")
      m.streamer.start()
      m.streamStarted = true
    else
      print "Failed to create Display streamer..."
    endif
  endif

Do you have any idear what i'm dooing wrong ?

The Player is an XD1034 with the last firmware, in my presentation with BrightAuthor i juste have an "Background Image" and my script play some videos from usb drive when it receive an UDP order.

Thanks by advance :)
Greg.

0 comments

Please sign in to leave a comment.