EricssonResearch / openwebrtc-gst-plugins

OpenWebRTC specific GStreamer plugins
BSD 2-Clause "Simplified" License
50 stars 46 forks source link

gsterdtlssrtpenc: add "on-key-set" signal #21

Closed mparis closed 9 years ago

mparis commented 9 years ago

Useful to notify the app when the key has been set to the srtpenc. The app can use this signal to connect the media to the transport.

Change-Id: Ie15aba9ad4320afde51872cdc1a3db94b988af58

sdroege commented 9 years ago

Makes sense to me, but maybe the key and other things should be parameters of the signal? OTOH you can directly get them from the instance later too via the properties...

mparis commented 9 years ago

This signal can be considered as a "state change", so you can use properties if you need get some info/data, as you has said. I prefer this because is simpler.