Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-rtsp-server gst-rtsp-server
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 93
    • Issues 93
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gst-rtsp-servergst-rtsp-server
  • Merge requests
  • !34

expose gst_rtsp_media_set_status

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Erlend Eriksen requested to merge erlend_ne/gst-rtsp-server:rtsp-media-expose-media-set-status into master May 13, 2019
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 2

It can be useful for developers to have access to gst_rtsp_media_set_status. It gives us more control over the prepare / unprepare cycle.

In my case I wanted to keep the media prepared when a client leaves, in order to finish up some work on the pipeline. However this lead to a race condition that can be avoided by setting the media status to unprepared in klass->unprepare and setting it to prepared again on the next connection.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: rtsp-media-expose-media-set-status