mirror of
https://github.com/go-gst/go-gst.git
synced 2025-09-28 21:02:23 +08:00
fix docs
This commit is contained in:
@@ -123,7 +123,7 @@ func marshalSessionDescription(p unsafe.Pointer) (interface{}, error) {
|
|||||||
return ref.Copy(), nil
|
return ref.Copy(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copy creates a new copy of the SessionDescription
|
// SDP returns the sdp message from the SessionDescription object
|
||||||
func (sd *SessionDescription) SDP() *gstsdp.Message {
|
func (sd *SessionDescription) SDP() *gstsdp.Message {
|
||||||
sdp := gstsdp.NewMessageFromUnsafe(unsafe.Pointer(sd.ptr.sdp))
|
sdp := gstsdp.NewMessageFromUnsafe(unsafe.Pointer(sd.ptr.sdp))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user