totem doesn't pass RTSP credentials to gstreamer

Bug #693644 reported by Darik Horn
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: totem

I have a Panasonic Network camera that provides an authenticated RTSP video stream.

Totem can play the stream if the username and password are passed in the URL like this:

  $ totem rtsp://me:passw0rd@netcam/nphMpeg4/g726-640x480

Totem cannot play the stream if invoked like this:

  $ totem rtsp://netcam/nphMpeg4/g726-640x480
  ** Message: Error: Could not read from resource.
  gstrtspsrc.c(4408): gst_rtspsrc_send (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
  Got error response: 401 (Unauthorized).

The "Password requested for RTSP server" dialog opens. If I input the username and password here and click the "Connect" button, then this is additionally printed to stdout:

  ** Message: Error: No URI set
  gstplaybin2.c(3475): setup_next_source (): /GstPlayBin2:play

and Totem presents a dialog that says

  (-) An error occurred
  Location not found.

Expected behavior is that the RTSP video stream is opened even if the username and password are passed through the dialog.

  $ lsb_release -rd
  Description: Ubuntu 10.10
  Release: 10.10

  $ apt-cache policy totem
  totem:
    Installed: 2.32.0-0ubuntu1
    Candidate: 2.32.0-0ubuntu1
    Version table:
   *** 2.32.0-0ubuntu1 0
          500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
          100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: totem 2.32.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
Uname: Linux 2.6.35-24-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed Dec 22 19:41:34 2010
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: totem

Revision history for this message
Darik Horn (dajhorn) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version. Thanks in advance and sorry for the late response.

Changed in totem (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Darik Horn (dajhorn) wrote :

This bug persists in Ubuntu 11.04 Natty Narwhal.

$ apt-cache policy totem
totem:
  Installed: 2.32.0-0ubuntu10
  Candidate: 2.32.0-0ubuntu10
  Version table:
 *** 2.32.0-0ubuntu10 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status

$ totem rtsp://netcam/nphMpeg4/g726-640x480
** Message: Error: Could not read from resource.
gstrtspsrc.c(4536): gst_rtspsrc_send (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
Got error response: 401 (Unauthorized).

** Message: Error: No URI set
gstplaybin2.c(3440): setup_next_source (): /GstPlayBin2:play

The video stream is opened and nothing is printed to the terminal if the username and password are passed in the URI.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for totem (Ubuntu) because there has been no activity for 60 days.]

Changed in totem (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.